| 
 mxnet
    
 | 
Static array. This code is borrowed from struct Shape<ndim>, except that users can specify the type of the elements of the statically allocated array. The object instance of the struct is copyable between CPU and GPU. More...
#include <static_array.h>

Public Member Functions | |
| MSHADOW_XINLINE | StaticArray (void) | 
| default constructor, do nothing  More... | |
| MSHADOW_XINLINE | StaticArray (const T &val) | 
| constructor, fill in the array with the input value  More... | |
| MSHADOW_XINLINE | StaticArray (const StaticArray< T, num > &sa) | 
| constuctor  More... | |
| MSHADOW_XINLINE T & | operator[] (const index_t idx) | 
| MSHADOW_XINLINE const T & | operator[] (const index_t idx) const | 
Public Attributes | |
| T | array_ [kNum] | 
Static Public Attributes | |
| static const int | kNum = num | 
Static array. This code is borrowed from struct Shape<ndim>, except that users can specify the type of the elements of the statically allocated array. The object instance of the struct is copyable between CPU and GPU.
| T | element type of the array, must be copyable between CPU and GPU | 
| num | number of elements in the array | 
  | 
inline | 
default constructor, do nothing
  | 
inline | 
constructor, fill in the array with the input value
  | 
inline | 
constuctor
  | 
inline | 
  | 
inline | 
| T mxnet::common::StaticArray< T, num >::array_[kNum] | 
  | 
static | 
 1.8.11