GraphDef.Builder

공개 정적 최종 클래스 GraphDef.Builder

 Represents the graph of operations
 
Protobuf 유형 tensorflow.GraphDef

공개 방법

GraphDef.Builder
addAllNode (Iterable<? 확장 NodeDef > 값)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode ( NodeDef 값)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (int 인덱스, NodeDef 값)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode ( NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (int 인덱스, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
addNodeBuilder ()
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
addNodeBuilder (정수 인덱스)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)
그래프 정의
짓다 ()
그래프 정의
GraphDef.Builder
GraphDef.Builder
ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드)
GraphDef.Builder
클리어라이브러리 ()
 EXPERIMENTAL.
GraphDef.Builder
클리어노드 ()
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
GraphDef.Builder
클리어버전 ()
 Deprecated single version field; use versions above instead.
GraphDef.Builder
클리어버전 ()
 Compatibility versions of the graph.
GraphDef.Builder
클론 ()
그래프 정의
최종 정적 com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
함수Def라이브러리
getLibrary ()
 EXPERIMENTAL.
FunctionDefLibrary.Builder
getLibraryBuilder ()
 EXPERIMENTAL.
함수DefLibraryOrBuilder
getLibraryOrBuilder ()
 EXPERIMENTAL.
NodeDef
getNode (정수 인덱스)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
getNodeBuilder (정수 인덱스)
repeated .tensorflow.NodeDef node = 1;
목록< NodeDef.Builder >
getNodeBuilderList ()
repeated .tensorflow.NodeDef node = 1;
정수
getNodeCount ()
repeated .tensorflow.NodeDef node = 1;
목록< NodeDef >
getNodeList ()
repeated .tensorflow.NodeDef node = 1;
NodeDefOrBuilder
getNodeOrBuilder (정수 인덱스)
repeated .tensorflow.NodeDef node = 1;
목록<? NodeDefOrBuilder 확장 >
getNodeOrBuilderList ()
repeated .tensorflow.NodeDef node = 1;
정수
버전 획득 ()
 Deprecated single version field; use versions above instead.
버전 정의
get버전 ()
 Compatibility versions of the graph.
버전 정의.빌더
getVersionsBuilder ()
 Compatibility versions of the graph.
버전DefOrBuilder
getVersionsOrBuilder ()
 Compatibility versions of the graph.
부울
hasLibrary ()
 EXPERIMENTAL.
부울
버전 ()
 Compatibility versions of the graph.
최종 부울
GraphDef.Builder
mergeFrom (com.google.protobuf.다른 메시지 보내기)
GraphDef.Builder
mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
GraphDef.Builder
mergeLibrary ( FunctionDefLibrary 값)
 EXPERIMENTAL.
최종 GraphDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields)
GraphDef.Builder
mergeVersions ( VersionDef 값)
 Compatibility versions of the graph.
GraphDef.Builder
제거 노드 (int 인덱스)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)
GraphDef.Builder
setLibrary ( FunctionDefLibrary.Builder builderForValue)
 EXPERIMENTAL.
GraphDef.Builder
setLibrary ( FunctionDefLibrary 값)
 EXPERIMENTAL.
GraphDef.Builder
setNode (int 인덱스, NodeDef 값)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setNode (int 인덱스, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)
최종 GraphDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
GraphDef.Builder
setVersion (정수 값)
 Deprecated single version field; use versions above instead.
GraphDef.Builder
setVersions ( VersionDef 값)
 Compatibility versions of the graph.
GraphDef.Builder
setVersions ( VersionDef.Builder builderForValue)
 Compatibility versions of the graph.

상속된 메서드

공개 방법

public GraphDef.Builder addAllNode (Iterable<? 확장 NodeDef > 값)

repeated .tensorflow.NodeDef node = 1;

공개 GraphDef.Builder addNode ( NodeDef 값)

repeated .tensorflow.NodeDef node = 1;

공개 GraphDef.Builder addNode (int 인덱스, NodeDef 값)

repeated .tensorflow.NodeDef node = 1;

공개 GraphDef.Builder addNode ( NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

공개 GraphDef.Builder addNode (int 인덱스, NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

공개 NodeDef.Builder addNodeBuilder ()

repeated .tensorflow.NodeDef node = 1;

공개 NodeDef.Builder addNodeBuilder (int 인덱스)

repeated .tensorflow.NodeDef node = 1;

공개 GraphDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)

공개 GraphDef 빌드 ()

공개 GraphDef buildPartial ()

공개 GraphDef.Builder 지우기 ()

공개 GraphDef.BuilderclearField ( com.google.protobuf.Descriptors.FieldDescriptor 필드)

공개 GraphDef.Builder 클리어 라이브러리 ()

 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;

공개 GraphDef.Builder 클리어노드 ()

repeated .tensorflow.NodeDef node = 1;

공개 GraphDef.BuilderclearOneof ( com.google.protobuf.Descriptors.OneofDescriptoroneof)

공개 GraphDef.Builder 클리어 버전 ()

 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];

공개 GraphDef.Builder 클리어버전 ()

 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;

공개 GraphDef.Builder 클론 ()

공개 GraphDef getDefaultInstanceForType ()

공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()

공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

공공 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;

공개 FunctionDefLibrary.Builder getLibraryBuilder ()

 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;

공개 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;

공개 NodeDef getNode (int 인덱스)

repeated .tensorflow.NodeDef node = 1;

공개 NodeDef.Builder getNodeBuilder (int 인덱스)

repeated .tensorflow.NodeDef node = 1;

공개 목록< NodeDef.Builder > getNodeBuilderList ()

repeated .tensorflow.NodeDef node = 1;

공개 int getNodeCount ()

repeated .tensorflow.NodeDef node = 1;

공개 목록< NodeDef > getNodeList ()

repeated .tensorflow.NodeDef node = 1;

공개 NodeDefOrBuilder getNodeOrBuilder (int 인덱스)

repeated .tensorflow.NodeDef node = 1;

공개 목록<? NodeDefOrBuilder > getNodeOrBuilderList () 를 확장합니다.

repeated .tensorflow.NodeDef node = 1;

공개 int 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];

공개 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;

공개 VersionDef.Builder getVersionsBuilder ()

 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;

공개 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;

공개 부울 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 ()

 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;

공개 최종 부울 isInitialized ()

공개 GraphDef.Builder mergeFrom (com.google.protobuf.다른 메시지)

공개 GraphDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공용 GraphDef.Builder mergeLibrary ( FunctionDefLibrary 값)

 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;

공개 최종 GraphDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

공개 GraphDef.Builder mergeVersions ( VersionDef 값)

 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;

공개 GraphDef.Builder 제거 노드 (int 인덱스)

repeated .tensorflow.NodeDef node = 1;

공개 GraphDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)

공용 GraphDef.Builder setLibrary ( FunctionDefLibrary.Builder builderForValue)

 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;

공용 GraphDef.Builder setLibrary ( FunctionDefLibrary 값)

 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;

공개 GraphDef.Builder setNode (int 인덱스, NodeDef 값)

repeated .tensorflow.NodeDef node = 1;

공개 GraphDef.Builder setNode (int 인덱스, NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

공개 GraphDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)

공개 최종 GraphDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

공개 GraphDef.Builder setVersion (int 값)

 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];

공개 GraphDef.Builder setVersions ( VersionDef 값)

 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;

공개 GraphDef.Builder setVersions ( VersionDef.Builder builderForValue)

 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;