Class RunOptions.Experimental.Builder

  • All Implemented Interfaces:
    Cloneable, org.nd4j.shade.protobuf.Message.Builder, org.nd4j.shade.protobuf.MessageLite.Builder, org.nd4j.shade.protobuf.MessageLiteOrBuilder, org.nd4j.shade.protobuf.MessageOrBuilder, RunOptions.ExperimentalOrBuilder
    Enclosing class:
    RunOptions.Experimental

    public static final class RunOptions.Experimental.Builder
    extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
    implements RunOptions.ExperimentalOrBuilder
     Everything inside Experimental is subject to change and is not subject
     to API stability guarantees in
     https://www.tensorflow.org/guide/version_compat.
     
    Protobuf type tensorflow.RunOptions.Experimental
    • Method Detail

      • getDescriptor

        public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
      • clear

        public RunOptions.Experimental.Builder clear()
        Specified by:
        clear in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clear in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
      • getDefaultInstanceForType

        public RunOptions.Experimental getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public RunOptions.Experimental build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public RunOptions.Experimental buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • clone

        public RunOptions.Experimental.Builder clone()
        Specified by:
        clone in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clone in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
      • clearField

        public RunOptions.Experimental.Builder clearField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
      • clearOneof

        public RunOptions.Experimental.Builder clearOneof​(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
      • setRepeatedField

        public RunOptions.Experimental.Builder setRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
      • addRepeatedField

        public RunOptions.Experimental.Builder addRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
      • mergeFrom

        public RunOptions.Experimental.Builder mergeFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                                         org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws IOException
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<RunOptions.Experimental.Builder>
        Throws:
        IOException
      • getCollectiveGraphKey

        public long getCollectiveGraphKey()
         If non-zero, declares that this graph is going to use collective
         ops and must synchronize step_ids with any other graph with this
         same group_key value (in a distributed computation where tasks
         run disjoint graphs).
         
        int64 collective_graph_key = 1;
        Specified by:
        getCollectiveGraphKey in interface RunOptions.ExperimentalOrBuilder
        Returns:
        The collectiveGraphKey.
      • setCollectiveGraphKey

        public RunOptions.Experimental.Builder setCollectiveGraphKey​(long value)
         If non-zero, declares that this graph is going to use collective
         ops and must synchronize step_ids with any other graph with this
         same group_key value (in a distributed computation where tasks
         run disjoint graphs).
         
        int64 collective_graph_key = 1;
        Parameters:
        value - The collectiveGraphKey to set.
        Returns:
        This builder for chaining.
      • clearCollectiveGraphKey

        public RunOptions.Experimental.Builder clearCollectiveGraphKey()
         If non-zero, declares that this graph is going to use collective
         ops and must synchronize step_ids with any other graph with this
         same group_key value (in a distributed computation where tasks
         run disjoint graphs).
         
        int64 collective_graph_key = 1;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final RunOptions.Experimental.Builder setUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
      • mergeUnknownFields

        public final RunOptions.Experimental.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>