mean_variance_normalization_29_28.h#

namespace onnx_light

Alias that makes onnx-light headers compatible with code that references ONNX_LIGHT_NAMESPACE (the macro used in the standard onnx package).

Set to ONNX_LIGHT_NAMESPACE so both names resolve to the same namespace.

Symbol-visibility attribute for the public onnx-light C++ API.

Maps the upstream compatibility macro to onnx-light’s explicit proto ABI annotation. This keeps declarations from vendored ONNX headers visible when lib_onnx_proto uses hidden visibility by default.

Namespace alias so that ONNX C++ code (and consumers such as onnxruntime) that refers to the literal onnx namespace — rather than the ONNX_NAMESPACE macro — resolves to the onnx-light namespace. The standard onnx package lives in namespace onnx; onnx-light uses onnx_light (via ONNX_LIGHT_NAMESPACE), so this alias keeps onnx-light a true drop-in. It is only introduced when the onnx-light namespace differs from onnx.

namespace version_conversion
class MeanVarianceNormalization_28_29 : public onnx_light::version_conversion::MeanVarianceNormalizationAdapter#
#include <mean_variance_normalization_29_28.h>

Public Functions

inline MeanVarianceNormalization_28_29()#
inline virtual Node *adapt(std::shared_ptr<Graph> graph, Node *node) const override#
class MeanVarianceNormalization_29_28 : public onnx_light::version_conversion::MeanVarianceNormalizationAdapter#
#include <mean_variance_normalization_29_28.h>

Public Functions

inline MeanVarianceNormalization_29_28()#
inline virtual Node *adapt(std::shared_ptr<Graph> graph, Node *node) const override#
class MeanVarianceNormalizationAdapter : public onnx_light::version_conversion::Adapter#
#include <mean_variance_normalization_29_28.h>

Subclassed by onnx_light::version_conversion::MeanVarianceNormalization_28_29, onnx_light::version_conversion::MeanVarianceNormalization_29_28

Protected Functions

inline MeanVarianceNormalizationAdapter(const OpSetID &initial_version, const OpSetID &target_version)#

Protected Static Functions

static inline TensorProto_DataType get_input_type(Node *node)#
static inline Node *make_float_constant(const std::shared_ptr<Graph> &graph, Node *before, float value)#
static inline Node *make_float_reference_constant(const std::shared_ptr<Graph> &graph, Node *before, const std::string &ref_attr_name)#
static inline Node *make_axes_constant(const std::shared_ptr<Graph> &graph, Node *before, const std::vector<int64_t> &axes, const std::string &ref_attr_name = {}, bool linked = false)#
static inline Value *cast_to(const std::shared_ptr<Graph> &graph, Node *before, Value *input, TensorProto_DataType elem_type)#
static inline Node *make_binary(const std::shared_ptr<Graph> &graph, Node *before, Symbol op_type, Value *lhs, Value *rhs, TensorProto_DataType elem_type)#
static inline Node *make_reduce_mean(const std::shared_ptr<Graph> &graph, Node *before, Value *input, Value *axes, TensorProto_DataType elem_type)#
static inline Node *make_sqrt(const std::shared_ptr<Graph> &graph, Node *before, Value *input, TensorProto_DataType elem_type)#
static inline Node *replace_node(Node *node, Node *replacement)#