public final class GraphOptions extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements GraphOptionsOrBuilder
tensorflow.GraphOptions| Modifier and Type | Class and Description |
|---|---|
static class |
GraphOptions.Builder
Protobuf type
tensorflow.GraphOptions |
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BUILD_COST_MODEL_AFTER_FIELD_NUMBER |
static int |
BUILD_COST_MODEL_FIELD_NUMBER |
static int |
ENABLE_BFLOAT16_SENDRECV_FIELD_NUMBER |
static int |
ENABLE_RECV_SCHEDULING_FIELD_NUMBER |
static int |
INFER_SHAPES_FIELD_NUMBER |
static int |
OPTIMIZER_OPTIONS_FIELD_NUMBER |
static int |
PLACE_PRUNED_GRAPH_FIELD_NUMBER |
static int |
REWRITE_OPTIONS_FIELD_NUMBER |
static int |
TIMELINE_STEP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getBuildCostModel()
The number of steps to run before returning a cost model detailing
the memory usage and performance of each node of the graph.
|
long |
getBuildCostModelAfter()
The number of steps to skip before collecting statistics for the
cost model.
|
static GraphOptions |
getDefaultInstance() |
GraphOptions |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableBfloat16Sendrecv()
If true, transfer float values between processes as bfloat16.
|
boolean |
getEnableRecvScheduling()
If true, use control flow to schedule the activation of Recv nodes.
|
boolean |
getInferShapes()
Annotate each Node with Op output shape data, to the extent it can
be statically inferred.
|
OptimizerOptions |
getOptimizerOptions()
Options controlling how graph is optimized.
|
OptimizerOptionsOrBuilder |
getOptimizerOptionsOrBuilder()
Options controlling how graph is optimized.
|
org.nd4j.shade.protobuf.Parser<GraphOptions> |
getParserForType() |
boolean |
getPlacePrunedGraph()
Only place the subgraphs that are run, rather than the entire graph.
|
RewriterConfig |
getRewriteOptions()
Options that control the type and amount of graph rewriting.
|
RewriterConfigOrBuilder |
getRewriteOptionsOrBuilder()
Options that control the type and amount of graph rewriting.
|
int |
getSerializedSize() |
int |
getTimelineStep()
If > 0, record a timeline every this many steps.
|
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasOptimizerOptions()
Options controlling how graph is optimized.
|
boolean |
hasRewriteOptions()
Options that control the type and amount of graph rewriting.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GraphOptions.Builder |
newBuilder() |
static GraphOptions.Builder |
newBuilder(GraphOptions prototype) |
GraphOptions.Builder |
newBuilderForType() |
protected GraphOptions.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GraphOptions |
parseDelimitedFrom(InputStream input) |
static GraphOptions |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphOptions |
parseFrom(byte[] data) |
static GraphOptions |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphOptions |
parseFrom(ByteBuffer data) |
static GraphOptions |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphOptions |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static GraphOptions |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphOptions |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static GraphOptions |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphOptions |
parseFrom(InputStream input) |
static GraphOptions |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<GraphOptions> |
parser() |
GraphOptions.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENABLE_RECV_SCHEDULING_FIELD_NUMBER
public static final int OPTIMIZER_OPTIONS_FIELD_NUMBER
public static final int BUILD_COST_MODEL_FIELD_NUMBER
public static final int BUILD_COST_MODEL_AFTER_FIELD_NUMBER
public static final int INFER_SHAPES_FIELD_NUMBER
public static final int PLACE_PRUNED_GRAPH_FIELD_NUMBER
public static final int ENABLE_BFLOAT16_SENDRECV_FIELD_NUMBER
public static final int TIMELINE_STEP_FIELD_NUMBER
public static final int REWRITE_OPTIONS_FIELD_NUMBER
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean getEnableRecvScheduling()
If true, use control flow to schedule the activation of Recv nodes. (Currently ignored.)
bool enable_recv_scheduling = 2;getEnableRecvScheduling in interface GraphOptionsOrBuilderpublic boolean hasOptimizerOptions()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;hasOptimizerOptions in interface GraphOptionsOrBuilderpublic OptimizerOptions getOptimizerOptions()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;getOptimizerOptions in interface GraphOptionsOrBuilderpublic OptimizerOptionsOrBuilder getOptimizerOptionsOrBuilder()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;getOptimizerOptionsOrBuilder in interface GraphOptionsOrBuilderpublic long getBuildCostModel()
The number of steps to run before returning a cost model detailing the memory usage and performance of each node of the graph. 0 means no cost model.
int64 build_cost_model = 4;getBuildCostModel in interface GraphOptionsOrBuilderpublic long getBuildCostModelAfter()
The number of steps to skip before collecting statistics for the cost model.
int64 build_cost_model_after = 9;getBuildCostModelAfter in interface GraphOptionsOrBuilderpublic boolean getInferShapes()
Annotate each Node with Op output shape data, to the extent it can be statically inferred.
bool infer_shapes = 5;getInferShapes in interface GraphOptionsOrBuilderpublic boolean getPlacePrunedGraph()
Only place the subgraphs that are run, rather than the entire graph. This is useful for interactive graph building, where one might produce graphs that cannot be placed during the debugging process. In particular, it allows the client to continue work in a session after adding a node to a graph whose placement constraints are unsatisfiable.
bool place_pruned_graph = 6;getPlacePrunedGraph in interface GraphOptionsOrBuilderpublic boolean getEnableBfloat16Sendrecv()
If true, transfer float values between processes as bfloat16.
bool enable_bfloat16_sendrecv = 7;getEnableBfloat16Sendrecv in interface GraphOptionsOrBuilderpublic int getTimelineStep()
If > 0, record a timeline every this many steps. EXPERIMENTAL: This currently has no effect in MasterSession.
int32 timeline_step = 8;getTimelineStep in interface GraphOptionsOrBuilderpublic boolean hasRewriteOptions()
Options that control the type and amount of graph rewriting. Not currently configurable via the public Python API (i.e. there is no API stability guarantee if you import RewriterConfig explicitly).
.tensorflow.RewriterConfig rewrite_options = 10;hasRewriteOptions in interface GraphOptionsOrBuilderpublic RewriterConfig getRewriteOptions()
Options that control the type and amount of graph rewriting. Not currently configurable via the public Python API (i.e. there is no API stability guarantee if you import RewriterConfig explicitly).
.tensorflow.RewriterConfig rewrite_options = 10;getRewriteOptions in interface GraphOptionsOrBuilderpublic RewriterConfigOrBuilder getRewriteOptionsOrBuilder()
Options that control the type and amount of graph rewriting. Not currently configurable via the public Python API (i.e. there is no API stability guarantee if you import RewriterConfig explicitly).
.tensorflow.RewriterConfig rewrite_options = 10;getRewriteOptionsOrBuilder in interface GraphOptionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static GraphOptions parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static GraphOptions parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static GraphOptions parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static GraphOptions parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static GraphOptions parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static GraphOptions parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static GraphOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static GraphOptions parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GraphOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GraphOptions parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GraphOptions parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GraphOptions parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GraphOptions.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static GraphOptions.Builder newBuilder()
public static GraphOptions.Builder newBuilder(GraphOptions prototype)
public GraphOptions.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected GraphOptions.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static GraphOptions getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<GraphOptions> parser()
public org.nd4j.shade.protobuf.Parser<GraphOptions> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public GraphOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.