Have a question? Connect with the community at the TensorFlow Forum Visit Forum

RawDataBufferFactory

public class RawDataBufferFactory

Factory of raw data buffers

Public Constructors

Public Methods

static boolean
static ByteDataBuffer
create (byte[] array, boolean readOnly)
static IntDataBuffer
create (int[] array, boolean readOnly)
static LongDataBuffer
create (long[] array, boolean readOnly)
static ShortDataBuffer
create (short[] array, boolean readOnly)
static FloatDataBuffer
create (float[] array, boolean readOnly)
static DoubleDataBuffer
create (double[] array, boolean readOnly)
static BooleanDataBuffer
create (boolean[] array, boolean readOnly)

Inherited Methods

Public Constructors

public RawDataBufferFactory ()

Public Methods

public static boolean canBeUsed ()

public static ByteDataBuffer create (byte[] array, boolean readOnly)

public static IntDataBuffer create (int[] array, boolean readOnly)

public static LongDataBuffer create (long[] array, boolean readOnly)

public static ShortDataBuffer create (short[] array, boolean readOnly)

public static FloatDataBuffer create (float[] array, boolean readOnly)

public static DoubleDataBuffer create (double[] array, boolean readOnly)

public static BooleanDataBuffer create (boolean[] array, boolean readOnly)