Uses of Class
org.nd4j.linalg.api.buffer.DataBuffer.AllocationMode
-
Packages that use DataBuffer.AllocationMode Package Description org.nd4j.linalg.api.buffer org.nd4j.linalg.api.buffer.factory org.nd4j.linalg.api.buffer.util org.nd4j.linalg.compression org.nd4j.linalg.factory -
-
Uses of DataBuffer.AllocationMode in org.nd4j.linalg.api.buffer
Fields in org.nd4j.linalg.api.buffer declared as DataBuffer.AllocationMode Modifier and Type Field Description protected DataBuffer.AllocationMode
BaseDataBuffer. allocationMode
Methods in org.nd4j.linalg.api.buffer that return DataBuffer.AllocationMode Modifier and Type Method Description DataBuffer.AllocationMode
BaseDataBuffer. allocationMode()
DataBuffer.AllocationMode
DataBuffer. allocationMode()
Allocation mode for buffersstatic DataBuffer.AllocationMode
DataBuffer.AllocationMode. valueOf(String name)
Returns the enum constant of this type with the specified name.static DataBuffer.AllocationMode[]
DataBuffer.AllocationMode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.nd4j.linalg.api.buffer that return types with arguments of type DataBuffer.AllocationMode Modifier and Type Method Description static Triple<DataBuffer.AllocationMode,Long,DataType>
BaseDataBuffer. readHeader(@NonNull InputStream is)
Methods in org.nd4j.linalg.api.buffer with parameters of type DataBuffer.AllocationMode Modifier and Type Method Description void
BaseDataBuffer. read(DataInputStream s, @NonNull DataBuffer.AllocationMode allocMode, long len, @NonNull DataType dtype)
void
BaseDataBuffer. read(InputStream is, DataBuffer.AllocationMode allocationMode, long length, DataType dataType)
void
DataBuffer. read(DataInputStream s, DataBuffer.AllocationMode allocationMode, long length, DataType dataType)
void
DataBuffer. read(InputStream is, DataBuffer.AllocationMode allocationMode, long length, DataType dataType)
Write this buffer to the input stream. -
Uses of DataBuffer.AllocationMode in org.nd4j.linalg.api.buffer.factory
Methods in org.nd4j.linalg.api.buffer.factory that return DataBuffer.AllocationMode Modifier and Type Method Description DataBuffer.AllocationMode
DataBufferFactory. allocationMode()
Allocation mode for the data bufferMethods in org.nd4j.linalg.api.buffer.factory with parameters of type DataBuffer.AllocationMode Modifier and Type Method Description void
DataBufferFactory. setAllocationMode(DataBuffer.AllocationMode allocationMode)
Setter for the allocation mode -
Uses of DataBuffer.AllocationMode in org.nd4j.linalg.api.buffer.util
Methods in org.nd4j.linalg.api.buffer.util that return DataBuffer.AllocationMode Modifier and Type Method Description static DataBuffer.AllocationMode
AllocUtil. getAllocationModeFromContext()
get the allocation mode from the contextstatic DataBuffer.AllocationMode
AllocUtil. getAllocationModeFromContext(String allocMode)
Get the allocation mode from the contextMethods in org.nd4j.linalg.api.buffer.util with parameters of type DataBuffer.AllocationMode Modifier and Type Method Description static String
AllocUtil. getAllocModeName(DataBuffer.AllocationMode allocationMode)
Gets the name of the alocation modestatic void
AllocUtil. setAllocationModeForContext(DataBuffer.AllocationMode allocationModeForContext)
Set the allocation mode for the nd4j context The value must be one of: heap, java cpp, or direct or an @link{IllegalArgumentException} is thrown -
Uses of DataBuffer.AllocationMode in org.nd4j.linalg.compression
Methods in org.nd4j.linalg.compression with parameters of type DataBuffer.AllocationMode Modifier and Type Method Description static DataBuffer
CompressedDataBuffer. readUnknown(DataInputStream s, DataBuffer.AllocationMode allocMode, long length, DataType type)
Drop-in replacement wrapper for BaseDataBuffer.read() method, aware of CompressedDataBuffer -
Uses of DataBuffer.AllocationMode in org.nd4j.linalg.factory
Fields in org.nd4j.linalg.factory declared as DataBuffer.AllocationMode Modifier and Type Field Description static DataBuffer.AllocationMode
Nd4j. alloc
-