List of all members | Public Attributes
casadi::OnnxTensorInfo Struct Reference

Metadata for a single ONNX tensor (input or output); shape is resolved by the builder. More...

#include <onnx_function_impl.hpp>

Detailed Description

Definition at line 41 of file onnx_function_impl.hpp.

Public Attributes

std::string name
 ONNX tensor name. More...
 
std::vector< casadi_int > shape
 Resolved shape (dynamic dims bound or set to 1) More...
 
casadi_int elem_type
 ONNX element type enum (1=float, 11=double, 7=int64) More...
 
casadi_int numel
 Number of elements in the resolved shape. More...
 

Member Data Documentation

◆ elem_type

casadi_int casadi::OnnxTensorInfo::elem_type

Definition at line 44 of file onnx_function_impl.hpp.

Referenced by casadi::OnnxFunction::OnnxFunction().

◆ name

std::string casadi::OnnxTensorInfo::name

Definition at line 42 of file onnx_function_impl.hpp.

Referenced by casadi::OnnxFunction::OnnxFunction().

◆ numel

casadi_int casadi::OnnxTensorInfo::numel

Definition at line 45 of file onnx_function_impl.hpp.

Referenced by casadi::OnnxFunction::OnnxFunction().

◆ shape

std::vector<casadi_int> casadi::OnnxTensorInfo::shape

Definition at line 43 of file onnx_function_impl.hpp.

Referenced by casadi::OnnxFunction::OnnxFunction().


The documentation for this struct was generated from the following file: