23 #ifndef SRC_TYPES_TENSORTYPES_HPP_
24 #define SRC_TYPES_TENSORTYPES_HPP_
39 using TensorPtr =
typename std::shared_ptr< mic::types::Tensor<eT> >;
45 #define MAKE_TENSOR_PTR(eT, ...) std::make_shared<mic::types::Tensor<eT> >( mic::types::Tensor<eT> ( { __VA_ARGS__ } ))
75 using TensorBatchPtr =
typename std::shared_ptr<mic::types::TensorBatch<eT> > ;
Template class storing the sample batches. A batch is stored in fact as three vectors, containing data, labels and sample numbers respectively.
typename std::shared_ptr< mic::types::TensorSample< eT > > TensorSamplePtr
Pointer to the <Tensor-uint> sample type.
typename mic::types::Sample< mic::types::Tensor< eT >, unsigned int > TensorSample
The <Tensor-uint> sample type.
typename mic::types::Batch< mic::types::Tensor< eT >, unsigned int > TensorBatch
The <Tensor-uint> batch type.
std::shared_ptr< mic::types::TensorXf > TensorXfPtr
Shared pointer to tensor of single precision floats (of dynamic size).
std::shared_ptr< mic::types::TensorXi > TensorXiPtr
Shared pointer to tensor of integers (of dynamic size).
std::shared_ptr< mic::types::TensorXd > TensorXdPtr
Shared pointer to tensor of double precision floats (of dynamic size).
Template class storing the data-label pairs. Additionally it stores the the index of the sample (main...
mic::types::Tensor< int > TensorXi
Tensor of integers (of dynamic size).
mic::types::Tensor< double > TensorXd
Tensor of double precision floats (of dynamic size).
typename std::shared_ptr< mic::types::Tensor< eT > > TensorPtr
Typedef for a shared pointer to template-typed dynamic matrices.
mic::types::Tensor< float > TensorXf
Tensor of single precision floats (of dynamic size).
Template class representing an nD (n-Dimensional) tensor. Tensor is row-major, i.e. first dimension is height (rows), second is width (cols), third is depth (channels) etc.
typename std::shared_ptr< mic::types::TensorBatch< eT > > TensorBatchPtr
Pointer to the <Tensor-uint> batch type.
File contaning a template tensor class.