SavedSlice.Builder

public static final class SavedSlice.Builder

 Saved tensor slice: it stores the name of the tensors, the slice, and the
 raw data.
 
Protobuf type tensorflow.SavedSlice

Public Methods

SavedSlice.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SavedSlice
SavedSlice
SavedSlice.Builder
SavedSlice.Builder
clearData ()
 The raw data of the slice is stored as a TensorProto.
SavedSlice.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
SavedSlice.Builder
clearName ()
 Name of the tensor that this slice belongs to.
SavedSlice.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
SavedSlice.Builder
clearSlice ()
 Extent of the slice.
SavedSlice.Builder
TensorProto
getData ()
 The raw data of the slice is stored as a TensorProto.
TensorProto.Builder
getDataBuilder ()
 The raw data of the slice is stored as a TensorProto.
TensorProtoOrBuilder
getDataOrBuilder ()
 The raw data of the slice is stored as a TensorProto.
SavedSlice
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getName ()
 Name of the tensor that this slice belongs to.
com.google.protobuf.ByteString
getNameBytes ()
 Name of the tensor that this slice belongs to.
TensorSliceProto
getSlice ()
 Extent of the slice.
TensorSliceProto.Builder
getSliceBuilder ()
 Extent of the slice.
TensorSliceProtoOrBuilder
getSliceOrBuilder ()
 Extent of the slice.
boolean
hasData ()
 The raw data of the slice is stored as a TensorProto.
boolean
hasSlice ()
 Extent of the slice.
final boolean
SavedSlice.Builder
mergeData ( TensorProto value)
 The raw data of the slice is stored as a TensorProto.
SavedSlice.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SavedSlice.Builder
mergeFrom (com.google.protobuf.Message other)
SavedSlice.Builder
mergeSlice ( TensorSliceProto value)
 Extent of the slice.
final SavedSlice.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
SavedSlice.Builder
setData ( TensorProto.Builder builderForValue)
 The raw data of the slice is stored as a TensorProto.
SavedSlice.Builder
setData ( TensorProto value)
 The raw data of the slice is stored as a TensorProto.
SavedSlice.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SavedSlice.Builder
setName (String value)
 Name of the tensor that this slice belongs to.
SavedSlice.Builder
setNameBytes (com.google.protobuf.ByteString value)
 Name of the tensor that this slice belongs to.
SavedSlice.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SavedSlice.Builder
setSlice ( TensorSliceProto value)
 Extent of the slice.
SavedSlice.Builder
setSlice ( TensorSliceProto.Builder builderForValue)
 Extent of the slice.
final SavedSlice.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public SavedSlice.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public SavedSlice build ()

public SavedSlice buildPartial ()

public SavedSlice.Builder clear ()

public SavedSlice.Builder clearData ()

 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;

public SavedSlice.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public SavedSlice.Builder clearName ()

 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;

public SavedSlice.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public SavedSlice.Builder clearSlice ()

 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;

public SavedSlice.Builder clone ()

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

public TensorProto.Builder getDataBuilder ()

 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;

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

public SavedSlice getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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

public com.google.protobuf.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;

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

public TensorSliceProto.Builder getSliceBuilder ()

 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;

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

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

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

public final boolean isInitialized ()

public SavedSlice.Builder mergeData ( TensorProto value)

 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;

public SavedSlice.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException