Interface TensorInfo.CooSparseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TensorInfo.CooSparse, TensorInfo.CooSparse.Builder
Enclosing class:
TensorInfo

public static interface TensorInfo.CooSparseOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getDenseShapeTensorName()
    The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here.
    com.google.protobuf.ByteString getDenseShapeTensorNameBytes()
    The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here.
    java.lang.String getIndicesTensorName()
    The indices Tensor must have dtype int64 and shape [?, ?].
    com.google.protobuf.ByteString getIndicesTensorNameBytes()
    The indices Tensor must have dtype int64 and shape [?, ?].
    java.lang.String getValuesTensorName()
    The shape of the values Tensor is [?].
    com.google.protobuf.ByteString getValuesTensorNameBytes()
    The shape of the values Tensor is [?].

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getValuesTensorName

      java.lang.String getValuesTensorName()
       The shape of the values Tensor is [?].  Its dtype must be the dtype of
       the SparseTensor as a whole, given in the enclosing TensorInfo.
       
      string values_tensor_name = 1;
      Returns:
      The valuesTensorName.
    • getValuesTensorNameBytes

      com.google.protobuf.ByteString getValuesTensorNameBytes()
       The shape of the values Tensor is [?].  Its dtype must be the dtype of
       the SparseTensor as a whole, given in the enclosing TensorInfo.
       
      string values_tensor_name = 1;
      Returns:
      The bytes for valuesTensorName.
    • getIndicesTensorName

      java.lang.String getIndicesTensorName()
       The indices Tensor must have dtype int64 and shape [?, ?].
       
      string indices_tensor_name = 2;
      Returns:
      The indicesTensorName.
    • getIndicesTensorNameBytes

      com.google.protobuf.ByteString getIndicesTensorNameBytes()
       The indices Tensor must have dtype int64 and shape [?, ?].
       
      string indices_tensor_name = 2;
      Returns:
      The bytes for indicesTensorName.
    • getDenseShapeTensorName

      java.lang.String getDenseShapeTensorName()
       The dynamic logical shape represented by the SparseTensor is recorded in
       the Tensor referenced here.  It must have dtype int64 and shape [?].
       
      string dense_shape_tensor_name = 3;
      Returns:
      The denseShapeTensorName.
    • getDenseShapeTensorNameBytes

      com.google.protobuf.ByteString getDenseShapeTensorNameBytes()
       The dynamic logical shape represented by the SparseTensor is recorded in
       the Tensor referenced here.  It must have dtype int64 and shape [?].
       
      string dense_shape_tensor_name = 3;
      Returns:
      The bytes for denseShapeTensorName.