classe finale statica pubblica SavedAsset.Builder
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).Tipo di protocollo
tensorflow.SavedAsset
Metodi pubblici
SavedAsset.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
Asset salvato | costruire () |
Asset salvato | buildPartial () |
SavedAsset.Builder | chiaro () |
SavedAsset.Builder | clearAssetFileDefIndex () Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
SavedAsset.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
SavedAsset.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SavedAsset.Builder | clone () |
int | getAssetFileDefIndex () Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
Asset salvato | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
booleano finale | |
SavedAsset.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
SavedAsset.Builder | mergeFrom (com.google.protobuf.Message altro) |
finale SavedAsset.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
SavedAsset.Builder | setAssetFileDefIndex (valore int) Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
SavedAsset.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
SavedAsset.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
finale SavedAsset.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
Metodi ereditati
Metodi pubblici
public SavedAsset.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public SavedAsset.Builder clearAssetFileDefIndex ()
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 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 ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public final booleano isInitialized ()
public SavedAsset.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public final SavedAsset.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
public SavedAsset.Builder setAssetFileDefIndex (valore int)
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;