Skip to content

Chore_26_compare-layer-import-export-onnx

Context

  • [Add 🚀] 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 🔥 🐛] 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 ] 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