공개 정적 최종 클래스 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).Protobuf 유형
tensorflow.SavedAsset
공개 방법
저장된Asset.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
저장된 자산 | 짓다 () |
저장된 자산 | 빌드부분 () |
저장된Asset.Builder | 분명한 () |
저장된Asset.Builder | 클리어AssetFileDefIndex () Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
저장된Asset.Builder | ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드) |
저장된Asset.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
저장된Asset.Builder | 클론 () |
정수 | getAssetFileDefIndex () Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
저장된 자산 | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
최종 부울 | 초기화됨 () |
저장된Asset.Builder | mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
저장된Asset.Builder | mergeFrom (com.google.protobuf.다른 메시지 보내기) |
최종 SavedAsset.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields) |
저장된Asset.Builder | setAssetFileDefIndex (정수 값) Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
저장된Asset.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
저장된Asset.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값) |
최종 SavedAsset.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
상속된 메서드
공개 방법
공개 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;
공개 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;
공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
공개 최종 부울 isInitialized ()
공개 SavedAsset.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 SavedAsset.Builder setAssetFileDefIndex (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;