public final class
SavedAsset
A SavedAsset points to an asset in the MetaGraph. When bound to a function this object evaluates to a tensor with the absolute filename. Users should not depend on a particular part of the filename to remain stable (e.g. basename could be changed).Protobuf type
tensorflow.SavedAsset
Nested Classes
class | SavedAsset.Builder | A SavedAsset points to an asset in the MetaGraph. |
Constants
int | ASSET_FILE_DEF_INDEX_FIELD_NUMBER |
Public Methods
boolean |
equals(Object obj)
|
int |
getAssetFileDefIndex()
Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
static SavedAsset | |
SavedAsset | |
final static com.google.protobuf.Descriptors.Descriptor | |
|
|
int | |
final com.google.protobuf.UnknownFieldSet | |
int |
hashCode()
|
final boolean | |
static SavedAsset.Builder |
newBuilder(SavedAsset prototype)
|
static SavedAsset.Builder | |
SavedAsset.Builder | |
static SavedAsset |
parseDelimitedFrom(InputStream input)
|
static SavedAsset |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedAsset |
parseFrom(ByteBuffer data)
|
static SavedAsset |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedAsset |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedAsset |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static SavedAsset |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedAsset |
parseFrom(com.google.protobuf.ByteString data)
|
static SavedAsset |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedAsset |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
SavedAsset.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int ASSET_FILE_DEF_INDEX_FIELD_NUMBER
Constant Value:
1
Public Methods
public boolean equals (Object obj)
public int getAssetFileDefIndex ()
Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. Only the field `AssetFileDef.filename` is used. Other fields, such as `AssetFileDef.tensor_info`, MUST be ignored.
int32 asset_file_def_index = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public
getParserForType
()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static SavedAsset parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedAsset parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedAsset parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SavedAsset parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SavedAsset parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static SavedAsset parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedAsset 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 |
---|