classe finale publique TensorInfo
Information about a Tensor necessary for feeding or retrieval.
tensorflow.TensorInfo
de type Protobuf.TensorInfo Classes imbriquées
classe | TensorInfo.Builder | Information about a Tensor necessary for feeding or retrieval. | |
classe | TensorInfo.CompositeTensor | Generic encoding for composite tensors. | |
interface | TensorInfo.CompositeTensorOrBuilder | ||
classe | TensorInfo.CooSparse | For sparse tensors, The COO encoding stores a triple of values, indices, and shape. | |
interface | TensorInfo.CooSparseOrBuilder | ||
énumération | TensorInfo.EncodingCase |
Constantes
int | COMPOSITE_TENSOR_FIELD_NUMBER | |
int | COO_SPARSE_FIELD_NUMBER | |
int | DTYPE_FIELD_NUMBER | |
int | NAME_FIELD_NUMBER | |
int | TENSOR_SHAPE_FIELD_NUMBER |
Méthodes publiques
booléen | est égal (Obj objet) |
TensorInfo.CompositeTensor | getCompositeTensor () Generic encoding for CompositeTensors. |
TensorInfo.CompositeTensorOrBuilder | getCompositeTensorOrBuilder () Generic encoding for CompositeTensors. |
TensorInfo.CooSparse | getCooSparse () There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). |
TensorInfo.CooSparseOrBuilder | getCooSparseOrBuilder () There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). |
TensorInfo statique | |
TensorInfo | |
final statique com.google.protobuf.Descriptors.Descriptor | |
Type de données | getDtype () .tensorflow.DataType dtype = 2; |
int | getDtypeValue () .tensorflow.DataType dtype = 2; |
TensorInfo.EncodingCase | |
Chaîne | obtenirNom () For dense `Tensor`s, the name of the tensor in the graph. |
com.google.protobuf.ByteString | getNameBytes () For dense `Tensor`s, the name of the tensor in the graph. |
int | |
TensorShapeProto | getTensorShape () The static shape should be recorded here, to the extent that it can be known in advance. |
TensorShapeProtoOrBuilder | getTensorShapeOrBuilder () The static shape should be recorded here, to the extent that it can be known in advance. |
final com.google.protobuf.UnknownFieldSet | |
booléen | hasCompositeTensor () Generic encoding for CompositeTensors. |
booléen | hasCooSparse () There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). |
booléen | hasTensorShape () The static shape should be recorded here, to the extent that it can be known in advance. |
int | |
booléen final | |
TensorInfo.Builder statique | newBuilder (prototype TensorInfo ) |
TensorInfo.Builder statique | |
TensorInfo.Builder | |
TensorInfo statique | parseDelimitedFrom (entrée InputStream) |
TensorInfo statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo statique | parseFrom (données ByteBuffer) |
TensorInfo statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
TensorInfo statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo statique | parseFrom (données com.google.protobuf.ByteString) |
TensorInfo statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
TensorInfo.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int COMPOSITE_TENSOR_FIELD_NUMBER
Valeur constante : 5
public statique final int COO_SPARSE_FIELD_NUMBER
Valeur constante : 4
public statique final int DTYPE_FIELD_NUMBER
Valeur constante : 2
public statique final entier NAME_FIELD_NUMBER
Valeur constante : 1
public statique final int TENSOR_SHAPE_FIELD_NUMBER
Valeur constante : 3
Méthodes publiques
public booléen égal (Objet obj)
public TensorInfo.CompositeTensor getCompositeTensor ()
Generic encoding for CompositeTensors.
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;
public TensorInfo.CompositeTensorOrBuilder getCompositeTensorOrBuilder ()
Generic encoding for CompositeTensors.
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;
public TensorInfo.CooSparse getCooSparse ()
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;
public TensorInfo.CooSparseOrBuilder getCooSparseOrBuilder ()
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getDtypeValue ()
.tensorflow.DataType dtype = 2;
chaîne publique getName ()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;
publique getParserForType ()
public int getSerializedSize ()
public TensorShapeProto getTensorShape ()
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;
public TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public booléen hasCompositeTensor ()
Generic encoding for CompositeTensors.
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;
public booléen hasCooSparse ()
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;
public booléen hasTensorShape ()
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;
code de hachage int public ()
public final booléen isInitialized ()
public static TensorInfo parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static TensorInfo parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static TensorInfo parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique TensorInfo parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
public static TensorInfo parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique TensorInfo parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public static TensorInfo parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
TensorInfo parseFrom statique public (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|