Interface TensorRepresentation.SparseTensorOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      FixedShape getDenseShape()
      The dense shape of the resulting SparseTensor (does not include the batch dimension).
      FixedShapeOrBuilder getDenseShapeOrBuilder()
      The dense shape of the resulting SparseTensor (does not include the batch dimension).
      String getIndexColumnNames​(int index)
      The columns constitute the coordinates of the values.
      com.google.protobuf.ByteString getIndexColumnNamesBytes​(int index)
      The columns constitute the coordinates of the values.
      int getIndexColumnNamesCount()
      The columns constitute the coordinates of the values.
      List<String> getIndexColumnNamesList()
      The columns constitute the coordinates of the values.
      String getValueColumnName()
      The column that contains the values.
      com.google.protobuf.ByteString getValueColumnNameBytes()
      The column that contains the values.
      boolean hasDenseShape()
      The dense shape of the resulting SparseTensor (does not include the batch dimension).
      boolean hasValueColumnName()
      The column that contains the values.
      • 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 Detail

      • hasDenseShape

        boolean hasDenseShape()
         The dense shape of the resulting SparseTensor (does not include the batch
         dimension).
         
        optional .tensorflow.metadata.v0.FixedShape dense_shape = 1;
        Returns:
        Whether the denseShape field is set.
      • getDenseShape

        FixedShape getDenseShape()
         The dense shape of the resulting SparseTensor (does not include the batch
         dimension).
         
        optional .tensorflow.metadata.v0.FixedShape dense_shape = 1;
        Returns:
        The denseShape.
      • getDenseShapeOrBuilder

        FixedShapeOrBuilder getDenseShapeOrBuilder()
         The dense shape of the resulting SparseTensor (does not include the batch
         dimension).
         
        optional .tensorflow.metadata.v0.FixedShape dense_shape = 1;
      • getIndexColumnNamesList

        List<String> getIndexColumnNamesList()
         The columns constitute the coordinates of the values.
         indices_column[i][j] contains the coordinate of the i-th dimension of the
         j-th value.
         
        repeated string index_column_names = 2;
        Returns:
        A list containing the indexColumnNames.
      • getIndexColumnNamesCount

        int getIndexColumnNamesCount()
         The columns constitute the coordinates of the values.
         indices_column[i][j] contains the coordinate of the i-th dimension of the
         j-th value.
         
        repeated string index_column_names = 2;
        Returns:
        The count of indexColumnNames.
      • getIndexColumnNames

        String getIndexColumnNames​(int index)
         The columns constitute the coordinates of the values.
         indices_column[i][j] contains the coordinate of the i-th dimension of the
         j-th value.
         
        repeated string index_column_names = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The indexColumnNames at the given index.
      • getIndexColumnNamesBytes

        com.google.protobuf.ByteString getIndexColumnNamesBytes​(int index)
         The columns constitute the coordinates of the values.
         indices_column[i][j] contains the coordinate of the i-th dimension of the
         j-th value.
         
        repeated string index_column_names = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the indexColumnNames at the given index.
      • hasValueColumnName

        boolean hasValueColumnName()
         The column that contains the values.
         
        optional string value_column_name = 3;
        Returns:
        Whether the valueColumnName field is set.
      • getValueColumnName

        String getValueColumnName()
         The column that contains the values.
         
        optional string value_column_name = 3;
        Returns:
        The valueColumnName.
      • getValueColumnNameBytes

        com.google.protobuf.ByteString getValueColumnNameBytes()
         The column that contains the values.
         
        optional string value_column_name = 3;
        Returns:
        The bytes for valueColumnName.