Package | Description |
---|---|
org.tensorflow.op | |
org.tensorflow.op.core |
Modifier and Type | Method and Description |
---|---|
Constant<Boolean> |
Ops.constant(boolean data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean[] data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean[] data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean[][] data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean[][] data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean[][][] data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean[][][] data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean[][][][] data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean[][][][] data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean[][][][][] data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean[][][][][] data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean[][][][][][] data)
Builds an
Constant operation |
Constant<Boolean> |
Ops.constant(boolean[][][][][][] data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(byte[] data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(byte[] data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(byte[][] data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(byte[][] data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(byte[][][] data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(byte[][][] data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(byte[][][][] data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(byte[][][][] data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(byte[][][][][] data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(byte[][][][][] data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(byte[][][][][][] data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(byte[][][][][][] data)
Builds an
Constant operation |
<T> Constant<T> |
Ops.constant(Class<T> type,
long[] shape,
ByteBuffer data)
Builds an
Constant operation |
<T> Constant<T> |
Ops.constant(Class<T> type,
long[] shape,
ByteBuffer data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double[] data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double[] data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double[][] data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double[][] data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double[][][] data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double[][][] data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double[][][][] data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double[][][][] data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double[][][][][] data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double[][][][][] data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double[][][][][][] data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(double[][][][][][] data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float[] data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float[] data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float[][] data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float[][] data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float[][][] data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float[][][] data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float[][][][] data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float[][][][] data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float[][][][][] data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float[][][][][] data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float[][][][][][] data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(float[][][][][][] data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int[] data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int[] data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int[][] data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int[][] data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int[][][] data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int[][][] data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int[][][][] data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int[][][][] data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int[][][][][] data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int[][][][][] data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int[][][][][][] data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(int[][][][][][] data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[] data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[] data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[][] data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[][] data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[][][] data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[][][] data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[][][][] data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[][][][] data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[][][][][] data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[][][][][] data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[][][][][][] data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[][][][][][] data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(long[] shape,
DoubleBuffer data)
Builds an
Constant operation |
Constant<Double> |
Ops.constant(long[] shape,
DoubleBuffer data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(long[] shape,
FloatBuffer data)
Builds an
Constant operation |
Constant<Float> |
Ops.constant(long[] shape,
FloatBuffer data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(long[] shape,
IntBuffer data)
Builds an
Constant operation |
Constant<Integer> |
Ops.constant(long[] shape,
IntBuffer data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[] shape,
LongBuffer data)
Builds an
Constant operation |
Constant<Long> |
Ops.constant(long[] shape,
LongBuffer data)
Builds an
Constant operation |
<T> Constant<T> |
Ops.constant(Object object,
Class<T> type)
Builds an
Constant operation |
<T> Constant<T> |
Ops.constant(Object object,
Class<T> type)
Builds an
Constant operation |
Constant<String> |
Ops.constant(String data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(String data)
Builds an
Constant operation |
Constant<String> |
Ops.constant(String data,
Charset charset)
Builds an
Constant operation |
Constant<String> |
Ops.constant(String data,
Charset charset)
Builds an
Constant operation |
Modifier and Type | Method and Description |
---|---|
static Constant<Boolean> |
Constant.create(Scope scope,
boolean data)
Creates a constant containing a single
boolean element. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean data)
Creates a constant containing a single
boolean element. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean[] data)
Creates a rank-1 constant of
boolean elements. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean[] data)
Creates a rank-1 constant of
boolean elements. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean[][] data)
Creates a rank-2 constant of
boolean elements. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean[][] data)
Creates a rank-2 constant of
boolean elements. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean[][][] data)
Creates a rank-3 constant of
boolean elements. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean[][][] data)
Creates a rank-3 constant of
boolean elements. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean[][][][] data)
Creates a rank-4 constant of
boolean elements. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean[][][][] data)
Creates a rank-4 constant of
boolean elements. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean[][][][][] data)
Creates a rank-5 constant of
boolean elements. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean[][][][][] data)
Creates a rank-5 constant of
boolean elements. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean[][][][][][] data)
Creates a rank-6 constant of
boolean elements. |
static Constant<Boolean> |
Constant.create(Scope scope,
boolean[][][][][][] data)
Creates a rank-6 constant of
boolean elements. |
static Constant<String> |
Constant.create(Scope scope,
byte[] data)
Creates a constant containing a single
String element, represented as an array of byte s. |
static Constant<String> |
Constant.create(Scope scope,
byte[] data)
Creates a constant containing a single
String element, represented as an array of byte s. |
static Constant<String> |
Constant.create(Scope scope,
byte[][] data)
Creates a rank-1 constant of
String elements, each represented as an array of byte s. |
static Constant<String> |
Constant.create(Scope scope,
byte[][] data)
Creates a rank-1 constant of
String elements, each represented as an array of byte s. |
static Constant<String> |
Constant.create(Scope scope,
byte[][][] data)
Creates a rank-2 constant of
String elements, each represented as an array of byte s. |
static Constant<String> |
Constant.create(Scope scope,
byte[][][] data)
Creates a rank-2 constant of
String elements, each represented as an array of byte s. |
static Constant<String> |
Constant.create(Scope scope,
byte[][][][] data)
Creates a rank-3 constant of
String elements, each represented as an array of byte s. |
static Constant<String> |
Constant.create(Scope scope,
byte[][][][] data)
Creates a rank-3 constant of
String elements, each represented as an array of byte s. |
static Constant<String> |
Constant.create(Scope scope,
byte[][][][][] data)
Creates a rank-4 constant of
String elements, each represented as an array of byte s. |
static Constant<String> |
Constant.create(Scope scope,
byte[][][][][] data)
Creates a rank-4 constant of
String elements, each represented as an array of byte s. |
static Constant<String> |
Constant.create(Scope scope,
byte[][][][][][] data)
Creates a rank-5 constant of
String elements, each represented as an array of byte s. |
static Constant<String> |
Constant.create(Scope scope,
byte[][][][][][] data)
Creates a rank-5 constant of
String elements, each represented as an array of byte s. |
static <T> Constant<T> |
Constant.create(Scope scope,
Class<T> type,
long[] shape,
ByteBuffer data)
Create a constant with data from the given buffer.
|
static <T> Constant<T> |
Constant.create(Scope scope,
Class<T> type,
long[] shape,
ByteBuffer data)
Create a constant with data from the given buffer.
|
static Constant<Double> |
Constant.create(Scope scope,
double data)
Creates a constant containing a single
double element. |
static Constant<Double> |
Constant.create(Scope scope,
double data)
Creates a constant containing a single
double element. |
static Constant<Double> |
Constant.create(Scope scope,
double[] data)
Creates a rank-1 constant of
double elements. |
static Constant<Double> |
Constant.create(Scope scope,
double[] data)
Creates a rank-1 constant of
double elements. |
static Constant<Double> |
Constant.create(Scope scope,
double[][] data)
Creates a rank-2 constant of
double elements. |
static Constant<Double> |
Constant.create(Scope scope,
double[][] data)
Creates a rank-2 constant of
double elements. |
static Constant<Double> |
Constant.create(Scope scope,
double[][][] data)
Creates a rank-3 constant of
double elements. |
static Constant<Double> |
Constant.create(Scope scope,
double[][][] data)
Creates a rank-3 constant of
double elements. |
static Constant<Double> |
Constant.create(Scope scope,
double[][][][] data)
Creates a rank-4 constant of
double elements. |
static Constant<Double> |
Constant.create(Scope scope,
double[][][][] data)
Creates a rank-4 constant of
double elements. |
static Constant<Double> |
Constant.create(Scope scope,
double[][][][][] data)
Creates a rank-5 constant of
double elements. |
static Constant<Double> |
Constant.create(Scope scope,
double[][][][][] data)
Creates a rank-5 constant of
double elements. |
static Constant<Double> |
Constant.create(Scope scope,
double[][][][][][] data)
Creates a rank-6 constant of
double elements. |
static Constant<Double> |
Constant.create(Scope scope,
double[][][][][][] data)
Creates a rank-6 constant of
double elements. |
static Constant<Float> |
Constant.create(Scope scope,
float data)
Creates a constant containing a single
float element. |
static Constant<Float> |
Constant.create(Scope scope,
float data)
Creates a constant containing a single
float element. |
static Constant<Float> |
Constant.create(Scope scope,
float[] data)
Creates a rank-1 constant of
float elements. |
static Constant<Float> |
Constant.create(Scope scope,
float[] data)
Creates a rank-1 constant of
float elements. |
static Constant<Float> |
Constant.create(Scope scope,
float[][] data)
Creates a rank-2 constant of
float elements. |
static Constant<Float> |
Constant.create(Scope scope,
float[][] data)
Creates a rank-2 constant of
float elements. |
static Constant<Float> |
Constant.create(Scope scope,
float[][][] data)
Creates a rank-3 constant of
float elements. |
static Constant<Float> |
Constant.create(Scope scope,
float[][][] data)
Creates a rank-3 constant of
float elements. |
static Constant<Float> |
Constant.create(Scope scope,
float[][][][] data)
Creates a rank-4 constant of
float elements. |
static Constant<Float> |
Constant.create(Scope scope,
float[][][][] data)
Creates a rank-4 constant of
float elements. |
static Constant<Float> |
Constant.create(Scope scope,
float[][][][][] data)
Creates a rank-5 constant of
float elements. |
static Constant<Float> |
Constant.create(Scope scope,
float[][][][][] data)
Creates a rank-5 constant of
float elements. |
static Constant<Float> |
Constant.create(Scope scope,
float[][][][][][] data)
Creates a rank-6 constant of
float elements. |
static Constant<Float> |
Constant.create(Scope scope,
float[][][][][][] data)
Creates a rank-6 constant of
float elements. |
static Constant<Integer> |
Constant.create(Scope scope,
int data)
Creates a constant containing a single
int element. |
static Constant<Integer> |
Constant.create(Scope scope,
int data)
Creates a constant containing a single
int element. |
static Constant<Integer> |
Constant.create(Scope scope,
int[] data)
Creates a rank-1 constant of
int elements. |
static Constant<Integer> |
Constant.create(Scope scope,
int[] data)
Creates a rank-1 constant of
int elements. |
static Constant<Integer> |
Constant.create(Scope scope,
int[][] data)
Creates a rank-2 constant of
int elements. |
static Constant<Integer> |
Constant.create(Scope scope,
int[][] data)
Creates a rank-2 constant of
int elements. |
static Constant<Integer> |
Constant.create(Scope scope,
int[][][] data)
Creates a rank-3 constant of
int elements. |
static Constant<Integer> |
Constant.create(Scope scope,
int[][][] data)
Creates a rank-3 constant of
int elements. |
static Constant<Integer> |
Constant.create(Scope scope,
int[][][][] data)
Creates a rank-4 constant of
int elements. |
static Constant<Integer> |
Constant.create(Scope scope,
int[][][][] data)
Creates a rank-4 constant of
int elements. |
static Constant<Integer> |
Constant.create(Scope scope,
int[][][][][] data)
Creates a rank-5 constant of
int elements. |
static Constant<Integer> |
Constant.create(Scope scope,
int[][][][][] data)
Creates a rank-5 constant of
int elements. |
static Constant<Integer> |
Constant.create(Scope scope,
int[][][][][][] data)
Creates a rank-6 constant of
int elements. |
static Constant<Integer> |
Constant.create(Scope scope,
int[][][][][][] data)
Creates a rank-6 constant of
int elements. |
static Constant<Long> |
Constant.create(Scope scope,
long data)
Creates a constant containing a single
long element. |
static Constant<Long> |
Constant.create(Scope scope,
long data)
Creates a constant containing a single
long element. |
static Constant<Long> |
Constant.create(Scope scope,
long[] data)
Creates a rank-1 constant of
long elements. |
static Constant<Long> |
Constant.create(Scope scope,
long[] data)
Creates a rank-1 constant of
long elements. |
static Constant<Long> |
Constant.create(Scope scope,
long[][] data)
Creates a rank-2 constant of
long elements. |
static Constant<Long> |
Constant.create(Scope scope,
long[][] data)
Creates a rank-2 constant of
long elements. |
static Constant<Long> |
Constant.create(Scope scope,
long[][][] data)
Creates a rank-3 constant of
long elements. |
static Constant<Long> |
Constant.create(Scope scope,
long[][][] data)
Creates a rank-3 constant of
long elements. |
static Constant<Long> |
Constant.create(Scope scope,
long[][][][] data)
Creates a rank-4 constant of
long elements. |
static Constant<Long> |
Constant.create(Scope scope,
long[][][][] data)
Creates a rank-4 constant of
long elements. |
static Constant<Long> |
Constant.create(Scope scope,
long[][][][][] data)
Creates a rank-5 constant of
long elements. |
static Constant<Long> |
Constant.create(Scope scope,
long[][][][][] data)
Creates a rank-5 constant of
long elements. |
static Constant<Long> |
Constant.create(Scope scope,
long[][][][][][] data)
Creates a rank-6 constant of
long elements. |
static Constant<Long> |
Constant.create(Scope scope,
long[][][][][][] data)
Creates a rank-6 constant of
long elements. |
static Constant<Double> |
Constant.create(Scope scope,
long[] shape,
DoubleBuffer data)
Create a
DataType.DOUBLE constant with data from the given buffer. |
static Constant<Double> |
Constant.create(Scope scope,
long[] shape,
DoubleBuffer data)
Create a
DataType.DOUBLE constant with data from the given buffer. |
static Constant<Float> |
Constant.create(Scope scope,
long[] shape,
FloatBuffer data)
Create a
DataType.FLOAT constant with data from the given buffer. |
static Constant<Float> |
Constant.create(Scope scope,
long[] shape,
FloatBuffer data)
Create a
DataType.FLOAT constant with data from the given buffer. |
static Constant<Integer> |
Constant.create(Scope scope,
long[] shape,
IntBuffer data)
Create a
DataType.INT32 constant with data from the given buffer. |
static Constant<Integer> |
Constant.create(Scope scope,
long[] shape,
IntBuffer data)
Create a
DataType.INT32 constant with data from the given buffer. |
static Constant<Long> |
Constant.create(Scope scope,
long[] shape,
LongBuffer data)
Create a
DataType.INT64 constant with data from the given buffer. |
static Constant<Long> |
Constant.create(Scope scope,
long[] shape,
LongBuffer data)
Create a
DataType.INT64 constant with data from the given buffer. |
static <T> Constant<T> |
Constant.create(Scope scope,
Object object,
Class<T> type)
Create a constant from a Java object.
|
static <T> Constant<T> |
Constant.create(Scope scope,
Object object,
Class<T> type)
Create a constant from a Java object.
|
static Constant<String> |
Constant.create(Scope scope,
String data)
Creates a
String constant using the default, UTF-8 encoding. |
static Constant<String> |
Constant.create(Scope scope,
String data)
Creates a
String constant using the default, UTF-8 encoding. |
static Constant<String> |
Constant.create(Scope scope,
String data,
Charset charset)
Creates a
String constant using a specified encoding. |
static Constant<String> |
Constant.create(Scope scope,
String data,
Charset charset)
Creates a
String constant using a specified encoding. |
Copyright © 2022. All rights reserved.