public abstract class BaseShapeInfoProvider extends Object implements ShapeInfoProvider
| Modifier and Type | Field and Description |
|---|---|
protected AtomicLong |
bytes |
| Constructor and Description |
|---|
BaseShapeInfoProvider() |
| Modifier and Type | Method and Description |
|---|---|
Pair<DataBuffer,long[]> |
createShapeInformation(long[] shape,
char order,
DataType dataType)
This method creates shapeInformation buffer, based on shape & order being passed in
|
Pair<DataBuffer,long[]> |
createShapeInformation(long[] shape,
DataType dataType)
This method creates shapeInformation buffer, based on shape being passed in
|
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
|
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpurgeCacheprotected AtomicLong bytes
public Pair<DataBuffer,long[]> createShapeInformation(long[] shape, DataType dataType)
createShapeInformation in interface ShapeInfoProvidershape - public Pair<DataBuffer,long[]> createShapeInformation(long[] shape, char order, DataType dataType)
createShapeInformation in interface ShapeInfoProvidershape - order - public Pair<DataBuffer,long[]> createShapeInformation(long[] shape, long[] stride, long elementWiseStride, char order, DataType dataType, boolean empty)
ShapeInfoProvidercreateShapeInformation in interface ShapeInfoProviderpublic Pair<DataBuffer,long[]> createShapeInformation(long[] shape, long[] stride, long elementWiseStride, char order, long extras)
createShapeInformation in interface ShapeInfoProviderpublic long getCachedBytes()
ShapeInfoProvidergetCachedBytes in interface ShapeInfoProviderCopyright © 2021. All rights reserved.