Interface SavedSliceOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
SavedSlice, SavedSlice.Builder

public interface SavedSliceOrBuilder extends MessageOrBuilder
  • Method Details

    • getName

      String getName()
      Name of the tensor that this slice belongs to. This must be identical to
      the name used to encode the key for this record.
      
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      ByteString getNameBytes()
      Name of the tensor that this slice belongs to. This must be identical to
      the name used to encode the key for this record.
      
      string name = 1;
      Returns:
      The bytes for name.
    • hasSlice

      boolean hasSlice()
      Extent of the slice.  Must have one entry for each of the dimension of the
      tensor that this slice belongs to.
      
      .tensorflow.TensorSliceProto slice = 2;
      Returns:
      Whether the slice field is set.
    • getSlice

      TensorSliceProto getSlice()
      Extent of the slice.  Must have one entry for each of the dimension of the
      tensor that this slice belongs to.
      
      .tensorflow.TensorSliceProto slice = 2;
      Returns:
      The slice.
    • getSliceOrBuilder

      TensorSliceProtoOrBuilder getSliceOrBuilder()
      Extent of the slice.  Must have one entry for each of the dimension of the
      tensor that this slice belongs to.
      
      .tensorflow.TensorSliceProto slice = 2;
    • hasData

      boolean hasData()
      The raw data of the slice is stored as a TensorProto. Only raw data are
      stored (we don't fill in fields such as dtype or tensor_shape).
      
      .tensorflow.TensorProto data = 3;
      Returns:
      Whether the data field is set.
    • getData

      TensorProto getData()
      The raw data of the slice is stored as a TensorProto. Only raw data are
      stored (we don't fill in fields such as dtype or tensor_shape).
      
      .tensorflow.TensorProto data = 3;
      Returns:
      The data.
    • getDataOrBuilder

      TensorProtoOrBuilder getDataOrBuilder()
      The raw data of the slice is stored as a TensorProto. Only raw data are
      stored (we don't fill in fields such as dtype or tensor_shape).
      
      .tensorflow.TensorProto data = 3;