כיתה גמר ציבורית 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).
tensorflow.SavedAsset
מסוג Protobuf.SavedAsset כיתות מקוננות
מַחלָקָה | SavedAsset.Builder | A SavedAsset points to an asset in the MetaGraph. |
קבועים
int | ASSET_FILE_DEF_INDEX_FIELD_NUMBER |
שיטות ציבוריות
בוליאני | שווה (Object obj) |
int | getAssetFileDefIndex () Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
סטטי SavedAsset | |
נכס נשמר | |
final static com.google.protobuf.Descriptors.Descriptor | |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | hashcode () |
בוליאנית סופית | |
סטטי SavedAsset.Builder | newBuilder (אב-טיפוס SavedAsset ) |
סטטי SavedAsset.Builder | newBuilder () |
SavedAsset.Builder | |
סטטי SavedAsset | parseDelimitedFrom (קלט InputStream) |
סטטי SavedAsset | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי SavedAsset | parseFrom (נתוני ByteBuffer) |
סטטי SavedAsset | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי SavedAsset | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי SavedAsset | parseFrom (קלט com.google.protobuf.CodedInputStream) |
סטטי SavedAsset | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי SavedAsset | parseFrom (נתוני com.google.protobuf.ByteString) |
סטטי SavedAsset | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי SavedAsset | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטָטִי | מנתח () |
SavedAsset.Builder | toBuilder () |
בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
אינט סופי סטטי ציבורי ASSET_FILE_DEF_INDEX_FIELD_NUMBER
ערך קבוע: 1
שיטות ציבוריות
שווה ערך בוליאני ציבורי (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 ()
פּוּמְבֵּי getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
public static SavedAsset parseDelimitedFrom (קלט קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public static SavedAsset parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public static SavedAsset parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
public static SavedAsset parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
נתח מאת SavedAsset public static (נתוני com.google.protobuf.ByteString)
זורק
InvalidProtocolBufferException |
---|
public static SavedAsset parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
סטטי ציבורי SavedAsset parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
IOException |
---|