HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_ONNXParms Class Reference

#include <SOP_ONNX.proto.h>

+ Inheritance diagram for SOP_ONNXParms:

Classes

struct  Inputs
 
struct  Outputs
 

Public Types

using Input_type = SOP_ONNXEnums::Input_type
 
using Input_volorder = SOP_ONNXEnums::Input_volorder
 
using Output_type = SOP_ONNXEnums::Output_type
 
using Output_volorder = SOP_ONNXEnums::Output_volorder
 
- Public Types inherited from OP_NodeParms
enum  ParmType {
  PARM_INTEGER, PARM_FLOAT, PARM_VECTOR2, PARM_VECTOR3,
  PARM_VECTOR4, PARM_MATRIX2, PARM_MATRIX3, PARM_MATRIX4,
  PARM_STRING, PARM_RAMP, PARM_DATA, PARM_MULTIPARM,
  PARM_UNSUPPORTED
}
 

Public Member Functions

UT_StringHolder createString (const UT_Array< Inputs > &list) const
 
UT_StringHolder createString (const UT_Array< Outputs > &list) const
 
 SOP_ONNXParms ()
 
 SOP_ONNXParms (const SOP_ONNXParms &)=default
 
SOP_ONNXParmsoperator= (const SOP_ONNXParms &)=default
 
 SOP_ONNXParms (SOP_ONNXParms &&) noexcept=default
 
SOP_ONNXParmsoperator= (SOP_ONNXParms &&) noexcept=default
 
 ~SOP_ONNXParms () override
 
bool operator== (const SOP_ONNXParms &src) const
 
bool operator!= (const SOP_ONNXParms &src) const
 
void buildFromOp (const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
 
void loadFromOpSubclass (const LoadParms &loadparms) override
 
void copyFrom (const OP_NodeParms *src) override
 
template<typename T >
void doGetParmValue (TempIndex idx, TempIndex instance, T &value) const
 
bool isParmColorRamp (exint idx) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, exint &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, fpreal &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
 
void getNestParmValue (TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
 
template<typename T >
void doSetParmValue (TempIndex idx, TempIndex instance, const T &value)
 
void setNestParmValue (TempIndex idx, TempIndex instance, const exint &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const fpreal &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
 
void setNestParmValue (TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
 
exint getNestNumParms (TempIndex idx) const override
 
const char * getNestParmName (TempIndex fieldnum) const override
 
ParmType getNestParmType (TempIndex fieldnum) const override
 
void save (std::ostream &os) const
 
bool load (UT_IStream &is)
 
const UT_StringHoldergetModelFile () const
 
void setModelFile (const UT_StringHolder &val)
 
UT_StringHolder opModelFile (const SOP_NodeVerb::CookParms &cookparms) const
 
const UT_StringHolderraw_getModelFile () const
 
void raw_setModelFile (const UT_StringHolder &val)
 
UT_StringHolder raw_opModelFile (const SOP_NodeVerb::CookParms &cookparms) const
 
bool getKeepInput () const
 
void setKeepInput (bool val)
 
bool opKeepInput (const SOP_NodeVerb::CookParms &cookparms) const
 
const UT_Array< Inputs > & getInputs () const
 
void setInputs (const UT_Array< Inputs > &val)
 
exint opInputs (const SOP_NodeVerb::CookParms &cookparms) const
 
UT_StringHolder opInputs_input_name (const SOP_NodeVerb::CookParms &cookparms, int _idx) const
 
UT_StringHolder opinstInputs_input_name (const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
 
UT_Matrix3D opInputs_input_shape (const SOP_NodeVerb::CookParms &cookparms, int _idx) const
 
UT_Matrix3D opinstInputs_input_shape (const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
 
int64 opInputs_input_type (const SOP_NodeVerb::CookParms &cookparms, int _idx) const
 
int64 opinstInputs_input_type (const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
 
int64 opInputs_input_volorder (const SOP_NodeVerb::CookParms &cookparms, int _idx) const
 
int64 opinstInputs_input_volorder (const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
 
bool opInputs_input_channelfirst (const SOP_NodeVerb::CookParms &cookparms, int _idx) const
 
bool opinstInputs_input_channelfirst (const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
 
UT_StringHolder opInputs_input_data (const SOP_NodeVerb::CookParms &cookparms, int _idx) const
 
UT_StringHolder opinstInputs_input_data (const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
 
const UT_Array< Outputs > & getOutputs () const
 
void setOutputs (const UT_Array< Outputs > &val)
 
exint opOutputs (const SOP_NodeVerb::CookParms &cookparms) const
 
UT_StringHolder opOutputs_output_name (const SOP_NodeVerb::CookParms &cookparms, int _idx) const
 
UT_StringHolder opinstOutputs_output_name (const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
 
UT_Matrix3D opOutputs_output_shape (const SOP_NodeVerb::CookParms &cookparms, int _idx) const
 
UT_Matrix3D opinstOutputs_output_shape (const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
 
int64 opOutputs_output_type (const SOP_NodeVerb::CookParms &cookparms, int _idx) const
 
int64 opinstOutputs_output_type (const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
 
int64 opOutputs_output_volorder (const SOP_NodeVerb::CookParms &cookparms, int _idx) const
 
int64 opinstOutputs_output_volorder (const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
 
bool opOutputs_output_channelfirst (const SOP_NodeVerb::CookParms &cookparms, int _idx) const
 
bool opinstOutputs_output_channelfirst (const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
 
UT_StringHolder opOutputs_output_data (const SOP_NodeVerb::CookParms &cookparms, int _idx) const
 
UT_StringHolder opinstOutputs_output_data (const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
 
bool getDoMaxBatch () const
 
void setDoMaxBatch (bool val)
 
bool opDoMaxBatch (const SOP_NodeVerb::CookParms &cookparms) const
 
int64 getMaxBatch () const
 
void setMaxBatch (int64 val)
 
int64 opMaxBatch (const SOP_NodeVerb::CookParms &cookparms) const
 
bool getCuda () const
 
void setCuda (bool val)
 
bool opCuda (const SOP_NodeVerb::CookParms &cookparms) const
 
- Public Member Functions inherited from SOP_NodeParms
 SOP_NodeParms ()
 
bool applyGeometryOverride (GU_ConstDetailHandle gdh)
 
bool applyGeometryOverrideFromNode (SOP_Node *node, OP_Context &context, SOP_NodeCache *cache)
 
- Public Member Functions inherited from OP_NodeParms
 OP_NodeParms ()
 
virtual ~OP_NodeParms ()
 
void loadFromOp (const LoadParms &loadparms)
 
bool applyOptionsOverride (const UT_Options *options)
 
virtual exint getNumParms () const
 
virtual const char * getParmName (exint idx) const
 
virtual ParmType getParmType (exint idx) const
 
virtual void getParmValue (exint idx, exint &value) const
 
virtual void getParmValue (exint idx, fpreal &value) const
 
virtual void getParmValue (exint idx, UT_Vector2D &value) const
 
virtual void getParmValue (exint idx, UT_Vector3D &value) const
 
virtual void getParmValue (exint idx, UT_Vector4D &value) const
 
virtual void getParmValue (exint idx, UT_Matrix2D &value) const
 
virtual void getParmValue (exint idx, UT_Matrix3D &value) const
 
virtual void getParmValue (exint idx, UT_Matrix4D &value) const
 
virtual void getParmValue (exint idx, UT_StringHolder &value) const
 
virtual void getParmValue (exint idx, UT_SharedPtr< UT_Ramp > &value) const
 
virtual void getParmValue (exint idx, PRM_DataItemHandle &value) const
 
virtual void setParmValue (exint idx, const exint &value)
 
virtual void setParmValue (exint idx, const fpreal &value)
 
virtual void setParmValue (exint idx, const UT_Vector2D &value)
 
virtual void setParmValue (exint idx, const UT_Vector3D &value)
 
virtual void setParmValue (exint idx, const UT_Vector4D &value)
 
virtual void setParmValue (exint idx, const UT_Matrix2D &value)
 
virtual void setParmValue (exint idx, const UT_Matrix3D &value)
 
virtual void setParmValue (exint idx, const UT_Matrix4D &value)
 
virtual void setParmValue (exint idx, const UT_StringHolder &value)
 
virtual void setParmValue (exint idx, const UT_SharedPtr< UT_Ramp > &value)
 
virtual void setParmValue (exint idx, const PRM_DataItemHandle &value)
 
virtual int64 getMemoryUsage (bool inclusive) const
 
template<>
void coerceValue (exint &result, const exint &src) const
 
template<>
void coerceValue (bool &result, const exint &src) const
 
template<>
void coerceValue (exint &result, const bool &src) const
 
template<>
void coerceValue (bool &result, const bool &src) const
 
template<>
void coerceValue (fpreal &result, const fpreal &src) const
 
template<>
void coerceValue (UT_Vector2D &result, const UT_Vector2D &src) const
 
template<>
void coerceValue (UT_Vector3D &result, const UT_Vector3D &src) const
 
template<>
void coerceValue (UT_Vector4D &result, const UT_Vector4D &src) const
 
template<>
void coerceValue (UT_Matrix2D &result, const UT_Matrix2D &src) const
 
template<>
void coerceValue (UT_Matrix3D &result, const UT_Matrix3D &src) const
 
template<>
void coerceValue (UT_Matrix4D &result, const UT_Matrix4D &src) const
 
template<>
void coerceValue (UT_StringHolder &result, const UT_StringHolder &src) const
 
template<>
void coerceValue (UT_SharedPtr< UT_Ramp > &result, const UT_SharedPtr< UT_Ramp > &src) const
 
template<>
void coerceValue (PRM_DataItemHandle &result, const PRM_DataItemHandle &src) const
 
template<>
void coerceValue (UT_Vector2I &result, const UT_Vector2D &src) const
 
template<>
void coerceValue (UT_Vector2D &result, const UT_Vector2I &src) const
 
template<>
void coerceValue (UT_Vector3I &result, const UT_Vector3D &src) const
 
template<>
void coerceValue (UT_Vector3D &result, const UT_Vector3I &src) const
 
template<>
void coerceValue (UT_Vector4I &result, const UT_Vector4D &src) const
 
template<>
void coerceValue (UT_Vector4D &result, const UT_Vector4I &src) const
 
template<>
exint clampMinValue (fpreal clamp, const exint &src) const
 
template<>
bool clampMinValue (fpreal clamp, const bool &src) const
 
template<>
fpreal clampMinValue (fpreal clamp, const fpreal &src) const
 
template<>
UT_Vector2D clampMinValue (fpreal clamp, const UT_Vector2D &src) const
 
template<>
UT_Vector3D clampMinValue (fpreal clamp, const UT_Vector3D &src) const
 
template<>
UT_Vector4D clampMinValue (fpreal clamp, const UT_Vector4D &src) const
 
template<>
UT_Matrix2D clampMinValue (fpreal clamp, const UT_Matrix2D &src) const
 
template<>
UT_Matrix3D clampMinValue (fpreal clamp, const UT_Matrix3D &src) const
 
template<>
UT_Matrix4D clampMinValue (fpreal clamp, const UT_Matrix4D &src) const
 
template<>
UT_Vector2I clampMinValue (fpreal clamp, const UT_Vector2I &src) const
 
template<>
UT_Vector3I clampMinValue (fpreal clamp, const UT_Vector3I &src) const
 
template<>
UT_Vector4I clampMinValue (fpreal clamp, const UT_Vector4I &src) const
 
template<>
UT_SharedPtr< UT_RampclampMinValue (fpreal clamp, const UT_SharedPtr< UT_Ramp > &src) const
 
template<>
exint clampMaxValue (fpreal clamp, const exint &src) const
 
template<>
bool clampMaxValue (fpreal clamp, const bool &src) const
 
template<>
fpreal clampMaxValue (fpreal clamp, const fpreal &src) const
 
template<>
UT_Vector2D clampMaxValue (fpreal clamp, const UT_Vector2D &src) const
 
template<>
UT_Vector3D clampMaxValue (fpreal clamp, const UT_Vector3D &src) const
 
template<>
UT_Vector4D clampMaxValue (fpreal clamp, const UT_Vector4D &src) const
 
template<>
UT_Matrix2D clampMaxValue (fpreal clamp, const UT_Matrix2D &src) const
 
template<>
UT_Matrix3D clampMaxValue (fpreal clamp, const UT_Matrix3D &src) const
 
template<>
UT_Matrix4D clampMaxValue (fpreal clamp, const UT_Matrix4D &src) const
 
template<>
UT_Vector2I clampMaxValue (fpreal clamp, const UT_Vector2I &src) const
 
template<>
UT_Vector3I clampMaxValue (fpreal clamp, const UT_Vector3I &src) const
 
template<>
UT_Vector4I clampMaxValue (fpreal clamp, const UT_Vector4I &src) const
 

Static Public Member Functions

static int version ()
 
static void loadData (UT_IStream &is, int64 &v)
 
static void loadData (UT_IStream &is, bool &v)
 
static void loadData (UT_IStream &is, fpreal64 &v)
 
static void loadData (UT_IStream &is, UT_Vector2D &v)
 
static void loadData (UT_IStream &is, UT_Vector3D &v)
 
static void loadData (UT_IStream &is, UT_Vector4D &v)
 
static void loadData (UT_IStream &is, UT_Matrix2D &v)
 
static void loadData (UT_IStream &is, UT_Matrix3D &v)
 
static void loadData (UT_IStream &is, UT_Matrix4D &v)
 
static void loadData (UT_IStream &is, UT_Vector2I &v)
 
static void loadData (UT_IStream &is, UT_Vector3I &v)
 
static void loadData (UT_IStream &is, UT_Vector4I &v)
 
static void loadData (UT_IStream &is, UT_StringHolder &v)
 
static void loadData (UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
 
static void loadData (UT_IStream &is, PRM_DataItemHandle &v)
 
static void saveData (std::ostream &os, int64 v)
 
static void saveData (std::ostream &os, bool v)
 
static void saveData (std::ostream &os, fpreal64 v)
 
static void saveData (std::ostream &os, UT_Vector2D v)
 
static void saveData (std::ostream &os, UT_Vector3D v)
 
static void saveData (std::ostream &os, UT_Vector4D v)
 
static void saveData (std::ostream &os, UT_Matrix2D v)
 
static void saveData (std::ostream &os, UT_Matrix3D v)
 
static void saveData (std::ostream &os, UT_Matrix4D v)
 
static void saveData (std::ostream &os, UT_StringHolder s)
 
static void saveData (std::ostream &os, UT_SharedPtr< UT_Ramp > s)
 
static void saveData (std::ostream &os, PRM_DataItemHandle s)
 
- Static Public Member Functions inherited from SOP_NodeParms
static bool nodeHasGeometryOverride (SOP_Node *node, OP_Context &context)
 

Additional Inherited Members

- Protected Member Functions inherited from OP_NodeParms
 OP_NodeParms (const OP_NodeParms &)=default
 
OP_NodeParmsoperator= (const OP_NodeParms &)=default
 
template<typename T , typename S >
void coerceValue (T &result, const S &src) const
 
template<typename T >
T clampMinValue (fpreal minvalue, const T &src) const
 
template<typename T >
T clampMaxValue (fpreal maxvalue, const T &src) const
 

Detailed Description

Definition at line 102 of file SOP_ONNX.proto.h.

Member Typedef Documentation

Constructor & Destructor Documentation

SOP_ONNXParms::SOP_ONNXParms ( )
inline

Definition at line 245 of file SOP_ONNX.proto.h.

SOP_ONNXParms::SOP_ONNXParms ( const SOP_ONNXParms )
explicitdefault
SOP_ONNXParms::SOP_ONNXParms ( SOP_ONNXParms &&  )
defaultnoexcept
SOP_ONNXParms::~SOP_ONNXParms ( )
inlineoverride

Definition at line 263 of file SOP_ONNX.proto.h.

Member Function Documentation

void SOP_ONNXParms::buildFromOp ( const OP_GraphProxy graph,
exint  nodeidx,
fpreal  time,
DEP_MicroNode depnode 
)
inline

Definition at line 289 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::copyFrom ( const OP_NodeParms src)
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 393 of file SOP_ONNX.proto.h.

UT_StringHolder SOP_ONNXParms::createString ( const UT_Array< Inputs > &  list) const
inline

Definition at line 145 of file SOP_ONNX.proto.h.

UT_StringHolder SOP_ONNXParms::createString ( const UT_Array< Outputs > &  list) const
inline

Definition at line 214 of file SOP_ONNX.proto.h.

template<typename T >
void SOP_ONNXParms::doGetParmValue ( TempIndex  idx,
TempIndex  instance,
T value 
) const
inline

Definition at line 400 of file SOP_ONNX.proto.h.

template<typename T >
void SOP_ONNXParms::doSetParmValue ( TempIndex  idx,
TempIndex  instance,
const T value 
)
inline

Definition at line 522 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::getCuda ( ) const
inline

Definition at line 1218 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::getDoMaxBatch ( ) const
inline

Definition at line 1198 of file SOP_ONNX.proto.h.

const UT_Array<Inputs>& SOP_ONNXParms::getInputs ( ) const
inline

Definition at line 1020 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::getKeepInput ( ) const
inline

Definition at line 1010 of file SOP_ONNX.proto.h.

int64 SOP_ONNXParms::getMaxBatch ( ) const
inline

Definition at line 1208 of file SOP_ONNX.proto.h.

const UT_StringHolder& SOP_ONNXParms::getModelFile ( ) const
inline

Definition at line 990 of file SOP_ONNX.proto.h.

exint SOP_ONNXParms::getNestNumParms ( TempIndex  idx) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 649 of file SOP_ONNX.proto.h.

const char* SOP_ONNXParms::getNestParmName ( TempIndex  fieldnum) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 665 of file SOP_ONNX.proto.h.

ParmType SOP_ONNXParms::getNestParmType ( TempIndex  fieldnum) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 726 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
exint value 
) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 497 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
fpreal value 
) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 499 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_Vector2D value 
) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 501 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_Vector3D value 
) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 503 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_Vector4D value 
) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 505 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_Matrix2D value 
) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 507 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_Matrix3D value 
) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 509 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_Matrix4D value 
) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 511 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_StringHolder value 
) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 513 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
UT_SharedPtr< UT_Ramp > &  value 
) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 515 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::getNestParmValue ( TempIndex  idx,
TempIndex  instance,
PRM_DataItemHandle value 
) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 517 of file SOP_ONNX.proto.h.

const UT_Array<Outputs>& SOP_ONNXParms::getOutputs ( ) const
inline

Definition at line 1109 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::isParmColorRamp ( exint  idx) const
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 488 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::load ( UT_IStream is)
inline

Definition at line 937 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
int64 v 
)
inlinestatic

Definition at line 788 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
bool &  v 
)
inlinestatic

Definition at line 790 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
fpreal64 v 
)
inlinestatic

Definition at line 792 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
UT_Vector2D v 
)
inlinestatic

Definition at line 794 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
UT_Vector3D v 
)
inlinestatic

Definition at line 796 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
UT_Vector4D v 
)
inlinestatic

Definition at line 799 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
UT_Matrix2D v 
)
inlinestatic

Definition at line 802 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
UT_Matrix3D v 
)
inlinestatic

Definition at line 804 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
UT_Matrix4D v 
)
inlinestatic

Definition at line 806 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
UT_Vector2I v 
)
inlinestatic

Definition at line 808 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
UT_Vector3I v 
)
inlinestatic

Definition at line 810 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
UT_Vector4I v 
)
inlinestatic

Definition at line 813 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
UT_StringHolder v 
)
inlinestatic

Definition at line 816 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
UT_SharedPtr< UT_Ramp > &  v 
)
inlinestatic

Definition at line 818 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::loadData ( UT_IStream is,
PRM_DataItemHandle v 
)
inlinestatic

Definition at line 829 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::loadFromOpSubclass ( const LoadParms loadparms)
inlineoverridevirtual

Implements OP_NodeParms.

Definition at line 387 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::opCuda ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 1220 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::opDoMaxBatch ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 1200 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::operator!= ( const SOP_ONNXParms src) const
inline

Definition at line 278 of file SOP_ONNX.proto.h.

SOP_ONNXParms& SOP_ONNXParms::operator= ( const SOP_ONNXParms )
default
SOP_ONNXParms& SOP_ONNXParms::operator= ( SOP_ONNXParms &&  )
defaultnoexcept
bool SOP_ONNXParms::operator== ( const SOP_ONNXParms src) const
inline

Definition at line 265 of file SOP_ONNX.proto.h.

exint SOP_ONNXParms::opInputs ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 1022 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::opInputs_input_channelfirst ( const SOP_NodeVerb::CookParms cookparms,
int  _idx 
) const
inline

Definition at line 1082 of file SOP_ONNX.proto.h.

UT_StringHolder SOP_ONNXParms::opInputs_input_data ( const SOP_NodeVerb::CookParms cookparms,
int  _idx 
) const
inline

Definition at line 1095 of file SOP_ONNX.proto.h.

UT_StringHolder SOP_ONNXParms::opInputs_input_name ( const SOP_NodeVerb::CookParms cookparms,
int  _idx 
) const
inline

Definition at line 1030 of file SOP_ONNX.proto.h.

UT_Matrix3D SOP_ONNXParms::opInputs_input_shape ( const SOP_NodeVerb::CookParms cookparms,
int  _idx 
) const
inline

Definition at line 1043 of file SOP_ONNX.proto.h.

int64 SOP_ONNXParms::opInputs_input_type ( const SOP_NodeVerb::CookParms cookparms,
int  _idx 
) const
inline

Definition at line 1056 of file SOP_ONNX.proto.h.

int64 SOP_ONNXParms::opInputs_input_volorder ( const SOP_NodeVerb::CookParms cookparms,
int  _idx 
) const
inline

Definition at line 1069 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::opinstInputs_input_channelfirst ( const SOP_NodeVerb::CookParms cookparms,
const int _idx 
) const
inline

Definition at line 1084 of file SOP_ONNX.proto.h.

UT_StringHolder SOP_ONNXParms::opinstInputs_input_data ( const SOP_NodeVerb::CookParms cookparms,
const int _idx 
) const
inline

Definition at line 1097 of file SOP_ONNX.proto.h.

UT_StringHolder SOP_ONNXParms::opinstInputs_input_name ( const SOP_NodeVerb::CookParms cookparms,
const int _idx 
) const
inline

Definition at line 1032 of file SOP_ONNX.proto.h.

UT_Matrix3D SOP_ONNXParms::opinstInputs_input_shape ( const SOP_NodeVerb::CookParms cookparms,
const int _idx 
) const
inline

Definition at line 1045 of file SOP_ONNX.proto.h.

int64 SOP_ONNXParms::opinstInputs_input_type ( const SOP_NodeVerb::CookParms cookparms,
const int _idx 
) const
inline

Definition at line 1058 of file SOP_ONNX.proto.h.

int64 SOP_ONNXParms::opinstInputs_input_volorder ( const SOP_NodeVerb::CookParms cookparms,
const int _idx 
) const
inline

Definition at line 1071 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::opinstOutputs_output_channelfirst ( const SOP_NodeVerb::CookParms cookparms,
const int _idx 
) const
inline

Definition at line 1173 of file SOP_ONNX.proto.h.

UT_StringHolder SOP_ONNXParms::opinstOutputs_output_data ( const SOP_NodeVerb::CookParms cookparms,
const int _idx 
) const
inline

Definition at line 1186 of file SOP_ONNX.proto.h.

UT_StringHolder SOP_ONNXParms::opinstOutputs_output_name ( const SOP_NodeVerb::CookParms cookparms,
const int _idx 
) const
inline

Definition at line 1121 of file SOP_ONNX.proto.h.

UT_Matrix3D SOP_ONNXParms::opinstOutputs_output_shape ( const SOP_NodeVerb::CookParms cookparms,
const int _idx 
) const
inline

Definition at line 1134 of file SOP_ONNX.proto.h.

int64 SOP_ONNXParms::opinstOutputs_output_type ( const SOP_NodeVerb::CookParms cookparms,
const int _idx 
) const
inline

Definition at line 1147 of file SOP_ONNX.proto.h.

int64 SOP_ONNXParms::opinstOutputs_output_volorder ( const SOP_NodeVerb::CookParms cookparms,
const int _idx 
) const
inline

Definition at line 1160 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::opKeepInput ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 1012 of file SOP_ONNX.proto.h.

int64 SOP_ONNXParms::opMaxBatch ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 1210 of file SOP_ONNX.proto.h.

UT_StringHolder SOP_ONNXParms::opModelFile ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 992 of file SOP_ONNX.proto.h.

exint SOP_ONNXParms::opOutputs ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 1111 of file SOP_ONNX.proto.h.

bool SOP_ONNXParms::opOutputs_output_channelfirst ( const SOP_NodeVerb::CookParms cookparms,
int  _idx 
) const
inline

Definition at line 1171 of file SOP_ONNX.proto.h.

UT_StringHolder SOP_ONNXParms::opOutputs_output_data ( const SOP_NodeVerb::CookParms cookparms,
int  _idx 
) const
inline

Definition at line 1184 of file SOP_ONNX.proto.h.

UT_StringHolder SOP_ONNXParms::opOutputs_output_name ( const SOP_NodeVerb::CookParms cookparms,
int  _idx 
) const
inline

Definition at line 1119 of file SOP_ONNX.proto.h.

UT_Matrix3D SOP_ONNXParms::opOutputs_output_shape ( const SOP_NodeVerb::CookParms cookparms,
int  _idx 
) const
inline

Definition at line 1132 of file SOP_ONNX.proto.h.

int64 SOP_ONNXParms::opOutputs_output_type ( const SOP_NodeVerb::CookParms cookparms,
int  _idx 
) const
inline

Definition at line 1145 of file SOP_ONNX.proto.h.

int64 SOP_ONNXParms::opOutputs_output_volorder ( const SOP_NodeVerb::CookParms cookparms,
int  _idx 
) const
inline

Definition at line 1158 of file SOP_ONNX.proto.h.

const UT_StringHolder& SOP_ONNXParms::raw_getModelFile ( ) const
inline

Definition at line 1000 of file SOP_ONNX.proto.h.

UT_StringHolder SOP_ONNXParms::raw_opModelFile ( const SOP_NodeVerb::CookParms cookparms) const
inline

Definition at line 1002 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::raw_setModelFile ( const UT_StringHolder val)
inline

Definition at line 1001 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::save ( std::ostream &  os) const
inline

Definition at line 892 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::saveData ( std::ostream &  os,
int64  v 
)
inlinestatic

Definition at line 849 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::saveData ( std::ostream &  os,
bool  v 
)
inlinestatic

Definition at line 851 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::saveData ( std::ostream &  os,
fpreal64  v 
)
inlinestatic

Definition at line 853 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::saveData ( std::ostream &  os,
UT_Vector2D  v 
)
inlinestatic

Definition at line 855 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::saveData ( std::ostream &  os,
UT_Vector3D  v 
)
inlinestatic

Definition at line 857 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::saveData ( std::ostream &  os,
UT_Vector4D  v 
)
inlinestatic

Definition at line 860 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::saveData ( std::ostream &  os,
UT_Matrix2D  v 
)
inlinestatic

Definition at line 863 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::saveData ( std::ostream &  os,
UT_Matrix3D  v 
)
inlinestatic

Definition at line 865 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::saveData ( std::ostream &  os,
UT_Matrix4D  v 
)
inlinestatic

Definition at line 867 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::saveData ( std::ostream &  os,
UT_StringHolder  s 
)
inlinestatic

Definition at line 869 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::saveData ( std::ostream &  os,
UT_SharedPtr< UT_Ramp s 
)
inlinestatic

Definition at line 871 of file SOP_ONNX.proto.h.

static void SOP_ONNXParms::saveData ( std::ostream &  os,
PRM_DataItemHandle  s 
)
inlinestatic

Definition at line 878 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setCuda ( bool  val)
inline

Definition at line 1219 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setDoMaxBatch ( bool  val)
inline

Definition at line 1199 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setInputs ( const UT_Array< Inputs > &  val)
inline

Definition at line 1021 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setKeepInput ( bool  val)
inline

Definition at line 1011 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setMaxBatch ( int64  val)
inline

Definition at line 1209 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setModelFile ( const UT_StringHolder val)
inline

Definition at line 991 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const exint value 
)
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 626 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const fpreal value 
)
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 628 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_Vector2D value 
)
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 630 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_Vector3D value 
)
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 632 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_Vector4D value 
)
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 634 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_Matrix2D value 
)
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 636 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_Matrix3D value 
)
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 638 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_Matrix4D value 
)
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 640 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_StringHolder value 
)
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 642 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const UT_SharedPtr< UT_Ramp > &  value 
)
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 644 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setNestParmValue ( TempIndex  idx,
TempIndex  instance,
const PRM_DataItemHandle value 
)
inlineoverridevirtual

Reimplemented from OP_NodeParms.

Definition at line 646 of file SOP_ONNX.proto.h.

void SOP_ONNXParms::setOutputs ( const UT_Array< Outputs > &  val)
inline

Definition at line 1110 of file SOP_ONNX.proto.h.

static int SOP_ONNXParms::version ( )
inlinestatic

Definition at line 105 of file SOP_ONNX.proto.h.


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