Definition at line 101 of file SOFIE_common.hxx.
|
bool | fConstant = false |
| Flag specifying if tensor is a Constant one (coming from a Constant operator)
|
|
std::shared_ptr< void > | fData |
| ! Transient shared data
|
|
bool | fIsNotWritable = false |
| Flag to indicate that tensor values do not need to be written as weight or generated code.
|
|
char * | fPersistentData = nullptr |
| [fSize] Persistent version of the data
|
|
std::vector< std::size_t > | fShape |
| The shape of the data in terms of elements in each dimension.
|
|
int | fSize = 0 |
| The size of the persistent data in bytes (not number of elements!)
|
|
ETensorType | fType |
| Encodes the type of the data.
|
|
#include <TMVA/SOFIE_common.hxx>
◆ InitializedTensor() [1/2]
TMVA::Experimental::SOFIE::InitializedTensor::InitializedTensor |
( |
| ) |
|
|
default |
◆ InitializedTensor() [2/2]
TMVA::Experimental::SOFIE::InitializedTensor::InitializedTensor |
( |
ETensorType |
type, |
|
|
std::span< std::size_t > |
shape, |
|
|
std::shared_ptr< void > |
data, |
|
|
bool |
typeConstant = false |
|
) |
| |
|
inline |
◆ CastPersistentToShared()
void TMVA::Experimental::SOFIE::InitializedTensor::CastPersistentToShared |
( |
| ) |
|
|
inline |
◆ CastSharedToPersistent()
void TMVA::Experimental::SOFIE::InitializedTensor::CastSharedToPersistent |
( |
| ) |
|
|
inline |
◆ data()
template<class T = void>
T const * TMVA::Experimental::SOFIE::InitializedTensor::data |
( |
| ) |
const |
|
inline |
◆ IsConstantTensor()
bool TMVA::Experimental::SOFIE::InitializedTensor::IsConstantTensor |
( |
| ) |
const |
|
inline |
◆ IsWeightTensor()
bool TMVA::Experimental::SOFIE::InitializedTensor::IsWeightTensor |
( |
| ) |
const |
|
inline |
◆ SetNotWritable()
void TMVA::Experimental::SOFIE::InitializedTensor::SetNotWritable |
( |
| ) |
|
|
inline |
◆ shape()
std::vector< std::size_t > const & TMVA::Experimental::SOFIE::InitializedTensor::shape |
( |
| ) |
const |
|
inline |
◆ sharedptr()
std::shared_ptr< void > const & TMVA::Experimental::SOFIE::InitializedTensor::sharedptr |
( |
| ) |
const |
|
inline |
◆ type()
ETensorType const & TMVA::Experimental::SOFIE::InitializedTensor::type |
( |
| ) |
const |
|
inline |
◆ fConstant
bool TMVA::Experimental::SOFIE::InitializedTensor::fConstant = false |
|
private |
Flag specifying if tensor is a Constant one (coming from a Constant operator)
Definition at line 169 of file SOFIE_common.hxx.
◆ fData
std::shared_ptr<void> TMVA::Experimental::SOFIE::InitializedTensor::fData |
|
private |
◆ fIsNotWritable
bool TMVA::Experimental::SOFIE::InitializedTensor::fIsNotWritable = false |
|
private |
Flag to indicate that tensor values do not need to be written as weight or generated code.
Definition at line 170 of file SOFIE_common.hxx.
◆ fPersistentData
char* TMVA::Experimental::SOFIE::InitializedTensor::fPersistentData = nullptr |
|
private |
◆ fShape
std::vector<std::size_t> TMVA::Experimental::SOFIE::InitializedTensor::fShape |
|
private |
The shape of the data in terms of elements in each dimension.
Definition at line 172 of file SOFIE_common.hxx.
◆ fSize
int TMVA::Experimental::SOFIE::InitializedTensor::fSize = 0 |
|
private |
The size of the persistent data in bytes (not number of elements!)
Definition at line 174 of file SOFIE_common.hxx.
◆ fType
ETensorType TMVA::Experimental::SOFIE::InitializedTensor::fType |
|
private |
The documentation for this class was generated from the following file: