Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
onnx::TypeProto_Tensor Class Reference

Definition at line 259 of file onnx.hxx.

Public Member Functions

int elem_type () const
 
bool has_shape () const
 
void ParseFrom (detail::WireReader r)
 
const TensorShapeProtoshape () const
 

Private Attributes

int fElemType = 0
 
bool fHasShape = false
 
TensorShapeProto fShape
 

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

Member Function Documentation

◆ elem_type()

int onnx::TypeProto_Tensor::elem_type ( ) const
inline

Definition at line 261 of file onnx.hxx.

◆ has_shape()

bool onnx::TypeProto_Tensor::has_shape ( ) const
inline

Definition at line 262 of file onnx.hxx.

◆ ParseFrom()

void onnx::TypeProto_Tensor::ParseFrom ( detail::WireReader r)
inline

Definition at line 265 of file onnx.hxx.

◆ shape()

const TensorShapeProto & onnx::TypeProto_Tensor::shape ( ) const
inline

Definition at line 263 of file onnx.hxx.

Member Data Documentation

◆ fElemType

int onnx::TypeProto_Tensor::fElemType = 0
private

Definition at line 283 of file onnx.hxx.

◆ fHasShape

bool onnx::TypeProto_Tensor::fHasShape = false
private

Definition at line 284 of file onnx.hxx.

◆ fShape

TensorShapeProto onnx::TypeProto_Tensor::fShape
private

Definition at line 285 of file onnx.hxx.

  • tmva/sofie_parsers/src/onnx.hxx