GraphDef

lớp cuối cùng công khai GraphDef

 Represents the graph of operations
 
Loại tensorflow.GraphDef của Protobuf.GraphDef

Các lớp lồng nhau

lớp học GraphDef.Builder
 Represents the graph of operations
 
Loại tensorflow.GraphDef của Protobuf.GraphDef

Hằng số

int THƯ VIỆN_FIELD_NUMBER
int NODE_FIELD_NUMBER
int VERSIONS_FIELD_NUMBER
int VERSION_FIELD_NUMBER

Phương pháp công khai

boolean
bằng (Đối tượng obj)
GraphDef tĩnh
GraphDef
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
Chức năngDefLibrary
getLibrary ()
 EXPERIMENTAL.
FunctionDefLibraryOrBuilder
getLibraryOrBuilder ()
 EXPERIMENTAL.
NodeDef
getNode (chỉ số int)
repeated .tensorflow.NodeDef node = 1;
int
getNodeCount ()
repeated .tensorflow.NodeDef node = 1;
Danh sách< NodeDef >
getNodeList ()
repeated .tensorflow.NodeDef node = 1;
NodeDefOrBuilder
getNodeOrBuilder (chỉ mục int)
repeated .tensorflow.NodeDef node = 1;
Danh sách<? mở rộng NodeDefOrBuilder >
getNodeOrBuilderList ()
repeated .tensorflow.NodeDef node = 1;
int
com.google.protobuf.UnknownFieldSet cuối cùng
int
getVersion ()
 Deprecated single version field; use versions above instead.
Phiên bảnDef
getVersions ()
 Compatibility versions of the graph.
Phiên bảnDefOrBuilder
getVersionsOrBuilder ()
 Compatibility versions of the graph.
boolean
hasLibrary ()
 EXPERIMENTAL.
boolean
hasVersions ()
 Compatibility versions of the graph.
int
boolean cuối cùng
GraphDef.Builder tĩnh
GraphDef.Builder tĩnh
newBuilder ( nguyên mẫu GraphDef )
GraphDef.Builder
GraphDef tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)
GraphDef 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)
GraphDef tĩnh
ParseFrom (dữ liệu ByteBuffer)
GraphDef tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
GraphDef tĩnh
ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
GraphDef tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream)
GraphDef tĩnh
ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
GraphDef tĩnh
ParseFrom (dữ liệu com.google.protobuf.ByteString)
GraphDef tĩnh
ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
GraphDef tĩnh
ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
tĩnh
GraphDef.Builder
trống rỗng
writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Phương pháp kế thừa

Hằng số

int tĩnh cuối cùng LIBRARY_FIELD_NUMBER

Giá trị không đổi: 2

int tĩnh công khai NODE_FIELD_NUMBER

Giá trị không đổi: 1

int cuối cùng tĩnh công khai VERSIONS_FIELD_NUMBER

Giá trị không đổi: 4

int tĩnh công khai VERSION_FIELD_NUMBER

Giá trị không đổi: 3

Phương pháp công khai

boolean công khai bằng (Object obj)

GraphDef tĩnh công khai getDefaultInstance ()

GraphDef công khai getDefaultInstanceForType ()

công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public FunctionDefLibrary getLibrary ()

 EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
 "library" provides user-defined functions.
 Naming:
   * library.function.name are in a flat namespace.
     NOTE: We may need to change it to be hierarchical to support
     different orgs. E.g.,
     { "/google/nn", { ... } },
     { "/google/vision", { ... } }
     { "/org_foo/module_bar", { ... } }
     map<string, FunctionDefLib> named_lib;
   * If node[i].op is the name of one function in "library",
     node[i] is deemed as a function call. Otherwise, node[i].op
     must be a primitive operation supported by the runtime.
 Function call semantics:
   * The callee may start execution as soon as some of its inputs
     are ready. The caller may want to use Tuple() mechanism to
     ensure all inputs are ready in the same time.
   * The consumer of return values may start executing as soon as
     the return values the consumer depends on are ready.  The
     consumer may want to use Tuple() mechanism to ensure the
     consumer does not start until all return values of the callee
     function are ready.
 
.tensorflow.FunctionDefLibrary library = 2;

public FunctionDefLibraryOrBuilder getLibraryOrBuilder ()

 EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
 "library" provides user-defined functions.
 Naming:
   * library.function.name are in a flat namespace.
     NOTE: We may need to change it to be hierarchical to support
     different orgs. E.g.,
     { "/google/nn", { ... } },
     { "/google/vision", { ... } }
     { "/org_foo/module_bar", { ... } }
     map<string, FunctionDefLib> named_lib;
   * If node[i].op is the name of one function in "library",
     node[i] is deemed as a function call. Otherwise, node[i].op
     must be a primitive operation supported by the runtime.
 Function call semantics:
   * The callee may start execution as soon as some of its inputs
     are ready. The caller may want to use Tuple() mechanism to
     ensure all inputs are ready in the same time.
   * The consumer of return values may start executing as soon as
     the return values the consumer depends on are ready.  The
     consumer may want to use Tuple() mechanism to ensure the
     consumer does not start until all return values of the callee
     function are ready.
 
.tensorflow.FunctionDefLibrary library = 2;

getNode NodeDef công khai (chỉ mục int)

repeated .tensorflow.NodeDef node = 1;

int công khai getNodeCount ()

repeated .tensorflow.NodeDef node = 1;

Danh sách công khai< NodeDef > getNodeList ()

repeated .tensorflow.NodeDef node = 1;

NodeDefOrBuilder công khai getNodeOrBuilder (chỉ mục int)

repeated .tensorflow.NodeDef node = 1;

Danh sách công khai<? mở rộng NodeDefOrBuilder > getNodeOrBuilderList ()

repeated .tensorflow.NodeDef node = 1;

công cộng getParserForType ()

int công khai getSerializedSize ()

trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()

int công khai getVersion ()

 Deprecated single version field; use versions above instead.  Since all
 GraphDef changes before "versions" was introduced were forward
 compatible, this field is entirely ignored.
 
int32 version = 3 [deprecated = true];

public VersionDef getVersions ()

 Compatibility versions of the graph.  See core/public/version.h for version
 history.  The GraphDef version is distinct from the TensorFlow version, and
 each release of TensorFlow will support a range of GraphDef versions.
 
.tensorflow.VersionDef versions = 4;

public VersionDefOrBuilder getVersionsOrBuilder ()

 Compatibility versions of the graph.  See core/public/version.h for version
 history.  The GraphDef version is distinct from the TensorFlow version, and
 each release of TensorFlow will support a range of GraphDef versions.
 
.tensorflow.VersionDef versions = 4;

boolean công khai hasLibrary ()

 EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
 "library" provides user-defined functions.
 Naming:
   * library.function.name are in a flat namespace.
     NOTE: We may need to change it to be hierarchical to support
     different orgs. E.g.,
     { "/google/nn", { ... } },
     { "/google/vision", { ... } }
     { "/org_foo/module_bar", { ... } }
     map<string, FunctionDefLib> named_lib;
   * If node[i].op is the name of one function in "library",
     node[i] is deemed as a function call. Otherwise, node[i].op
     must be a primitive operation supported by the runtime.
 Function call semantics:
   * The callee may start execution as soon as some of its inputs
     are ready. The caller may want to use Tuple() mechanism to
     ensure all inputs are ready in the same time.
   * The consumer of return values may start executing as soon as
     the return values the consumer depends on are ready.  The
     consumer may want to use Tuple() mechanism to ensure the
     consumer does not start until all return values of the callee
     function are ready.
 
.tensorflow.FunctionDefLibrary library = 2;

hasVersions boolean công khai ()

 Compatibility versions of the graph.  See core/public/version.h for version
 history.  The GraphDef version is distinct from the TensorFlow version, and
 each release of TensorFlow will support a range of GraphDef versions.
 
.tensorflow.VersionDef versions = 4;

mã băm int công khai ()

boolean cuối cùng công khai được khởi tạo ()

GraphDef.Builder tĩnh công khai newBuilder ()

public static GraphDef.Builder newBuilder (nguyên mẫu GraphDef )

GraphDef.Builder công khai newBuilderForType ()

GraphDef phân tích cú pháp tĩnh công khaiDelimitedFrom (Đầu vào luồng đầu vào)

Ném
IOException

công khai phân tích cú pháp GraphDef tĩnhDelimitedFrom (Đầu vàoInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp GraphDef 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 GraphDef 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 GraphDef 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 GraphDef tĩnh công khai (đầu vào com.google.protobuf.CodedInputStream)

Ném
IOException

Phân tích cú pháp GraphDef 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 GraphDef tĩnh công khaiTừ (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 GraphDef tĩnh công khaiTừ (Đầu vàoInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

Phân tích cú pháp GraphDef tĩnh công khaiTừ (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 ()

GraphDef.Builder công khai toBuilder ()

public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Ném
IOException