|
| | TensorCpu () |
| |
| virtual | ~TensorCpu () |
| |
| | TensorCpu (const unsigned int N, const unsigned int C, const unsigned int H, const unsigned int W) |
| |
| | TensorCpu (PixelType *host_data, const unsigned int N, const unsigned int C, const unsigned int H, const unsigned int W, bool ext_data_pointer=false) |
| |
| PixelType | getPixel (unsigned int n, unsigned int c, unsigned int x, unsigned int y) |
| |
| unsigned int | samples () const |
| |
| unsigned int | channels () const |
| |
| unsigned int | height () const |
| |
| unsigned int | width () const |
| |
| ndarray_ref< PixelType, 4 > | ref () const |
| |
| | TensorCpu (const ndarray_ref< PixelType, 4 > &x) |
| |
| | LinearHostMemory () |
| |
| | LinearHostMemory (const Size< Ndim > &size) |
| |
| | LinearHostMemory (const unsigned int &numel) |
| |
| | LinearHostMemory (PixelType *host_data, const Size< Ndim > &size, bool ext_data_pointer=false) |
| |
| | LinearHostMemory (PixelType *host_data, const unsigned int &numel, bool ext_data_pointer=false) |
| |
| | LinearHostMemory (const ndarray_ref< PixelType, Ndim > &x) |
| |
| | LinearHostMemory (boost::python::api::object &py_arr) |
| |
| | LinearHostMemory (const mxArray_tag &mex_arr) |
| |
| virtual | ~LinearHostMemory () |
| |
| PixelType * | data (unsigned int offset=0) |
| |
| const PixelType * | data (unsigned int offset=0) const |
| |
| virtual size_t | bytes () const |
| |
| virtual unsigned int | bitDepth () const |
| |
thrust::pointer< PixelType,
thrust::host_system_tag > | begin (void) |
| |
thrust::pointer< PixelType,
thrust::host_system_tag > | end (void) |
| |
| virtual bool | onDevice () const |
| |
| PixelType & | getPixel (const unsigned int &idx) |
| |
std::enable_if<(Ndim >
1), ResultType & >::type | getPixel (const unsigned int &idx0, const unsigned int &idx1) |
| |
std::enable_if<(Ndim >
2), ResultType & >::type | getPixel (const unsigned int &idx0, const unsigned int &idx1, const unsigned int &idx2) |
| |
std::enable_if<(Ndim >
3), ResultType & >::type | getPixel (const unsigned int &idx0, const unsigned int &idx1, const unsigned int &idx2, const unsigned int &idx3) |
| |
std::enable_if<(Ndim >
4), ResultType & >::type | getPixel (const unsigned int &idx0, const unsigned int &idx1, const unsigned int &idx2, const unsigned int &idx3, const unsigned int &idx4) |
| |
| ndarray_ref< PixelType, Ndim > | ref () const |
| |
| | LinearMemory () |
| |
| | LinearMemory (const Size< Ndim > &size) |
| |
| | LinearMemory (const unsigned int &numel) |
| |
| bool | sameType (const LinearMemory &from) |
| |
| virtual | ~LinearMemory () |
| |
| unsigned int | numel () const |
| |
| Size< Ndim > | size () const |
| |
| Size< Ndim > | stride () const |
| |