SnapshotRecord.Builder

public static final class SnapshotRecord.Builder

 Each SnapshotRecord represents one batch of pre-processed input data. A batch
 consists of a list of tensors that we encode as TensorProtos. This message
 doesn't store the structure of the batch.
 
Protobuf type tensorflow.data.experimental.SnapshotRecord

Public Methods

SnapshotRecord.Builder
addAllTensor(Iterable<? extends TensorProto> values)
repeated .tensorflow.TensorProto tensor = 1;
SnapshotRecord.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SnapshotRecord.Builder
addTensor(TensorProto value)
repeated .tensorflow.TensorProto tensor = 1;
SnapshotRecord.Builder
addTensor(int index, TensorProto value)
repeated .tensorflow.TensorProto tensor = 1;
SnapshotRecord.Builder
addTensor(TensorProto.Builder builderForValue)
repeated .tensorflow.TensorProto tensor = 1;
SnapshotRecord.Builder
addTensor(int index, TensorProto.Builder builderForValue)
repeated .tensorflow.TensorProto tensor = 1;
TensorProto.Builder
addTensorBuilder(int index)
repeated .tensorflow.TensorProto tensor = 1;
TensorProto.Builder
addTensorBuilder()
repeated .tensorflow.TensorProto tensor = 1;
SnapshotRecord
build()
SnapshotRecord
SnapshotRecord.Builder
clear()
SnapshotRecord.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SnapshotRecord.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SnapshotRecord.Builder
clearTensor()
repeated .tensorflow.TensorProto tensor = 1;
SnapshotRecord.Builder
clone()
SnapshotRecord
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
TensorProto
getTensor(int index)
repeated .tensorflow.TensorProto tensor = 1;
TensorProto.Builder
getTensorBuilder(int index)
repeated .tensorflow.TensorProto tensor = 1;
List<TensorProto.Builder>
getTensorBuilderList()
repeated .tensorflow.TensorProto tensor = 1;
int
getTensorCount()
repeated .tensorflow.TensorProto tensor = 1;
List<TensorProto>
getTensorList()
repeated .tensorflow.TensorProto tensor = 1;
TensorProtoOrBuilder
getTensorOrBuilder(int index)
repeated .tensorflow.TensorProto tensor = 1;
List<? extends TensorProtoOrBuilder>
getTensorOrBuilderList()
repeated .tensorflow.TensorProto tensor = 1;
final boolean
SnapshotRecord.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SnapshotRecord.Builder
mergeFrom(com.google.protobuf.Message other)
final SnapshotRecord.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SnapshotRecord.Builder
removeTensor(int index)
repeated .tensorflow.TensorProto tensor = 1;
SnapshotRecord.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SnapshotRecord.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SnapshotRecord.Builder
setTensor(int index, TensorProto value)
repeated .tensorflow.TensorProto tensor = 1;
SnapshotRecord.Builder
setTensor(int index, TensorProto.Builder builderForValue)
repeated .tensorflow.TensorProto tensor = 1;
final SnapshotRecord.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public SnapshotRecord.Builder addAllTensor (Iterable<? extends TensorProto> values)

repeated .tensorflow.TensorProto tensor = 1;

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

public SnapshotRecord.Builder addTensor (TensorProto value)

repeated .tensorflow.TensorProto tensor = 1;

public SnapshotRecord.Builder addTensor (int index, TensorProto value)

repeated .tensorflow.TensorProto tensor = 1;

public SnapshotRecord.Builder addTensor (TensorProto.Builder builderForValue)

repeated .tensorflow.TensorProto tensor = 1;

public SnapshotRecord.Builder addTensor (int index, TensorProto.Builder builderForValue)

repeated .tensorflow.TensorProto tensor = 1;

public TensorProto.Builder addTensorBuilder (int index)

repeated .tensorflow.TensorProto tensor = 1;

public TensorProto.Builder addTensorBuilder ()

repeated .tensorflow.TensorProto tensor = 1;

public SnapshotRecord build ()

public SnapshotRecord buildPartial ()

public SnapshotRecord.Builder clear ()

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

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

public SnapshotRecord.Builder clearTensor ()

repeated .tensorflow.TensorProto tensor = 1;

public SnapshotRecord.Builder clone ()

public SnapshotRecord getDefaultInstanceForType ()

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

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

public TensorProto getTensor (int index)

repeated .tensorflow.TensorProto tensor = 1;

public TensorProto.Builder getTensorBuilder (int index)

repeated .tensorflow.TensorProto tensor = 1;

public List<TensorProto.Builder> getTensorBuilderList ()

repeated .tensorflow.TensorProto tensor = 1;

public int getTensorCount ()

repeated .tensorflow.TensorProto tensor = 1;

public List<TensorProto> getTensorList ()

repeated .tensorflow.TensorProto tensor = 1;

public TensorProtoOrBuilder getTensorOrBuilder (int index)

repeated .tensorflow.TensorProto tensor = 1;

public List<? extends TensorProtoOrBuilder> getTensorOrBuilderList ()

repeated .tensorflow.TensorProto tensor = 1;

public final boolean isInitialized ()

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

Throws
IOException

public SnapshotRecord.Builder mergeFrom (com.google.protobuf.Message other)

public final SnapshotRecord.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public SnapshotRecord.Builder removeTensor (int index)

repeated .tensorflow.TensorProto tensor = 1;

public SnapshotRecord.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public SnapshotRecord.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public SnapshotRecord.Builder setTensor (int index, TensorProto value)

repeated .tensorflow.TensorProto tensor = 1;

public SnapshotRecord.Builder setTensor (int index, TensorProto.Builder builderForValue)

repeated .tensorflow.TensorProto tensor = 1;

public final SnapshotRecord.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)