public final class
SavedSliceMeta
Metadata describing the set of slices of the same tensor saved in a checkpoint file.
tensorflow.SavedSliceMeta
Nested Classes
| class | SavedSliceMeta.Builder | Metadata describing the set of slices of the same tensor saved in a checkpoint file. |
|
Constants
| int | NAME_FIELD_NUMBER | |
| int | SHAPE_FIELD_NUMBER | |
| int | SLICE_FIELD_NUMBER | |
| int | TYPE_FIELD_NUMBER |
Public Methods
| boolean |
equals(Object obj)
|
| static SavedSliceMeta | |
| SavedSliceMeta | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| String |
getName()
Name of the tensor. |
| com.google.protobuf.ByteString |
getNameBytes()
Name of the tensor. |
|
|
|
| int | |
| TensorShapeProto |
getShape()
Shape of the tensor .tensorflow.TensorShapeProto shape = 2;
|
| TensorShapeProtoOrBuilder |
getShapeOrBuilder()
Shape of the tensor .tensorflow.TensorShapeProto shape = 2;
|
| TensorSliceProto |
getSlice(int index)
Explicit list of slices saved in the checkpoint file. |
| int |
getSliceCount()
Explicit list of slices saved in the checkpoint file. |
| List<TensorSliceProto> |
getSliceList()
Explicit list of slices saved in the checkpoint file. |
| TensorSliceProtoOrBuilder |
getSliceOrBuilder(int index)
Explicit list of slices saved in the checkpoint file. |
| List<? extends TensorSliceProtoOrBuilder> |
getSliceOrBuilderList()
Explicit list of slices saved in the checkpoint file. |
| DataType |
getType()
Type of the tensor .tensorflow.DataType type = 3;
|
| int |
getTypeValue()
Type of the tensor .tensorflow.DataType type = 3;
|
| final com.google.protobuf.UnknownFieldSet | |
| boolean |
hasShape()
Shape of the tensor .tensorflow.TensorShapeProto shape = 2;
|
| int |
hashCode()
|
| final boolean | |
| static SavedSliceMeta.Builder |
newBuilder(SavedSliceMeta prototype)
|
| static SavedSliceMeta.Builder | |
| SavedSliceMeta.Builder | |
| static SavedSliceMeta |
parseDelimitedFrom(InputStream input)
|
| static SavedSliceMeta |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static SavedSliceMeta |
parseFrom(ByteBuffer data)
|
| static SavedSliceMeta |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static SavedSliceMeta |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static SavedSliceMeta |
parseFrom(com.google.protobuf.CodedInputStream input)
|
| static SavedSliceMeta |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static SavedSliceMeta |
parseFrom(com.google.protobuf.ByteString data)
|
| static SavedSliceMeta |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static SavedSliceMeta |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
static
|
parser()
|
| SavedSliceMeta.Builder | |
| void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int NAME_FIELD_NUMBER
Constant Value:
1
public static final int SHAPE_FIELD_NUMBER
Constant Value:
2
public static final int SLICE_FIELD_NUMBER
Constant Value:
4
public static final int TYPE_FIELD_NUMBER
Constant Value:
3
Public Methods
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getName ()
Name of the tensor.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
Name of the tensor.
string name = 1;
public
getParserForType
()
public int getSerializedSize ()
public TensorShapeProtoOrBuilder getShapeOrBuilder ()
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
public TensorSliceProto getSlice (int index)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public int getSliceCount ()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public List<TensorSliceProto> getSliceList ()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public TensorSliceProtoOrBuilder getSliceOrBuilder (int index)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public List<? extends TensorSliceProtoOrBuilder> getSliceOrBuilderList ()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public int getTypeValue ()
Type of the tensor
.tensorflow.DataType type = 3;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasShape ()
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
public int hashCode ()
public final boolean isInitialized ()
public static SavedSliceMeta parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static SavedSliceMeta parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static SavedSliceMeta parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| InvalidProtocolBufferException |
|---|
public static SavedSliceMeta parseFrom (com.google.protobuf.CodedInputStream input)
Throws
| IOException |
|---|
public static SavedSliceMeta parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| InvalidProtocolBufferException |
|---|
public static SavedSliceMeta parseFrom (com.google.protobuf.ByteString data)
Throws
| InvalidProtocolBufferException |
|---|
public static SavedSliceMeta parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static SavedSliceMeta 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 |
|---|