![]() |
ceras
yet another deep learning engine
|
#include <tensor.hpp>
Additional Inherited Members | |
Public Types inherited from ceras::view_2d< T > | |
| typedef T | value_type |
| typedef value_type * | row_type |
| typedef const value_type * | const_row_type |
| typedef stride_iterator< value_type * > | col_type |
| typedef stride_iterator< const value_type * > | const_col_type |
Public Member Functions inherited from ceras::view_2d< T > | |
| template<typename A > | |
| constexpr | view_2d (tensor< T, A > &tsor, unsigned long row, unsigned long col, bool transposed=false) noexcept |
| constexpr | view_2d (T *data, unsigned long row, unsigned long col, bool transposed=false) noexcept |
| constexpr | view_2d (const T *data, unsigned long row, unsigned long col, bool transposed=false) noexcept |
| constexpr T * | operator[] (unsigned long index) |
| constexpr const T * | operator[] (unsigned long index) const |
| constexpr auto | shape () const noexcept |
| constexpr unsigned long | size () const noexcept |
| constexpr T * | data () noexcept |
| constexpr const T * | data () const noexcept |
| constexpr T * | begin () noexcept |
| constexpr const T * | end () const noexcept |
| constexpr unsigned long | row () const noexcept |
| constexpr unsigned long | col () const noexcept |
| constexpr row_type | row_begin (unsigned long index=0) noexcept |
| constexpr row_type | row_end (unsigned long index=0) noexcept |
| constexpr const_row_type | row_begin (unsigned long index=0) const noexcept |
| constexpr const_row_type | row_end (unsigned long index=0) const noexcept |
| constexpr col_type | col_begin (unsigned long index=0) noexcept |
| constexpr col_type | col_end (unsigned long index=0) noexcept |
| constexpr const_col_type | col_begin (unsigned long index=0) const noexcept |
| constexpr const_col_type | col_end (unsigned long index=0) const noexcept |
Public Attributes inherited from ceras::view_2d< T > | |
| T * | data_ |
| unsigned long | row_ |
| unsigned long | col_ |
| bool | transposed_ |