Class EagerServiceOuterClass.RegisterFunctionOp.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.RegisterFunctionOp.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.RegisterFunctionOp.Builder>
      • getDefaultInstanceForType

        public EagerServiceOuterClass.RegisterFunctionOp getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public EagerServiceOuterClass.RegisterFunctionOp build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public EagerServiceOuterClass.RegisterFunctionOp buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.RegisterFunctionOp.Builder>
      • mergeFrom

        public EagerServiceOuterClass.RegisterFunctionOp.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                    throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EagerServiceOuterClass.RegisterFunctionOp.Builder>
        Throws:
        java.io.IOException
      • getFunctionDefBuilder

        public FunctionDef.Builder getFunctionDefBuilder()
        .org.platanios.tensorflow.proto.FunctionDef function_def = 1;
      • setIsComponentFunction

        public EagerServiceOuterClass.RegisterFunctionOp.Builder setIsComponentFunction​(boolean value)
         If true, it means that function_def is produced by graph partition during
         multi-device function instantiation.
         
        bool is_component_function = 2;
        Parameters:
        value - The isComponentFunction to set.
        Returns:
        This builder for chaining.
      • clearIsComponentFunction

        public EagerServiceOuterClass.RegisterFunctionOp.Builder clearIsComponentFunction()
         If true, it means that function_def is produced by graph partition during
         multi-device function instantiation.
         
        bool is_component_function = 2;
        Returns:
        This builder for chaining.
      • hasLibrary

        public boolean hasLibrary()
         All necessary FunctionDefs and GradientDefs to expand `function_def`.
         When is_component_function is true, `function_def` could be a nested
         function, since some nodes in its parent's function body could be
         replaced with a new function by the graph optimization passes. No need to
         add FunctionDefs here to the function cache in EagerContext since they
         won't be executed as KernelAndDevices.
         
        .org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
        Specified by:
        hasLibrary in interface EagerServiceOuterClass.RegisterFunctionOpOrBuilder
        Returns:
        Whether the library field is set.
      • getLibrary

        public FunctionDefLibrary getLibrary()
         All necessary FunctionDefs and GradientDefs to expand `function_def`.
         When is_component_function is true, `function_def` could be a nested
         function, since some nodes in its parent's function body could be
         replaced with a new function by the graph optimization passes. No need to
         add FunctionDefs here to the function cache in EagerContext since they
         won't be executed as KernelAndDevices.
         
        .org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
        Specified by:
        getLibrary in interface EagerServiceOuterClass.RegisterFunctionOpOrBuilder
        Returns:
        The library.
      • setLibrary

        public EagerServiceOuterClass.RegisterFunctionOp.Builder setLibrary​(FunctionDefLibrary value)
         All necessary FunctionDefs and GradientDefs to expand `function_def`.
         When is_component_function is true, `function_def` could be a nested
         function, since some nodes in its parent's function body could be
         replaced with a new function by the graph optimization passes. No need to
         add FunctionDefs here to the function cache in EagerContext since they
         won't be executed as KernelAndDevices.
         
        .org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
      • setLibrary

        public EagerServiceOuterClass.RegisterFunctionOp.Builder setLibrary​(FunctionDefLibrary.Builder builderForValue)
         All necessary FunctionDefs and GradientDefs to expand `function_def`.
         When is_component_function is true, `function_def` could be a nested
         function, since some nodes in its parent's function body could be
         replaced with a new function by the graph optimization passes. No need to
         add FunctionDefs here to the function cache in EagerContext since they
         won't be executed as KernelAndDevices.
         
        .org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
      • mergeLibrary

        public EagerServiceOuterClass.RegisterFunctionOp.Builder mergeLibrary​(FunctionDefLibrary value)
         All necessary FunctionDefs and GradientDefs to expand `function_def`.
         When is_component_function is true, `function_def` could be a nested
         function, since some nodes in its parent's function body could be
         replaced with a new function by the graph optimization passes. No need to
         add FunctionDefs here to the function cache in EagerContext since they
         won't be executed as KernelAndDevices.
         
        .org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
      • clearLibrary

        public EagerServiceOuterClass.RegisterFunctionOp.Builder clearLibrary()
         All necessary FunctionDefs and GradientDefs to expand `function_def`.
         When is_component_function is true, `function_def` could be a nested
         function, since some nodes in its parent's function body could be
         replaced with a new function by the graph optimization passes. No need to
         add FunctionDefs here to the function cache in EagerContext since they
         won't be executed as KernelAndDevices.
         
        .org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
      • getLibraryBuilder

        public FunctionDefLibrary.Builder getLibraryBuilder()
         All necessary FunctionDefs and GradientDefs to expand `function_def`.
         When is_component_function is true, `function_def` could be a nested
         function, since some nodes in its parent's function body could be
         replaced with a new function by the graph optimization passes. No need to
         add FunctionDefs here to the function cache in EagerContext since they
         won't be executed as KernelAndDevices.
         
        .org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
      • getLibraryOrBuilder

        public FunctionDefLibraryOrBuilder getLibraryOrBuilder()
         All necessary FunctionDefs and GradientDefs to expand `function_def`.
         When is_component_function is true, `function_def` could be a nested
         function, since some nodes in its parent's function body could be
         replaced with a new function by the graph optimization passes. No need to
         add FunctionDefs here to the function cache in EagerContext since they
         won't be executed as KernelAndDevices.
         
        .org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
        Specified by:
        getLibraryOrBuilder in interface EagerServiceOuterClass.RegisterFunctionOpOrBuilder