| Modifier and Type | Method and Description |
|---|---|
static Tensor.DataType |
Tensor.DataType.forNumber(int value) |
Tensor.DataType |
TensorOrBuilder.getDtype()
The data type of tensor.
|
Tensor.DataType |
Tensor.getDtype()
The data type of tensor.
|
Tensor.DataType |
Tensor.Builder.getDtype()
The data type of tensor.
|
static Tensor.DataType |
Tensor.DataType.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Tensor.DataType |
Tensor.DataType.valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Tensor.DataType |
Tensor.DataType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tensor.DataType[] |
Tensor.DataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Internal.EnumLiteMap<Tensor.DataType> |
Tensor.DataType.internalGetValueMap() |
| Modifier and Type | Method and Description |
|---|---|
Tensor.Builder |
Tensor.Builder.setDtype(Tensor.DataType value)
The data type of tensor.
|
Copyright © 2025 Google LLC. All rights reserved.