public interface ShapeInfoProvider
Modifier and Type | Method and Description |
---|---|
org.nd4j.linalg.primitives.Pair<DataBuffer,long[]> |
createShapeInformation(long[] shape,
char order,
DataType dataType)
This method creates long shapeInformation buffer, based on shape & order being passed in
|
org.nd4j.linalg.primitives.Pair<DataBuffer,long[]> |
createShapeInformation(long[] shape,
DataType dataType)
This method creates long shapeInformation buffer, based on shape being passed in
|
org.nd4j.linalg.primitives.Pair<DataBuffer,long[]> |
createShapeInformation(long[] shape,
long[] stride,
long elementWiseStride,
char order,
DataType dataType,
boolean empty)
This method creates long shapeInformation buffer, based on detailed shape info being passed in
|
org.nd4j.linalg.primitives.Pair<DataBuffer,long[]> |
createShapeInformation(long[] shape,
long[] stride,
long elementWiseStride,
char order,
long extras) |
long |
getCachedBytes()
This method returns memory used for cache, in bytes
|
void |
purgeCache()
This method forces cache purge, if cache is available for specific implementation
|
org.nd4j.linalg.primitives.Pair<DataBuffer,long[]> createShapeInformation(long[] shape, DataType dataType)
shape
- org.nd4j.linalg.primitives.Pair<DataBuffer,long[]> createShapeInformation(long[] shape, char order, DataType dataType)
shape
- org.nd4j.linalg.primitives.Pair<DataBuffer,long[]> createShapeInformation(long[] shape, long[] stride, long elementWiseStride, char order, DataType dataType, boolean empty)
shape
- org.nd4j.linalg.primitives.Pair<DataBuffer,long[]> createShapeInformation(long[] shape, long[] stride, long elementWiseStride, char order, long extras)
void purgeCache()
long getCachedBytes()
Copyright © 2019. All rights reserved.