traditionalml/utils.h#

Traditional-ML schema validation helpers, including onnx::AssertAttributeProtoTypeAndLength().

Declares validation helpers shared by traditional-ML operator schemas.

This header provides attribute validation helpers used by traditional ML shape-inference logic.

namespace ONNX_LIGHT_NAMESPACE

Functions

inline void AssertAttributeProtoTypeAndLength(const AttributeProto *attr_proto, int expected_length, TensorProto::DataType expected_type, bool required)#