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 | |
SnapshotRecord.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SnapshotRecord.Builder | |
SnapshotRecord.Builder | |
SnapshotRecord.Builder | |
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 | |
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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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 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 final SnapshotRecord.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
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;