classe final pública TensorInfo
Information about a Tensor necessary for feeding or retrieval.
tensorflow.TensorInfo
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 | ||
enum | 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étodos Públicos
boleano | igual a (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 static com.google.protobuf.Descriptors.Descriptor | |
Tipo de dados | getDtype () .tensorflow.DataType dtype = 2; |
int | getDtypeValue () .tensorflow.DataType dtype = 2; |
TensorInfo.EncodingCase | |
Fragmento | getName () 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 | |
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. |
int | hashCode () |
final booleano | |
TensorInfo.Builder estático | newBuilder (protótipo TensorInfo ) |
TensorInfo.Builder estático | newBuilder () |
TensorInfo.Builder | |
TensorInfo estático | parseDelimitedFrom (InputStream input) |
TensorInfo estático | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo estático | parseFrom (dados ByteBuffer) |
TensorInfo estático | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo estático | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo estático | parseFrom (com.google.protobuf.CodedInputStream input) |
TensorInfo estático | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo estático | parseFrom (com.google.protobuf.ByteString data) |
TensorInfo estático | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo estático | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
TensorInfo.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int COMPOSITE_TENSOR_FIELD_NUMBER
Valor constante: 5
public static final int COO_SPARSE_FIELD_NUMBER
Valor constante: 4
public static final int DTYPE_FIELD_NUMBER
Valor constante: 2
public static final int NAME_FIELD_NUMBER
Valor Constante: 1
public static final int TENSOR_SHAPE_FIELD_NUMBER
Valor Constante: 3
Métodos Públicos
public boolean equals (Object 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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getDtypeValue ()
.tensorflow.DataType dtype = 2;
public String 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;
público 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 boolean hasCompositeTensor ()
Generic encoding for CompositeTensors.
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;
public boolean 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 boolean 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;
public int hashCode ()
public final boolean isInitialized ()
public static TensorInfo parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static TensorInfo parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static TensorInfo parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static TensorInfo parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static TensorInfo parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static TensorInfo parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static TensorInfo parseFrom (com.google.protobuf.ByteString data, 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 |
---|