BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
Public Types | List of all members
bc::nn::tensor_descriptor< ValueType, SystemTag, TensorDimension, AllocatorType > Struct Template Reference

#include <tensor_descriptor.h>

Public Types

using value_type = ValueType
 
using system_tag = SystemTag
 
using allocator_type = AllocatorType
 
using tensor_dim = bc::traits::Integer< TensorDimension::value >
 
using batched_tensor_dim = bc::traits::Integer< tensor_dim::value+1 >
 
using shape_type = bc::Dim< tensor_dim::value >
 
using batched_shape_type = bc::Dim< batched_tensor_dim::value >
 
using tensor_type = bc::Tensor< tensor_dim::value, value_type, allocator_type >
 
using batched_tensor_type = bc::Tensor< batched_tensor_dim::value, value_type, allocator_type >
 

Member Typedef Documentation

◆ allocator_type

template<class ValueType , class SystemTag , class TensorDimension , class AllocatorType >
using bc::nn::tensor_descriptor< ValueType, SystemTag, TensorDimension, AllocatorType >::allocator_type = AllocatorType

◆ batched_shape_type

template<class ValueType , class SystemTag , class TensorDimension , class AllocatorType >
using bc::nn::tensor_descriptor< ValueType, SystemTag, TensorDimension, AllocatorType >::batched_shape_type = bc::Dim<batched_tensor_dim::value>

◆ batched_tensor_dim

template<class ValueType , class SystemTag , class TensorDimension , class AllocatorType >
using bc::nn::tensor_descriptor< ValueType, SystemTag, TensorDimension, AllocatorType >::batched_tensor_dim = bc::traits::Integer<tensor_dim::value + 1>

◆ batched_tensor_type

template<class ValueType , class SystemTag , class TensorDimension , class AllocatorType >
using bc::nn::tensor_descriptor< ValueType, SystemTag, TensorDimension, AllocatorType >::batched_tensor_type = bc::Tensor< batched_tensor_dim::value, value_type, allocator_type>

◆ shape_type

template<class ValueType , class SystemTag , class TensorDimension , class AllocatorType >
using bc::nn::tensor_descriptor< ValueType, SystemTag, TensorDimension, AllocatorType >::shape_type = bc::Dim<tensor_dim::value>

◆ system_tag

template<class ValueType , class SystemTag , class TensorDimension , class AllocatorType >
using bc::nn::tensor_descriptor< ValueType, SystemTag, TensorDimension, AllocatorType >::system_tag = SystemTag

◆ tensor_dim

template<class ValueType , class SystemTag , class TensorDimension , class AllocatorType >
using bc::nn::tensor_descriptor< ValueType, SystemTag, TensorDimension, AllocatorType >::tensor_dim = bc::traits::Integer<TensorDimension::value>

◆ tensor_type

template<class ValueType , class SystemTag , class TensorDimension , class AllocatorType >
using bc::nn::tensor_descriptor< ValueType, SystemTag, TensorDimension, AllocatorType >::tensor_type = bc::Tensor< tensor_dim::value, value_type, allocator_type>

◆ value_type

template<class ValueType , class SystemTag , class TensorDimension , class AllocatorType >
using bc::nn::tensor_descriptor< ValueType, SystemTag, TensorDimension, AllocatorType >::value_type = ValueType

The documentation for this struct was generated from the following file: