public interface TensorInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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).
|
DataType |
getDtype()
.tensorflow.DataType dtype = 2; |
int |
getDtypeValue()
.tensorflow.DataType dtype = 2; |
TensorInfo.EncodingCase |
getEncodingCase() |
String |
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.
|
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.
|
boolean |
hasCooSparse()
There are many possible encodings of sparse matrices
(https://en.wikipedia.org/wiki/Sparse_matrix).
|
boolean |
hasTensorShape()
The static shape should be recorded here, to the extent that it can
be known in advance.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getName()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;
com.google.protobuf.ByteString getNameBytes()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;
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;
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;
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;
int getDtypeValue()
.tensorflow.DataType dtype = 2;
DataType getDtype()
.tensorflow.DataType dtype = 2;
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;
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;
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;
TensorInfo.EncodingCase getEncodingCase()
Copyright © 2015–2019. All rights reserved.