| EDM4eic
    EIC data model | 
#include <Tensor.h>
| Public Types | |
| using | mutable_type = MutableTensor | 
| using | collection_type = TensorCollection | 
| Public Member Functions | |
| Tensor () | |
| default constructor | |
| Tensor (const std::int32_t elementType) | |
| Constructor initializing all members. | |
| Tensor (const Tensor &other)=default | |
| copy constructor | |
| Tensor & | operator= (Tensor other) & | 
| copy-assignment operator | |
| Tensor & | operator= (Tensor other) &&=delete | 
| MutableTensor | clone (bool cloneRelations=true) const | 
| ~Tensor ()=default | |
| destructor | |
| Tensor (const MutableTensor &other) | |
| converting constructor from mutable object | |
| std::int32_t | getElementType () const | 
| Access the Data type in the same encoding as "ONNXTensorElementDataType", 1 - float, 7 - int64. | |
| std::size_t | shape_size () const | 
| std::int64_t | getShape (std::size_t) const | 
| std::vector< std::int64_t >::const_iterator | shape_begin () const | 
| std::vector< std::int64_t >::const_iterator | shape_end () const | 
| podio::RelationRange< std::int64_t > | getShape () const | 
| std::size_t | floatData_size () const | 
| float | getFloatData (std::size_t) const | 
| std::vector< float >::const_iterator | floatData_begin () const | 
| std::vector< float >::const_iterator | floatData_end () const | 
| podio::RelationRange< float > | getFloatData () const | 
| std::size_t | int64Data_size () const | 
| std::int64_t | getInt64Data (std::size_t) const | 
| std::vector< std::int64_t >::const_iterator | int64Data_begin () const | 
| std::vector< std::int64_t >::const_iterator | int64Data_end () const | 
| podio::RelationRange< std::int64_t > | getInt64Data () const | 
| bool | isAvailable () const | 
| check whether the object is actually available | |
| void | unlink () | 
| disconnect from TensorObj instance | |
| bool | operator== (const Tensor &other) const | 
| bool | operator== (const MutableTensor &other) const | 
| bool | operator!= (const Tensor &other) const | 
| bool | operator!= (const MutableTensor &other) const | 
| bool | operator< (const Tensor &other) const | 
| podio::ObjectID | id () const | 
| const podio::ObjectID | getObjectID () const | 
| Static Public Member Functions | |
| static Tensor | makeEmpty () | 
| Static Public Attributes | |
| static constexpr std::string_view | typeName = "edm4eic::Tensor" | 
| Friends | |
| class | MutableTensor | 
| class | TensorCollection | 
| class | edm4eic::TensorCollectionData | 
| class | TensorCollectionIterator | 
| podio::detail::OrderKey | podio::detail::getOrderKey (const Tensor &obj) | 
| void | swap (Tensor &a, Tensor &b) | 
Tensor type for use in training in inference of ML models
| edm4eic::Tensor::Tensor | ( | ) | 
default constructor
| edm4eic::Tensor::Tensor | ( | const std::int32_t | elementType | ) | 
Constructor initializing all members.
| 
 | default | 
copy constructor
| 
 | default | 
destructor
| edm4eic::Tensor::Tensor | ( | const MutableTensor & | other | ) | 
converting constructor from mutable object
| MutableTensor edm4eic::Tensor::clone | ( | bool | cloneRelations = true | ) | const | 
create a mutable deep-copy of the object with identical relations if cloneRelations=false, the relations are not cloned and will be empty
| std::vector< float >::const_iterator edm4eic::Tensor::floatData_begin | ( | ) | const | 
| std::vector< float >::const_iterator edm4eic::Tensor::floatData_end | ( | ) | const | 
| std::size_t edm4eic::Tensor::floatData_size | ( | ) | const | 
| std::int32_t edm4eic::Tensor::getElementType | ( | ) | const | 
Access the Data type in the same encoding as "ONNXTensorElementDataType", 1 - float, 7 - int64.
| podio::RelationRange< float > edm4eic::Tensor::getFloatData | ( | ) | const | 
| float edm4eic::Tensor::getFloatData | ( | std::size_t | index | ) | const | 
| podio::RelationRange< std::int64_t > edm4eic::Tensor::getInt64Data | ( | ) | const | 
| std::int64_t edm4eic::Tensor::getInt64Data | ( | std::size_t | index | ) | const | 
| const podio::ObjectID edm4eic::Tensor::getObjectID | ( | ) | const | 
| podio::RelationRange< std::int64_t > edm4eic::Tensor::getShape | ( | ) | const | 
| std::int64_t edm4eic::Tensor::getShape | ( | std::size_t | index | ) | const | 
| 
 | inline | 
| std::vector< std::int64_t >::const_iterator edm4eic::Tensor::int64Data_begin | ( | ) | const | 
| std::vector< std::int64_t >::const_iterator edm4eic::Tensor::int64Data_end | ( | ) | const | 
| std::size_t edm4eic::Tensor::int64Data_size | ( | ) | const | 
| bool edm4eic::Tensor::isAvailable | ( | ) | const | 
check whether the object is actually available
| 
 | static | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| bool edm4eic::Tensor::operator== | ( | const MutableTensor & | other | ) | const | 
| 
 | inline | 
| std::vector< std::int64_t >::const_iterator edm4eic::Tensor::shape_begin | ( | ) | const | 
| std::vector< std::int64_t >::const_iterator edm4eic::Tensor::shape_end | ( | ) | const | 
| std::size_t edm4eic::Tensor::shape_size | ( | ) | const | 
| 
 | inline | 
disconnect from TensorObj instance
| 
 | friend | 
| 
 | friend | 
| 
 | friend | 
| 
 | friend | 
| 
 | friend | 
| 
 | staticconstexpr |