classe finale statique publique 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).
tensorflow.SavedAsset
de type Protobuf.SavedAsset Méthodes publiques
SavedAsset.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
Actif enregistré | construire () |
Actif enregistré | buildPartial () |
SavedAsset.Builder | clair () |
SavedAsset.Builder | clearAssetFileDefIndex () Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
SavedAsset.Builder | clearField (champ com.google.protobuf.Descriptors.FieldDescriptor) |
SavedAsset.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SavedAsset.Builder | cloner () |
int | getAssetFileDefIndex () Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
Actif enregistré | |
final statique com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
booléen final | |
SavedAsset.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedAsset.Builder | mergeFrom (com.google.protobuf.Message autre) |
final SavedAsset.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
SavedAsset.Builder | setAssetFileDefIndex (valeur entière) Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
SavedAsset.Builder | setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
SavedAsset.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
final SavedAsset.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
Méthodes héritées
Méthodes publiques
public SavedAsset.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
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 statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public final booléen isInitialized ()
public SavedAsset.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public final SavedAsset.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SavedAsset.Builder setAssetFileDefIndex (valeur 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;