vmmlib  1.7.0
 All Classes Namespaces Functions Pages
vmml::tensor3< I1, I2, I3, T > Class Template Reference
+ Collaboration diagram for vmml::tensor3< I1, I2, I3, T >:

Public Types

typedef T value_type
 
typedef T * pointer
 
typedef T & reference
 
typedef float T_blas
 
typedef matrix< I1, I2, T >
::iterator 
matrix_iterator
 
typedef vmml::tensor3_iterator
< tensor3< I1, I2, I3, T > > 
iterator
 
typedef
vmml::tensor3_const_iterator
< tensor3< I1, I2, I3, T > > 
const_iterator
 
typedef vmml::tensor3_iterator
< tensor3< I1, I2, I3, T > > 
reverse_iterator
 
typedef vmml::tensor3_iterator
< tensor3< I1, I2, I3, T > > 
const_reverse_iterator
 
typedef matrix< I1, I2, T > front_slice_type
 
typedef matrix< I3, I1, T > lat_slice_type
 
typedef matrix< I2, I3, T > horiz_slice_type
 
typedef matrix< I1, I2 *I3, T > fwd_front_unfolding_type
 
typedef matrix< I2, I3 *I1, T > fwd_horiz_unfolding_type
 
typedef matrix< I3, I1 *I2, T > fwd_lat_unfolding_type
 
typedef matrix< I2, I1, T > bwd_front_slice_type
 
typedef matrix< I1, I3, T > bwd_lat_slice_type
 
typedef matrix< I3, I2, T > bwd_horiz_slice_type
 
typedef matrix< I1, I2 *I3, T > bwd_lat_unfolding_type
 
typedef matrix< I2, I1 *I3, T > bwd_front_unfolding_type
 
typedef matrix< I3, I1 *I2, T > bwd_horiz_unfolding_type
 

Public Member Functions

void clear_array_pointer ()
 
T & operator() (size_t i1, size_t i2, size_t i3)
 
const T & operator() (size_t i1, size_t i2, size_t i3) const
 
T & at (size_t i1, size_t i2, size_t i3)
 
const T & at (size_t i1, size_t i2, size_t i3) const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
 tensor3 (void *memory)
 
 tensor3 (const tensor3 &source)
 
template<typename U >
 tensor3 (const tensor3< I1, I2, I3, U > &source_)
 
template<size_t J1, size_t J2, size_t J3>
 tensor3 (const tensor3< J1, J2, J3, T > &source_)
 
size_t size () const
 
template<size_t J1, size_t J2, size_t J3>
tensor3< J1, J2, J3, T > get_sub_tensor3 (size_t row_offset, size_t col_offset, size_t slice_offset=0, typename enable_if< J1<=I1 &&J2<=I2 &&J3<=I3 >::type *=0) const
 

Static Public Member Functions

static size_t get_array_size_in_bytes ()
 

Static Public Attributes

static const size_t ROWS = I1
 
static const size_t COLS = I2
 
static const size_t SLICES = I3
 
static const size_t MATRIX_SIZE = I1 * I2
 
static const size_t SIZE = MATRIX_SIZE * I3
 

Detailed Description

template<size_t I1, size_t I2, size_t I3, typename T = float>
class vmml::tensor3< I1, I2, I3, T >

Definition at line 62 of file tensor3.hpp.


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