lớp cuối cùng công khai MetaGraphDef
NOTE: This protocol buffer is evolving, and will go through revisions in the coming months. Protocol buffer containing the following which are necessary to restart training, run inference. It can be used to serialize/de-serialize memory objects necessary for running computation in a graph when crossing the process boundary. It can be used for long term storage of graphs, cross-language execution of graphs, etc. MetaInfoDef GraphDef SaverDef CollectionDef TensorInfo SignatureDefProtobuf loại
tensorflow.MetaGraphDef
Các lớp lồng nhau
lớp học | MetaGraphDef.Builder | NOTE: This protocol buffer is evolving, and will go through revisions in the coming months. | |
lớp học | MetaGraphDef.MetaInfoDef | Meta information regarding the graph to be exported. | |
giao diện | MetaGraphDef.MetaInfoDefOrBuilder |
Hằng số
Phương pháp công khai
boolean | chứaCollectionDef (Khóa chuỗi) collection_def: Map from collection name to collections. |
boolean | chứaSignatureDef (Khóa chuỗi) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
boolean | bằng (Đối tượng obj) |
AssetFileDef | getAssetFileDef (chỉ mục int) Asset file def to be used with the defined graph. |
int | getAssetFileDefCount () Asset file def to be used with the defined graph. |
Danh sách< AssetFileDef > | getAssetFileDefList () Asset file def to be used with the defined graph. |
AssetFileDefOrBuilder | getAssetFileDefOrBuilder (chỉ mục int) Asset file def to be used with the defined graph. |
Danh sách<? mở rộng AssetFileDefOrBuilder > | getAssetFileDefOrBuilderList () Asset file def to be used with the defined graph. |
Bản đồ<String, CollectionDef > | getCollectionDef () Thay vào đó hãy sử dụng getCollectionDefMap() . |
int | getCollectionDefCount () collection_def: Map from collection name to collections. |
Bản đồ<String, CollectionDef > | getCollectionDefMap () collection_def: Map from collection name to collections. |
Bộ sưu tậpDef | getCollectionDefOrDefault (Khóa chuỗi, CollectionDef defaultValue) collection_def: Map from collection name to collections. |
Bộ sưu tậpDef | getCollectionDefOrThrow (Khóa chuỗi) collection_def: Map from collection name to collections. |
MetaGraphDef tĩnh | |
MetaGraphDef | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
GraphDef | getGraphDef () GraphDef. |
GraphDefOrBuilder | getGraphDefOrBuilder () GraphDef. |
MetaGraphDef.MetaInfoDef | getMetaInfoDef () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
MetaGraphDef.MetaInfoDefOrBuilder | getMetaInfoDefOrBuilder () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
Đã lưuĐối tượngĐồ thị | getObjectGraphDef () Extra information about the structure of functions and stateful objects. |
Đã lưuObjectGraphOrBuilder | getObjectGraphDefOrBuilder () Extra information about the structure of functions and stateful objects. |
SaverDef | getSaverDef () SaverDef. |
SaverDefOrBuilder | getSaverDefOrBuilder () SaverDef. |
int | |
Bản đồ<Chuỗi, SignatureDef > | getSignatureDef () Thay vào đó hãy sử dụng getSignatureDefMap() . |
int | getSignatureDefCount () signature_def: Map from user supplied key for a signature to a single SignatureDef. |
Bản đồ<Chuỗi, SignatureDef > | getSignatureDefMap () signature_def: Map from user supplied key for a signature to a single SignatureDef. |
Chữ kýDef | getSignatureDefOrDefault (Khóa chuỗi, Giá trị mặc định của SignatureDef ) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
Chữ kýDef | getSignatureDefOrThrow (Khóa chuỗi) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
cuối cùng com.google.protobuf.UnknownFieldSet | |
boolean | hasGraphDef () GraphDef. |
boolean | hasMetaInfoDef () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
boolean | hasObjectGraphDef () Extra information about the structure of functions and stateful objects. |
boolean | hasSaverDef () SaverDef. |
int | mã băm () |
boolean cuối cùng | |
MetaGraphDef.Builder tĩnh | |
MetaGraphDef.Builder tĩnh | newBuilder ( nguyên mẫu MetaGraphDef ) |
MetaGraphDef.Builder | |
MetaGraphDef tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào) |
MetaGraphDef tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry) |
MetaGraphDef tĩnh | ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
MetaGraphDef tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream) |
MetaGraphDef tĩnh | ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
MetaGraphDef tĩnh | ParseFrom (dữ liệu ByteBuffer) |
MetaGraphDef tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
MetaGraphDef tĩnh | ParseFrom (dữ liệu com.google.protobuf.ByteString) |
MetaGraphDef tĩnh | ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
MetaGraphDef tĩnh | ParseFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
tĩnh | |
MetaGraphDef.Builder | toBuilder () |
trống rỗng | writeTo (đầu ra com.google.protobuf.CodedOutputStream) |
Phương pháp kế thừa
Hằng số
int tĩnh công khai ASSET_FILE_DEF_FIELD_NUMBER
Giá trị không đổi: 6
int tĩnh cuối cùng COLLECTION_DEF_FIELD_NUMBER
Giá trị không đổi: 4
int cuối cùng tĩnh công khai GRAPH_DEF_FIELD_NUMBER
Giá trị không đổi: 2
int tĩnh công khai META_INFO_DEF_FIELD_NUMBER
Giá trị không đổi: 1
int cuối cùng tĩnh công khai OBJECT_GRAPH_DEF_FIELD_NUMBER
Giá trị không đổi: 7
int tĩnh cuối cùng SAVER_DEF_FIELD_NUMBER
Giá trị không đổi: 3
int cuối cùng tĩnh công khai SIGNATURE_DEF_FIELD_NUMBER
Giá trị không đổi: 5
Phương pháp công khai
boolean công khai chứaCollectionDef (Khóa chuỗi)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
boolean công khai chứaSignatureDef (Khóa chuỗi)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
boolean công khai bằng (Object obj)
công khai AssetFileDef getAssetFileDef (chỉ mục int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
int công khai getAssetFileDefCount ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
Danh sách công khai< AssetFileDef > getAssetFileDefList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
công khai AssetFileDefOrBuilder getAssetFileDefOrBuilder (chỉ mục int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
Danh sách công khai<? mở rộng AssetFileDefOrBuilder > getAssetFileDefOrBuilderList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
Bản đồ công khai<String, CollectionDef > getCollectionDef ()
Thay vào đó hãy sử dụng getCollectionDefMap()
.
int công khai getCollectionDefCount ()
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
Bản đồ công khai<String, CollectionDef > getCollectionDefMap ()
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public CollectionDef getCollectionDefOrDefault (Khóa chuỗi, CollectionDef defaultValue)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public CollectionDef getCollectionDefOrThrow (Khóa chuỗi)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
công khai MetaGraphDef.MetaInfoDef getMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
công khai MetaGraphDef.MetaInfoDefOrBuilder getMetaInfoDefOrBuilder ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
công khai SavedObjectGraph getObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
công khai SavedObjectGraphOrBuilder getObjectGraphDefOrBuilder ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
công cộng getParserForType ()
int công khai getSerializedSize ()
Bản đồ công khai<String, SignatureDef > getSignatureDef ()
Thay vào đó hãy sử dụng getSignatureDefMap()
.
int công khai getSignatureDefCount ()
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
Bản đồ công khai<String, SignatureDef > getSignatureDefMap ()
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public SignatureDef getSignatureDefOrDefault (Khóa chuỗi, Giá trị mặc định của SignatureDef )
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public SignatureDef getSignatureDefOrThrow (Khóa chuỗi)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean công khai hasGraphDef ()
GraphDef.
.tensorflow.GraphDef graph_def = 2;
boolean công khai hasMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
boolean công khai hasObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
boolean công khai hasSaverDef ()
SaverDef.
.tensorflow.SaverDef saver_def = 3;
mã băm int công khai ()
boolean cuối cùng công khai được khởi tạo ()
phân tích cú pháp MetaGraphDef tĩnh công khaiDelimitedFrom (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
phân tích cú pháp MetaGraphDef tĩnh công khaiTừ (dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
phân tích cú pháp MetaGraphDef tĩnh công khai (đầu vào com.google.protobuf.CodedInputStream)
Ném
IOException |
---|
Phân tích cú pháp MetaGraphDef tĩnh công khaiTừ (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
phân tích cú pháp MetaGraphDef tĩnh công khaiFrom (dữ liệu ByteBuffer)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
phân tích cú pháp MetaGraphDef tĩnh công khaiTừ (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
Phân tích cú pháp MetaGraphDef tĩnh công khaiFrom (dữ liệu com.google.protobuf.ByteString)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
phân tích cú pháp MetaGraphDef tĩnh công khaiTừ (đầu vàoInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
phân tích cú pháp MetaGraphDef tĩnh công khaiFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
công cộng tĩnh trình phân tích cú pháp ()
public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)
Ném
IOException |
---|