Interface EagerServiceOuterClass.RegisterFunctionOpOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      FunctionDef getFunctionDef()
      .org.platanios.tensorflow.proto.FunctionDef function_def = 1;
      FunctionDefOrBuilder getFunctionDefOrBuilder()
      .org.platanios.tensorflow.proto.FunctionDef function_def = 1;
      boolean getIsComponentFunction()
      If true, it means that function_def is produced by graph partition during multi-device function instantiation.
      FunctionDefLibrary getLibrary()
      All necessary FunctionDefs and GradientDefs to expand `function_def`.
      FunctionDefLibraryOrBuilder getLibraryOrBuilder()
      All necessary FunctionDefs and GradientDefs to expand `function_def`.
      boolean hasFunctionDef()
      .org.platanios.tensorflow.proto.FunctionDef function_def = 1;
      boolean hasLibrary()
      All necessary FunctionDefs and GradientDefs to expand `function_def`.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasFunctionDef

        boolean hasFunctionDef()
        .org.platanios.tensorflow.proto.FunctionDef function_def = 1;
        Returns:
        Whether the functionDef field is set.
      • getFunctionDef

        FunctionDef getFunctionDef()
        .org.platanios.tensorflow.proto.FunctionDef function_def = 1;
        Returns:
        The functionDef.
      • getFunctionDefOrBuilder

        FunctionDefOrBuilder getFunctionDefOrBuilder()
        .org.platanios.tensorflow.proto.FunctionDef function_def = 1;
      • getIsComponentFunction

        boolean getIsComponentFunction()
         If true, it means that function_def is produced by graph partition during
         multi-device function instantiation.
         
        bool is_component_function = 2;
        Returns:
        The isComponentFunction.
      • hasLibrary

        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;
        Returns:
        Whether the library field is set.
      • getLibrary

        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;
        Returns:
        The library.
      • getLibraryOrBuilder

        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;