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.AllocationModeBaseDataBuffer. allocationModeMethods in org.nd4j.linalg.api.buffer that return DataBuffer.AllocationMode Modifier and Type Method Description DataBuffer.AllocationModeBaseDataBuffer. allocationMode()DataBuffer.AllocationModeDataBuffer. allocationMode()Allocation mode for buffersstatic DataBuffer.AllocationModeDataBuffer.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 voidBaseDataBuffer. read(DataInputStream s, @NonNull DataBuffer.AllocationMode allocMode, long len, @NonNull DataType dtype)voidBaseDataBuffer. read(InputStream is, DataBuffer.AllocationMode allocationMode, long length, DataType dataType)voidDataBuffer. read(DataInputStream s, DataBuffer.AllocationMode allocationMode, long length, DataType dataType)voidDataBuffer. 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.AllocationModeDataBufferFactory. 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 voidDataBufferFactory. 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.AllocationModeAllocUtil. getAllocationModeFromContext()get the allocation mode from the contextstatic DataBuffer.AllocationModeAllocUtil. 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 StringAllocUtil. getAllocModeName(DataBuffer.AllocationMode allocationMode)Gets the name of the alocation modestatic voidAllocUtil. 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 DataBufferCompressedDataBuffer. 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.AllocationModeNd4j. alloc
-