RawDataBufferFactory
Stay organized with collections
Save and categorize content based on your preferences.
Factory of raw data buffers
Inherited Methods
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
Public Constructors
public
RawDataBufferFactory
()
Public Methods
public
static
boolean
canBeUsed
()
public
static
IntDataBuffer
create
(int[] array, boolean readOnly)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# RawDataBufferFactory\n\npublic class **RawDataBufferFactory** \nFactory of raw data buffers \n\n### Public Constructors\n\n|---|---------------------------------------------------------------------------------------------------------------------------------|\n| | [RawDataBufferFactory](/jvm/api_docs/java/org/tensorflow/ndarray/impl/buffer/raw/RawDataBufferFactory#RawDataBufferFactory())() |\n\n### Public Methods\n\n|------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static boolean | [canBeUsed](/jvm/api_docs/java/org/tensorflow/ndarray/impl/buffer/raw/RawDataBufferFactory#canBeUsed())() |\n| static [ByteDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/ByteDataBuffer) | [create](/jvm/api_docs/java/org/tensorflow/ndarray/impl/buffer/raw/RawDataBufferFactory#create(byte[], boolean))(byte\\[\\] array, boolean readOnly) |\n| static [IntDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/IntDataBuffer) | [create](/jvm/api_docs/java/org/tensorflow/ndarray/impl/buffer/raw/RawDataBufferFactory#create(int[], boolean))(int\\[\\] array, boolean readOnly) |\n| static [LongDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/LongDataBuffer) | [create](/jvm/api_docs/java/org/tensorflow/ndarray/impl/buffer/raw/RawDataBufferFactory#create(long[], boolean))(long\\[\\] array, boolean readOnly) |\n| static [ShortDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/ShortDataBuffer) | [create](/jvm/api_docs/java/org/tensorflow/ndarray/impl/buffer/raw/RawDataBufferFactory#create(short[], boolean))(short\\[\\] array, boolean readOnly) |\n| static [FloatDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/FloatDataBuffer) | [create](/jvm/api_docs/java/org/tensorflow/ndarray/impl/buffer/raw/RawDataBufferFactory#create(float[], boolean))(float\\[\\] array, boolean readOnly) |\n| static [DoubleDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/DoubleDataBuffer) | [create](/jvm/api_docs/java/org/tensorflow/ndarray/impl/buffer/raw/RawDataBufferFactory#create(double[], boolean))(double\\[\\] array, boolean readOnly) |\n| static [BooleanDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/BooleanDataBuffer) | [create](/jvm/api_docs/java/org/tensorflow/ndarray/impl/buffer/raw/RawDataBufferFactory#create(boolean[], boolean))(boolean\\[\\] array, boolean readOnly) |\n\n### Inherited Methods\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Constructors\n-------------------\n\n#### public\n**RawDataBufferFactory**\n()\n\n\u003cbr /\u003e\n\nPublic Methods\n--------------\n\n#### public static boolean\n**canBeUsed**\n()\n\n\u003cbr /\u003e\n\n#### public static [ByteDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/ByteDataBuffer)\n**create**\n(byte\\[\\] array, boolean readOnly)\n\n\u003cbr /\u003e\n\n#### public static [IntDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/IntDataBuffer)\n**create**\n(int\\[\\] array, boolean readOnly)\n\n\u003cbr /\u003e\n\n#### public static [LongDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/LongDataBuffer)\n**create**\n(long\\[\\] array, boolean readOnly)\n\n\u003cbr /\u003e\n\n#### public static [ShortDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/ShortDataBuffer)\n**create**\n(short\\[\\] array, boolean readOnly)\n\n\u003cbr /\u003e\n\n#### public static [FloatDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/FloatDataBuffer)\n**create**\n(float\\[\\] array, boolean readOnly)\n\n\u003cbr /\u003e\n\n#### public static [DoubleDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/DoubleDataBuffer)\n**create**\n(double\\[\\] array, boolean readOnly)\n\n\u003cbr /\u003e\n\n#### public static [BooleanDataBuffer](/jvm/api_docs/java/org/tensorflow/ndarray/buffer/BooleanDataBuffer)\n**create**\n(boolean\\[\\] array, boolean readOnly)\n\n\u003cbr /\u003e"]]