Skip to content
Snippets Groups Projects

Chore_26_compare-layer-import-export-onnx

Merged Maxence Naud requested to merge chore_26-compare-layer-import-export-onnxruntime into dev

Context

  • [Add :rocket:] necessary functions to easily create many unit-tests to try import/forward_dims/export of Aidge operators copying ONNX operators aidge_onnx#26
    • function to create an ONNX model containing a single operator to test (any opset, any operator type).
    • Import the operator
      • update import function to copy input Tensor dimensions to Aidge model
    • Export the operator
      • update export function to copy input Tensor dimensions and run forward_dims() if necessary
  • [Fix :fire: :bug:] Constant ONNX operator import in case of 0-dimension array aidge_onnx#29 (closed)
    • add binding for Tensor constructor from shape and dtype
    • add binding for Tensor constructor from single arithmetic value
  • [Enhance :sparkles:] GraphView.save() to show dimension of input Tensors if set

Modified files

  • pybind_Tensor.cpp
  • GraphView.cpp

Detailed major modifications

More constructors available in Python API for Tensor.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading