classe final pública TensorInfo
Information about a Tensor necessary for feeding or retrieval.Protobuf tipo
tensorflow.TensorInfo
Classes aninhadas
aula | TensorInfo.Builder | Information about a Tensor necessary for feeding or retrieval. | |
aula | TensorInfo.CompositeTensor | Generic encoding for composite tensors. | |
interface | TensorInfo.CompositeTensorOrBuilder | ||
aula | TensorInfo.CooSparse | For sparse tensors, The COO encoding stores a triple of values, indices, and shape. | |
interface | TensorInfo.CooSparseOrBuilder | ||
enumeração | TensorInfo.EncodingCase |
Constantes
interno | COMPOSITE_TENSOR_FIELD_NUMBER | |
interno | COO_SPARSE_FIELD_NUMBER | |
interno | DTYPE_FIELD_NUMBER | |
interno | NAME_FIELD_NUMBER | |
interno | TENSOR_SHAPE_FIELD_NUMBER |
Métodos Públicos
boleano | é igual (objeto obj) |
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 estático | |
TensorInfo | |
final estático com.google.protobuf.Descriptors.Descriptor | |
Tipo de dados | getDtype () .tensorflow.DataType dtype = 2; |
interno | getDtypeValue () .tensorflow.DataType dtype = 2; |
TensorInfo.EncodingCase | |
Corda | getNome () For dense `Tensor`s, the name of the tensor in the graph. |
com.google.protobuf.ByteString | getNomeBytes () For dense `Tensor`s, the name of the tensor in the graph. |
interno | |
TensorShapeProto | obterTensorShape () 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 | |
boleano | hasCompositeTensor () Generic encoding for CompositeTensors. |
boleano | hasCooSparse () There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). |
boleano | hasTensorShape () The static shape should be recorded here, to the extent that it can be known in advance. |
interno | código hash () |
booleano final | |
TensorInfo.Builder estático | newBuilder (protótipo TensorInfo ) |
TensorInfo.Builder estático | |
TensorInfo.Builder | |
TensorInfo estático | parseDelimitedFrom (entrada InputStream) |
TensorInfo estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo estático | parseFrom (dados de ByteBuffer) |
TensorInfo estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo estático | parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
TensorInfo estático | parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo estático | parseFrom (dados com.google.protobuf.ByteString) |
TensorInfo estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo estático | parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
TensorInfo.Builder | |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
int final estático público COMPOSITE_TENSOR_FIELD_NUMBER
Valor Constante: 5
público estático final int COO_SPARSE_FIELD_NUMBER
Valor Constante: 4
público estático final int DTYPE_FIELD_NUMBER
Valor Constante: 2
int final estático público NAME_FIELD_NUMBER
Valor Constante: 1
público estático final int TENSOR_SHAPE_FIELD_NUMBER
Valor Constante: 3
Métodos Públicos
booleano público é igual (Object obj)
public TensorInfo.CompositeTensor getCompositeTensor ()
Generic encoding for CompositeTensors.
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;
público TensorInfo.CompositeTensorOrBuilder getCompositeTensorOrBuilder ()
Generic encoding for CompositeTensors.
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;
público 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;
público 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;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público int getDtypeValue ()
.tensorflow.DataType dtype = 2;
String pública getNome ()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;
público com.google.protobuf.ByteString getNameBytes ()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;
público getParserForType ()
público 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;
público 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;
final público com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasCompositeTensor booleano público ()
Generic encoding for CompositeTensors.
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;
hasCooSparse booleano público ()
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;
hasTensorShape booleano público ()
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;
hashCode int público ()
público final booleano isInitialized ()
public static TensorInfo parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static TensorInfo parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static TensorInfo parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static TensorInfo parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
TensorInfo estático público parseFrom (dados com.google.protobuf.ByteString)
Lança
InvalidProtocolBufferException |
---|
public static TensorInfo parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static TensorInfo parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|