Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::Experimental::SOFIE::onnx::TensorProto Class Reference

Definition at line 368 of file onnx.hxx.

Public Types

enum  DataLocation { DEFAULT = 0 , EXTERNAL = 1 }
 
enum  DataType {
  UNDEFINED = 0 , FLOAT = 1 , UINT8 = 2 , INT8 = 3 ,
  UINT16 = 4 , INT16 = 5 , INT32 = 6 , INT64 = 7 ,
  STRING = 8 , BOOL = 9 , FLOAT16 = 10 , DOUBLE = 11 ,
  UINT32 = 12 , UINT64 = 13 , COMPLEX64 = 14 , COMPLEX128 = 15 ,
  BFLOAT16 = 16
}
 

Public Member Functions

DataLocation data_location () const
 
int data_type () const
 
int64_t dims (int i) const
 
int dims_size () const
 
const std::vector< double > & double_data () const
 
double double_data (int i) const
 
int double_data_size () const
 
const std::vector< StringStringEntryProto > & external_data () const
 
const std::vector< float > & float_data () const
 
float float_data (int i) const
 
int float_data_size () const
 
const std::vector< int32_t > & int32_data () const
 
int32_t int32_data (int i) const
 
int int32_data_size () const
 
const std::vector< int64_t > & int64_data () const
 
int64_t int64_data (int i) const
 
int int64_data_size () const
 
const std::string & name () const
 
void ParseFrom (detail::WireReader r)
 
const std::string & raw_data () const
 

Private Attributes

DataLocation fDataLocation = DEFAULT
 
int fDataType = 0
 
std::vector< int64_t > fDims
 
std::vector< doublefDoubleData
 
std::vector< StringStringEntryProtofExternalData
 
std::vector< float > fFloatData
 
std::vector< int32_t > fInt32Data
 
std::vector< int64_t > fInt64Data
 
std::string fName
 
std::string fRawData
 

#include </github/home/ROOT-CI/src/tmva/sofie_parsers/src/onnx.hxx>

Member Enumeration Documentation

◆ DataLocation

Enumerator
DEFAULT 
EXTERNAL 

Definition at line 389 of file onnx.hxx.

◆ DataType

Enumerator
UNDEFINED 
FLOAT 
UINT8 
INT8 
UINT16 
INT16 
INT32 
INT64 
STRING 
BOOL 
FLOAT16 
DOUBLE 
UINT32 
UINT64 
COMPLEX64 
COMPLEX128 
BFLOAT16 

Definition at line 370 of file onnx.hxx.

Member Function Documentation

◆ data_location()

DataLocation TMVA::Experimental::SOFIE::onnx::TensorProto::data_location ( ) const
inline

Definition at line 399 of file onnx.hxx.

◆ data_type()

int TMVA::Experimental::SOFIE::onnx::TensorProto::data_type ( ) const
inline

Definition at line 395 of file onnx.hxx.

◆ dims()

int64_t TMVA::Experimental::SOFIE::onnx::TensorProto::dims ( int i) const
inline

Definition at line 397 of file onnx.hxx.

◆ dims_size()

int TMVA::Experimental::SOFIE::onnx::TensorProto::dims_size ( ) const
inline

Definition at line 396 of file onnx.hxx.

◆ double_data() [1/2]

const std::vector< double > & TMVA::Experimental::SOFIE::onnx::TensorProto::double_data ( ) const
inline

Definition at line 407 of file onnx.hxx.

◆ double_data() [2/2]

double TMVA::Experimental::SOFIE::onnx::TensorProto::double_data ( int i) const
inline

Definition at line 412 of file onnx.hxx.

◆ double_data_size()

int TMVA::Experimental::SOFIE::onnx::TensorProto::double_data_size ( ) const
inline

Definition at line 403 of file onnx.hxx.

◆ external_data()

const std::vector< StringStringEntryProto > & TMVA::Experimental::SOFIE::onnx::TensorProto::external_data ( ) const
inline

Definition at line 400 of file onnx.hxx.

◆ float_data() [1/2]

const std::vector< float > & TMVA::Experimental::SOFIE::onnx::TensorProto::float_data ( ) const
inline

Definition at line 406 of file onnx.hxx.

◆ float_data() [2/2]

float TMVA::Experimental::SOFIE::onnx::TensorProto::float_data ( int i) const
inline

Definition at line 411 of file onnx.hxx.

◆ float_data_size()

int TMVA::Experimental::SOFIE::onnx::TensorProto::float_data_size ( ) const
inline

Definition at line 402 of file onnx.hxx.

◆ int32_data() [1/2]

const std::vector< int32_t > & TMVA::Experimental::SOFIE::onnx::TensorProto::int32_data ( ) const
inline

Definition at line 408 of file onnx.hxx.

◆ int32_data() [2/2]

int32_t TMVA::Experimental::SOFIE::onnx::TensorProto::int32_data ( int i) const
inline

Definition at line 413 of file onnx.hxx.

◆ int32_data_size()

int TMVA::Experimental::SOFIE::onnx::TensorProto::int32_data_size ( ) const
inline

Definition at line 404 of file onnx.hxx.

◆ int64_data() [1/2]

const std::vector< int64_t > & TMVA::Experimental::SOFIE::onnx::TensorProto::int64_data ( ) const
inline

Definition at line 409 of file onnx.hxx.

◆ int64_data() [2/2]

int64_t TMVA::Experimental::SOFIE::onnx::TensorProto::int64_data ( int i) const
inline

Definition at line 414 of file onnx.hxx.

◆ int64_data_size()

int TMVA::Experimental::SOFIE::onnx::TensorProto::int64_data_size ( ) const
inline

Definition at line 405 of file onnx.hxx.

◆ name()

const std::string & TMVA::Experimental::SOFIE::onnx::TensorProto::name ( ) const
inline

Definition at line 394 of file onnx.hxx.

◆ ParseFrom()

void TMVA::Experimental::SOFIE::onnx::TensorProto::ParseFrom ( detail::WireReader r)
inline

Definition at line 416 of file onnx.hxx.

◆ raw_data()

const std::string & TMVA::Experimental::SOFIE::onnx::TensorProto::raw_data ( ) const
inline

Definition at line 398 of file onnx.hxx.

Member Data Documentation

◆ fDataLocation

DataLocation TMVA::Experimental::SOFIE::onnx::TensorProto::fDataLocation = DEFAULT
private

Definition at line 446 of file onnx.hxx.

◆ fDataType

int TMVA::Experimental::SOFIE::onnx::TensorProto::fDataType = 0
private

Definition at line 443 of file onnx.hxx.

◆ fDims

std::vector<int64_t> TMVA::Experimental::SOFIE::onnx::TensorProto::fDims
private

Definition at line 444 of file onnx.hxx.

◆ fDoubleData

std::vector<double> TMVA::Experimental::SOFIE::onnx::TensorProto::fDoubleData
private

Definition at line 449 of file onnx.hxx.

◆ fExternalData

std::vector<StringStringEntryProto> TMVA::Experimental::SOFIE::onnx::TensorProto::fExternalData
private

Definition at line 447 of file onnx.hxx.

◆ fFloatData

std::vector<float> TMVA::Experimental::SOFIE::onnx::TensorProto::fFloatData
private

Definition at line 448 of file onnx.hxx.

◆ fInt32Data

std::vector<int32_t> TMVA::Experimental::SOFIE::onnx::TensorProto::fInt32Data
private

Definition at line 450 of file onnx.hxx.

◆ fInt64Data

std::vector<int64_t> TMVA::Experimental::SOFIE::onnx::TensorProto::fInt64Data
private

Definition at line 451 of file onnx.hxx.

◆ fName

std::string TMVA::Experimental::SOFIE::onnx::TensorProto::fName
private

Definition at line 442 of file onnx.hxx.

◆ fRawData

std::string TMVA::Experimental::SOFIE::onnx::TensorProto::fRawData
private

Definition at line 445 of file onnx.hxx.

  • tmva/sofie_parsers/src/onnx.hxx