org.tensorflow.framework.TensorInfoOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/meta_graph.proto
package org.tensorflow.framework;
public interface TensorInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.TensorInfo)
org.nd4j.shade.protobuf.MessageOrBuilder {
/**
*
* For dense `Tensor`s, the name of the tensor in the graph.
*
*
* string name = 1;
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
* For dense `Tensor`s, the name of the tensor in the graph.
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* For dense `Tensor`s, the name of the tensor in the graph.
*
*
* string name = 1;
* @return The bytes for name.
*/
org.nd4j.shade.protobuf.ByteString
getNameBytes();
/**
*
* 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;
* @return Whether the cooSparse field is set.
*/
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;
* @return The cooSparse.
*/
org.tensorflow.framework.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;
*/
org.tensorflow.framework.TensorInfo.CooSparseOrBuilder getCooSparseOrBuilder();
/**
* .tensorflow.DataType dtype = 2;
* @return The enum numeric value on the wire for dtype.
*/
int getDtypeValue();
/**
* .tensorflow.DataType dtype = 2;
* @return The dtype.
*/
org.tensorflow.framework.DataType getDtype();
/**
*
* 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;
* @return Whether the tensorShape field is set.
*/
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;
* @return The tensorShape.
*/
org.tensorflow.framework.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;
*/
org.tensorflow.framework.TensorShapeProtoOrBuilder getTensorShapeOrBuilder();
public org.tensorflow.framework.TensorInfo.EncodingCase getEncodingCase();
}