Have a question? Connect with the community at the TensorFlow Forum Visit Forum

TensorInfoOrBuilder

public interface TensorInfoOrBuilder
Known Indirect Subclasses

Public Methods

abstract TensorInfo.CompositeTensor
getCompositeTensor ()
 Generic encoding for CompositeTensors.
abstract TensorInfo.CompositeTensorOrBuilder
getCompositeTensorOrBuilder ()
 Generic encoding for CompositeTensors.
abstract TensorInfo.CooSparse
getCooSparse ()
 There are many possible encodings of sparse matrices
 (https://en.wikipedia.org/wiki/Sparse_matrix).
abstract TensorInfo.CooSparseOrBuilder
getCooSparseOrBuilder ()
 There are many possible encodings of sparse matrices
 (https://en.wikipedia.org/wiki/Sparse_matrix).
abstract DataType
getDtype ()
.tensorflow.DataType dtype = 2;
abstract int
getDtypeValue ()
.tensorflow.DataType dtype = 2;
abstract TensorInfo.EncodingCase
abstract String
getName ()
 For dense `Tensor`s, the name of the tensor in the graph.
abstract com.google.protobuf.ByteString
getNameBytes ()
 For dense `Tensor`s, the name of the tensor in the graph.
abstract TensorShapeProto
getTensorShape ()
 The static shape should be recorded here, to the extent that it can
 be known in advance.
abstract TensorShapeProtoOrBuilder
getTensorShapeOrBuilder ()
 The static shape should be recorded here, to the extent that it can
 be known in advance.
abstract boolean
hasCompositeTensor ()
 Generic encoding for CompositeTensors.
abstract boolean
hasCooSparse ()
 There are many possible encodings of sparse matrices
 (https://en.wikipedia.org/wiki/Sparse_matrix).
abstract boolean
hasTensorShape ()
 The static shape should be recorded here, to the extent that it can
 be known in advance.

Public Methods

public abstract TensorInfo.CompositeTensor getCompositeTensor ()

 Generic encoding for CompositeTensors.
 
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;

public abstract TensorInfo.CompositeTensorOrBuilder getCompositeTensorOrBuilder ()

 Generic encoding for CompositeTensors.
 
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;

public abstract 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 abstract 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 abstract DataType getDtype ()

.tensorflow.DataType dtype = 2;

public abstract int getDtypeValue ()

.tensorflow.DataType dtype = 2;

public abstract TensorInfo.EncodingCase getEncodingCase ()

public abstract String getName ()

 For dense `Tensor`s, the name of the tensor in the graph.
 
string name = 1;

public abstract com.google.protobuf.ByteString getNameBytes ()

 For dense `Tensor`s, the name of the tensor in the graph.
 
string name = 1;

public abstract 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 abstract 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 abstract boolean hasCompositeTensor ()

 Generic encoding for CompositeTensors.
 
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;

public abstract 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 abstract 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;