public final class
SnapshotRecord
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
Nested Classes
class | SnapshotRecord.Builder | Each SnapshotRecord represents one batch of pre-processed input data. |
Constants
int | TENSOR_FIELD_NUMBER |
Public Methods
boolean |
equals(Object obj)
|
static SnapshotRecord | |
SnapshotRecord | |
final static com.google.protobuf.Descriptors.Descriptor | |
|
|
int | |
TensorProto |
getTensor(int index)
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 com.google.protobuf.UnknownFieldSet | |
int |
hashCode()
|
final boolean | |
static SnapshotRecord.Builder | |
static SnapshotRecord.Builder |
newBuilder(SnapshotRecord prototype)
|
SnapshotRecord.Builder | |
static SnapshotRecord |
parseDelimitedFrom(InputStream input)
|
static SnapshotRecord |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SnapshotRecord |
parseFrom(ByteBuffer data)
|
static SnapshotRecord |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SnapshotRecord |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SnapshotRecord |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static SnapshotRecord |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SnapshotRecord |
parseFrom(com.google.protobuf.ByteString data)
|
static SnapshotRecord |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SnapshotRecord |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
SnapshotRecord.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int TENSOR_FIELD_NUMBER
Constant Value:
1
Public Methods
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public
getParserForType
()
public int getSerializedSize ()
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 com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static SnapshotRecord parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SnapshotRecord parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SnapshotRecord parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SnapshotRecord parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static SnapshotRecord parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SnapshotRecord parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static SnapshotRecord parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SnapshotRecord parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|