|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--analyzer.tree.ConstDataSource
Simple implementation of DataSource for tensors that are already stored as packed 1D arrays.
Constructor Summary | |
ConstDataSource(java.lang.Object data,
int[] dims,
int type)
Constructor. |
Method Summary | |
java.lang.Object |
getData()
Return the data array as an object. |
int[] |
getDims()
Return the unpacked dimensions of the data array. |
int |
getType()
Return the numerical type of the data array. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ConstDataSource(java.lang.Object data, int[] dims, int type)
Method Detail |
public java.lang.Object getData()
public int[] getDims()
public int getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |