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) |
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean getEnableRecvScheduling()
If true, use control flow to schedule the activation of Recv nodes. (Currently ignored.)
bool enable_recv_scheduling = 2;
getEnableRecvScheduling
in interface GraphOptionsOrBuilder
public boolean hasOptimizerOptions()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;
hasOptimizerOptions
in interface GraphOptionsOrBuilder
public OptimizerOptions getOptimizerOptions()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;
getOptimizerOptions
in interface GraphOptionsOrBuilder
public OptimizerOptionsOrBuilder getOptimizerOptionsOrBuilder()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;
getOptimizerOptionsOrBuilder
in interface GraphOptionsOrBuilder
public 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 GraphOptionsOrBuilder
public long getBuildCostModelAfter()
The number of steps to skip before collecting statistics for the cost model.
int64 build_cost_model_after = 9;
getBuildCostModelAfter
in interface GraphOptionsOrBuilder
public 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 GraphOptionsOrBuilder
public 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 GraphOptionsOrBuilder
public boolean getEnableBfloat16Sendrecv()
If true, transfer float values between processes as bfloat16.
bool enable_bfloat16_sendrecv = 7;
getEnableBfloat16Sendrecv
in interface GraphOptionsOrBuilder
public 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 GraphOptionsOrBuilder
public 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 GraphOptionsOrBuilder
public 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 GraphOptionsOrBuilder
public 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 GraphOptionsOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static GraphOptions parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static GraphOptions parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static GraphOptions parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static GraphOptions parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static GraphOptions parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static GraphOptions parseFrom(InputStream input) throws IOException
IOException
public static GraphOptions parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GraphOptions parseDelimitedFrom(InputStream input) throws IOException
IOException
public static GraphOptions parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GraphOptions parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static GraphOptions parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public GraphOptions.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public static GraphOptions.Builder newBuilder()
public static GraphOptions.Builder newBuilder(GraphOptions prototype)
public GraphOptions.Builder toBuilder()
toBuilder
in interface org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected GraphOptions.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public GraphOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2020. All rights reserved.