Uses of Interface
org.tensorflow.ndarray.buffer.IntDataBuffer
-
-
Uses of IntDataBuffer in org.tensorflow.ndarray
Methods in org.tensorflow.ndarray with parameters of type IntDataBuffer Modifier and Type Method Description IntNdArrayIntNdArray. read(IntDataBuffer dst)static IntNdArrayNdArrays. wrap(Shape shape, IntDataBuffer buffer)Wraps a buffer in an int N-dimensional array of a given shape.IntNdArrayIntNdArray. write(IntDataBuffer src) -
Uses of IntDataBuffer in org.tensorflow.ndarray.buffer
Methods in org.tensorflow.ndarray.buffer that return IntDataBuffer Modifier and Type Method Description IntDataBufferByteDataBuffer. asInts()Return this byte buffer as a buffer of ints.IntDataBufferIntDataBuffer. copyTo(DataBuffer<Integer> dst, long size)default IntDataBufferIntDataBuffer. narrow(long size)static IntDataBufferDataBuffers. of(int... values)Create a buffer from an array of ints into a data buffer.static IntDataBufferDataBuffers. of(int[] array, boolean readOnly, boolean makeCopy)Create a buffer from an array of ints into a data buffer.static IntDataBufferDataBuffers. of(IntBuffer buf)Wraps a JDK NIOIntBufferinto a data buffer.default IntDataBufferIntDataBuffer. offset(long index)static IntDataBufferDataBuffers. ofInts(long size)Creates a buffer of integers that can store up tosizevaluesdefault IntDataBufferIntDataBuffer. read(int[] dst)Bulk get method, using int arrays.IntDataBufferIntDataBuffer. read(int[] dst, int offset, int length)Bulk get method, using int arrays.IntDataBufferIntDataBuffer. setInt(int value, long index)Writes the given int into this buffer at the given index.default IntDataBufferIntDataBuffer. setObject(Integer value, long index)IntDataBufferIntDataBuffer. slice(long index, long size)default IntDataBufferIntDataBuffer. write(int[] src)Bulk put method, using int arrays.IntDataBufferIntDataBuffer. write(int[] src, int offset, int length)Bulk put method, using int arrays.Methods in org.tensorflow.ndarray.buffer that return types with arguments of type IntDataBuffer Modifier and Type Method Description default DataBufferWindow<IntDataBuffer>IntDataBuffer. window(long size) -
Uses of IntDataBuffer in org.tensorflow.ndarray.buffer.layout
Methods in org.tensorflow.ndarray.buffer.layout that return IntDataBuffer Modifier and Type Method Description default IntDataBufferIntDataLayout. applyTo(S buffer) -
Uses of IntDataBuffer in org.tensorflow.ndarray.impl.buffer.adapter
Methods in org.tensorflow.ndarray.impl.buffer.adapter that return IntDataBuffer Modifier and Type Method Description static <S extends DataBuffer<?>>
IntDataBufferDataBufferAdapterFactory. create(S buffer, IntDataLayout<S> layout)Creates an adapter that applies a integer data layout to the given buffer. -
Uses of IntDataBuffer in org.tensorflow.ndarray.impl.buffer.nio
Methods in org.tensorflow.ndarray.impl.buffer.nio that return IntDataBuffer Modifier and Type Method Description static IntDataBufferNioDataBufferFactory. create(IntBuffer buffer) -
Uses of IntDataBuffer in org.tensorflow.ndarray.impl.buffer.raw
Methods in org.tensorflow.ndarray.impl.buffer.raw that return IntDataBuffer Modifier and Type Method Description static IntDataBufferRawDataBufferFactory. create(int[] array, boolean readOnly)protected static IntDataBufferRawDataBufferFactory. mapNativeInts(long address, long size, boolean readOnly) -
Uses of IntDataBuffer in org.tensorflow.ndarray.impl.dense
Methods in org.tensorflow.ndarray.impl.dense that return IntDataBuffer Modifier and Type Method Description protected IntDataBufferIntDenseNdArray. buffer()Methods in org.tensorflow.ndarray.impl.dense with parameters of type IntDataBuffer Modifier and Type Method Description static IntNdArrayIntDenseNdArray. create(IntDataBuffer buffer, Shape shape)IntNdArrayIntDenseNdArray. read(IntDataBuffer dst)IntNdArrayIntDenseNdArray. write(IntDataBuffer src)Constructors in org.tensorflow.ndarray.impl.dense with parameters of type IntDataBuffer Constructor Description IntDenseNdArray(IntDataBuffer buffer, Shape shape) -
Uses of IntDataBuffer in org.tensorflow.ndarray.impl.sparse
Methods in org.tensorflow.ndarray.impl.sparse with parameters of type IntDataBuffer Modifier and Type Method Description static IntSparseNdArrayIntSparseNdArray. create(IntDataBuffer dataBuffer, int defaultValue, DimensionalSpace dimensions)Creates a new IntSparseNdArray from a data bufferstatic IntSparseNdArrayIntSparseNdArray. create(IntDataBuffer buffer, int defaultValue, Shape shape)Creates a new empty IntSparseNdArray from a int data bufferstatic IntSparseNdArrayIntSparseNdArray. create(IntDataBuffer dataBuffer, DimensionalSpace dimensions)Creates a new IntSparseNdArray from a data bufferstatic IntSparseNdArrayIntSparseNdArray. create(IntDataBuffer buffer, Shape shape)Creates a new empty IntSparseNdArray from a int data bufferIntNdArrayIntSparseNdArray. read(IntDataBuffer dst)IntNdArrayIntSparseNdArray. write(IntDataBuffer src) -
Uses of IntDataBuffer in org.tensorflow.ndarray.impl.sparse.slice
Methods in org.tensorflow.ndarray.impl.sparse.slice with parameters of type IntDataBuffer Modifier and Type Method Description IntNdArrayIntSparseSlice. read(IntDataBuffer dst)IntNdArrayIntSparseSlice. write(IntDataBuffer src)
-