Uses of Interface
org.tensorflow.ndarray.buffer.ByteDataBuffer
Packages that use ByteDataBuffer
Package
Description
-
Uses of ByteDataBuffer in org.tensorflow.ndarray
Methods in org.tensorflow.ndarray with parameters of type ByteDataBufferModifier and TypeMethodDescriptionByteNdArray.copyFrom(ByteDataBuffer src) ByteNdArray.copyTo(ByteDataBuffer dst) static ByteNdArrayNdArrays.wrap(Shape shape, ByteDataBuffer buffer) Wraps a buffer in a byte N-dimensional array of a given shape. -
Uses of ByteDataBuffer in org.tensorflow.ndarray.buffer
Methods in org.tensorflow.ndarray.buffer that return ByteDataBufferModifier and TypeMethodDescriptionByteDataBuffer.copyTo(DataBuffer<Byte> dst, long size) default ByteDataBufferByteDataBuffer.narrow(long size) static ByteDataBufferDataBuffers.of(byte... values) Create a buffer from an array of bytes into a data buffer.static ByteDataBufferDataBuffers.of(byte[] array, boolean readOnly, boolean makeCopy) Create a buffer from an array of bytes into a data buffer.static ByteDataBufferDataBuffers.of(ByteBuffer buf) Wraps a JDK NIOByteBufferinto a data buffer.static ByteDataBufferDataBuffers.ofBytes(long size) Creates a buffer of bytes that can store up tosizevaluesdefault ByteDataBufferByteDataBuffer.offset(long index) default ByteDataBufferByteDataBuffer.read(byte[] dst) Bulk get method, using byte arrays.ByteDataBuffer.read(byte[] dst, int offset, int length) Bulk get method, using byte arrays.ByteDataBuffer.setByte(byte value, long index) Writes the given byte into this buffer at the given index.default ByteDataBufferByteDataBuffer.slice(long index, long size) default ByteDataBufferByteDataBuffer.write(byte[] src) Bulk put method, using byte arrays.ByteDataBuffer.write(byte[] src, int offset, int length) Bulk put method, using byte arrays.Methods in org.tensorflow.ndarray.buffer that return types with arguments of type ByteDataBufferModifier and TypeMethodDescriptiondefault DataBufferWindow<ByteDataBuffer> ByteDataBuffer.window(long size) -
Uses of ByteDataBuffer in org.tensorflow.ndarray.buffer.layout
Fields in org.tensorflow.ndarray.buffer.layout with type parameters of type ByteDataBufferModifier and TypeFieldDescriptionstatic final BooleanDataLayout<ByteDataBuffer> DataLayouts.BOOLData layout for converting booleans to/from byte values.Methods in org.tensorflow.ndarray.buffer.layout that return ByteDataBuffer -
Uses of ByteDataBuffer in org.tensorflow.ndarray.impl.buffer.adapter
Methods in org.tensorflow.ndarray.impl.buffer.adapter that return ByteDataBufferModifier and TypeMethodDescriptionstatic <S extends DataBuffer<?>>
ByteDataBufferDataBufferAdapterFactory.create(S buffer, ByteDataLayout<S> layout) Creates an adapter that applies a byte data layout to the given buffer. -
Uses of ByteDataBuffer in org.tensorflow.ndarray.impl.buffer.layout
Classes in org.tensorflow.ndarray.impl.buffer.layout that implement interfaces with type arguments of type ByteDataBufferModifier and TypeClassDescriptionfinal classData layout that converts booleans from/to bytes.Methods in org.tensorflow.ndarray.impl.buffer.layout with parameters of type ByteDataBufferModifier and TypeMethodDescriptionbooleanBoolLayout.readBoolean(ByteDataBuffer buffer, long index) voidBoolLayout.writeBoolean(ByteDataBuffer buffer, boolean value, long index) -
Uses of ByteDataBuffer in org.tensorflow.ndarray.impl.buffer.nio
Methods in org.tensorflow.ndarray.impl.buffer.nio that return ByteDataBufferModifier and TypeMethodDescriptionstatic ByteDataBufferNioDataBufferFactory.create(ByteBuffer buffer) -
Uses of ByteDataBuffer in org.tensorflow.ndarray.impl.buffer.raw
Methods in org.tensorflow.ndarray.impl.buffer.raw that return ByteDataBufferModifier and TypeMethodDescriptionstatic ByteDataBufferRawDataBufferFactory.create(byte[] array, boolean readOnly) protected static ByteDataBufferRawDataBufferFactory.mapNativeBytes(long address, long size, boolean readOnly) -
Uses of ByteDataBuffer in org.tensorflow.ndarray.impl.dense
Methods in org.tensorflow.ndarray.impl.dense that return ByteDataBufferMethods in org.tensorflow.ndarray.impl.dense with parameters of type ByteDataBufferModifier and TypeMethodDescriptionByteDenseNdArray.copyFrom(ByteDataBuffer src) ByteDenseNdArray.copyTo(ByteDataBuffer dst) static ByteNdArrayByteDenseNdArray.create(ByteDataBuffer buffer, Shape shape) Constructors in org.tensorflow.ndarray.impl.dense with parameters of type ByteDataBuffer -
Uses of ByteDataBuffer in org.tensorflow.ndarray.impl.sparse
Methods in org.tensorflow.ndarray.impl.sparse with parameters of type ByteDataBufferModifier and TypeMethodDescriptionByteSparseNdArray.copyFrom(ByteDataBuffer src) ByteSparseNdArray.copyTo(ByteDataBuffer dst) static ByteSparseNdArrayByteSparseNdArray.create(ByteDataBuffer dataBuffer, byte defaultValue, DimensionalSpace dimensions) Creates a new ByteSparseNdArray from a data bufferstatic ByteSparseNdArrayByteSparseNdArray.create(ByteDataBuffer buffer, byte defaultValue, Shape shape) Creates a new empty ByteSparseNdArray from a float data bufferstatic ByteSparseNdArrayByteSparseNdArray.create(ByteDataBuffer dataBuffer, DimensionalSpace dimensions) Creates a new ByteSparseNdArray from a data bufferstatic ByteSparseNdArrayByteSparseNdArray.create(ByteDataBuffer buffer, Shape shape) Creates a new empty ByteSparseNdArray from a float data buffer -
Uses of ByteDataBuffer in org.tensorflow.ndarray.impl.sparse.slice
Methods in org.tensorflow.ndarray.impl.sparse.slice with parameters of type ByteDataBufferModifier and TypeMethodDescriptionByteSparseSlice.copyFrom(ByteDataBuffer src) ByteSparseSlice.copyTo(ByteDataBuffer dst)