Package | Description |
---|---|
org.tensorflow |
Defines classes to build, save, load and execute TensorFlow models.
|
Modifier and Type | Method and Description |
---|---|
DataType |
Output.dataType()
Returns the DataType of the tensor referred to by this Output.
|
DataType |
Tensor.dataType()
Returns the
DataType of elements stored in the Tensor. |
DataType |
Tensor.dataType()
Returns the
DataType of elements stored in the Tensor. |
DataType |
Output.dataType()
Returns the DataType of the tensor referred to by this Output.
|
static DataType |
DataType.fromClass(Class<?> c)
Returns the DataType of a Tensor whose elements have the type specified by class
c . |
static DataType |
DataType.fromClass(Class<?> c)
Returns the DataType of a Tensor whose elements have the type specified by class
c . |
static DataType |
DataType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType |
DataType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
DataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static DataType[] |
DataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
GraphOperationBuilder |
GraphOperationBuilder.setAttr(String name,
DataType value) |
OperationBuilder |
OperationBuilder.setAttr(String name,
DataType value)
Set the type value of an attribute of the operation being built.
|
OperationBuilder |
OperationBuilder.setAttr(String name,
DataType value)
Set the type value of an attribute of the operation being built.
|
GraphOperationBuilder |
GraphOperationBuilder.setAttr(String name,
DataType value) |
GraphOperationBuilder |
GraphOperationBuilder.setAttr(String name,
DataType[] value) |
OperationBuilder |
OperationBuilder.setAttr(String name,
DataType[] value)
Set the type values of an attribute of the operation being built.
|
OperationBuilder |
OperationBuilder.setAttr(String name,
DataType[] value)
Set the type values of an attribute of the operation being built.
|
GraphOperationBuilder |
GraphOperationBuilder.setAttr(String name,
DataType[] value) |
Copyright © 2022. All rights reserved.