Uses of Interface
org.tensorflow.ndarray.buffer.FloatDataBuffer
-
-
Uses of FloatDataBuffer in org.tensorflow.ndarray
Methods in org.tensorflow.ndarray with parameters of type FloatDataBuffer Modifier and Type Method Description FloatNdArrayFloatNdArray. read(FloatDataBuffer dst)static FloatNdArrayNdArrays. wrap(Shape shape, FloatDataBuffer buffer)Wraps a buffer in a float N-dimensional array of a given shape.FloatNdArrayFloatNdArray. write(FloatDataBuffer src) -
Uses of FloatDataBuffer in org.tensorflow.ndarray.buffer
Methods in org.tensorflow.ndarray.buffer that return FloatDataBuffer Modifier and Type Method Description FloatDataBufferByteDataBuffer. asFloats()Return this byte buffer as a buffer of floats.FloatDataBufferFloatDataBuffer. copyTo(DataBuffer<Float> dst, long size)default FloatDataBufferFloatDataBuffer. narrow(long size)static FloatDataBufferDataBuffers. of(float... values)Create a buffer from an array of floats into a data buffer.static FloatDataBufferDataBuffers. of(float[] array, boolean readOnly, boolean makeCopy)Create a buffer from an array of floats into a data buffer.static FloatDataBufferDataBuffers. of(FloatBuffer buf)Wraps a JDK NIOFloatBufferinto a data buffer.static FloatDataBufferDataBuffers. ofFloats(long size)Creates a buffer of floats that can store up tosizevaluesdefault FloatDataBufferFloatDataBuffer. offset(long index)default FloatDataBufferFloatDataBuffer. read(float[] dst)Bulk get method, using float arrays.FloatDataBufferFloatDataBuffer. read(float[] dst, int offset, int length)Bulk get method, using float arrays.FloatDataBufferFloatDataBuffer. setFloat(float value, long index)Writes the given float into this buffer at the given index.default FloatDataBufferFloatDataBuffer. setObject(Float value, long index)FloatDataBufferFloatDataBuffer. slice(long index, long size)default FloatDataBufferFloatDataBuffer. write(float[] src)Bulk put method, using float arrays.FloatDataBufferFloatDataBuffer. write(float[] src, int offset, int length)Bulk put method, using float arrays.Methods in org.tensorflow.ndarray.buffer that return types with arguments of type FloatDataBuffer Modifier and Type Method Description default DataBufferWindow<FloatDataBuffer>FloatDataBuffer. window(long size) -
Uses of FloatDataBuffer in org.tensorflow.ndarray.buffer.layout
Methods in org.tensorflow.ndarray.buffer.layout that return FloatDataBuffer Modifier and Type Method Description default FloatDataBufferFloatDataLayout. applyTo(S buffer) -
Uses of FloatDataBuffer in org.tensorflow.ndarray.impl.buffer.adapter
Methods in org.tensorflow.ndarray.impl.buffer.adapter that return FloatDataBuffer Modifier and Type Method Description static <S extends DataBuffer<?>>
FloatDataBufferDataBufferAdapterFactory. create(S buffer, FloatDataLayout<S> layout)Creates an adapter that applies a float data layout to the given buffer. -
Uses of FloatDataBuffer in org.tensorflow.ndarray.impl.buffer.nio
Methods in org.tensorflow.ndarray.impl.buffer.nio that return FloatDataBuffer Modifier and Type Method Description static FloatDataBufferNioDataBufferFactory. create(FloatBuffer buffer) -
Uses of FloatDataBuffer in org.tensorflow.ndarray.impl.buffer.raw
Methods in org.tensorflow.ndarray.impl.buffer.raw that return FloatDataBuffer Modifier and Type Method Description static FloatDataBufferRawDataBufferFactory. create(float[] array, boolean readOnly)protected static FloatDataBufferRawDataBufferFactory. mapNativeFloats(long address, long size, boolean readOnly) -
Uses of FloatDataBuffer in org.tensorflow.ndarray.impl.dense
Methods in org.tensorflow.ndarray.impl.dense that return FloatDataBuffer Modifier and Type Method Description FloatDataBufferFloatDenseNdArray. buffer()Methods in org.tensorflow.ndarray.impl.dense with parameters of type FloatDataBuffer Modifier and Type Method Description static FloatNdArrayFloatDenseNdArray. create(FloatDataBuffer buffer, Shape shape)FloatNdArrayFloatDenseNdArray. read(FloatDataBuffer dst)FloatNdArrayFloatDenseNdArray. write(FloatDataBuffer src)Constructors in org.tensorflow.ndarray.impl.dense with parameters of type FloatDataBuffer Constructor Description FloatDenseNdArray(FloatDataBuffer buffer, Shape shape) -
Uses of FloatDataBuffer in org.tensorflow.ndarray.impl.sparse
Methods in org.tensorflow.ndarray.impl.sparse with parameters of type FloatDataBuffer Modifier and Type Method Description static FloatSparseNdArrayFloatSparseNdArray. create(FloatDataBuffer dataBuffer, float defaultValue, DimensionalSpace dimensions)Creates a new FloatSparseNdArray from a data bufferstatic FloatSparseNdArrayFloatSparseNdArray. create(FloatDataBuffer buffer, float defaultValue, Shape shape)Creates a new empty FloatSparseNdArray from a float data bufferstatic FloatSparseNdArrayFloatSparseNdArray. create(FloatDataBuffer dataBuffer, DimensionalSpace dimensions)Creates a new FloatSparseNdArray from a data bufferstatic FloatSparseNdArrayFloatSparseNdArray. create(FloatDataBuffer buffer, Shape shape)Creates a new empty FloatSparseNdArray from a float data bufferFloatNdArrayFloatSparseNdArray. read(FloatDataBuffer dst)FloatNdArrayFloatSparseNdArray. write(FloatDataBuffer src) -
Uses of FloatDataBuffer in org.tensorflow.ndarray.impl.sparse.slice
Methods in org.tensorflow.ndarray.impl.sparse.slice with parameters of type FloatDataBuffer Modifier and Type Method Description FloatNdArrayFloatSparseSlice. read(FloatDataBuffer dst)FloatNdArrayFloatSparseSlice. write(FloatDataBuffer src)
-