Interface EagerServiceOuterClass.OperationOrBuilder

    • Method Detail

      • getId

        long getId()
         A unique identifier for the operation. Set by the client so that the client
         can uniquely identify the outputs of the scheduled operation.
         In the initial implementation, sending duplicate IDs has undefined
         behaviour, but additional constraints may be placed upon this in the
         future.
         
        int64 id = 1;
        Returns:
        The id.
      • getName

        java.lang.String getName()
        string name = 2;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
        string name = 2;
        Returns:
        The bytes for name.
      • getOpInputsCount

        int getOpInputsCount()
        repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
      • getControlOpIdsList

        java.util.List<java.lang.Long> getControlOpIdsList()
         Control Operation IDs that will be respected when ops are re-ordered by
         async execution. If async execution (+ op re-ordering) is not enabled, this
         should have no effect.
         
        repeated int64 control_op_ids = 4;
        Returns:
        A list containing the controlOpIds.
      • getControlOpIdsCount

        int getControlOpIdsCount()
         Control Operation IDs that will be respected when ops are re-ordered by
         async execution. If async execution (+ op re-ordering) is not enabled, this
         should have no effect.
         
        repeated int64 control_op_ids = 4;
        Returns:
        The count of controlOpIds.
      • getControlOpIds

        long getControlOpIds​(int index)
         Control Operation IDs that will be respected when ops are re-ordered by
         async execution. If async execution (+ op re-ordering) is not enabled, this
         should have no effect.
         
        repeated int64 control_op_ids = 4;
        Parameters:
        index - The index of the element to return.
        Returns:
        The controlOpIds at the given index.
      • getAttrsCount

        int getAttrsCount()
        map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
      • containsAttrs

        boolean containsAttrs​(java.lang.String key)
        map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
      • getAttrs

        @Deprecated
        java.util.Map<java.lang.String,​AttrValue> getAttrs()
        Deprecated.
        Use getAttrsMap() instead.
      • getAttrsMap

        java.util.Map<java.lang.String,​AttrValue> getAttrsMap()
        map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
      • getAttrsOrDefault

        AttrValue getAttrsOrDefault​(java.lang.String key,
                                    AttrValue defaultValue)
        map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
      • getAttrsOrThrow

        AttrValue getAttrsOrThrow​(java.lang.String key)
        map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
      • getDevice

        java.lang.String getDevice()
        string device = 6;
        Returns:
        The device.
      • getDeviceBytes

        com.google.protobuf.ByteString getDeviceBytes()
        string device = 6;
        Returns:
        The bytes for device.
      • getIsComponentFunction

        boolean getIsComponentFunction()
         Indicates whether the op is a component of a multi-device function.
         
        bool is_component_function = 7;
        Returns:
        The isComponentFunction.
      • getFuncStepId

        long getFuncStepId()
         Set when is_component_function is true. It's initially generated
         when we create an FunctionLibraryRuntime::Options (negative value) and used
         to create Rendezvous for function execution. All components of a
         multi-device function should use the same step id to make sure that they
         can communicate through Send/Recv ops.
         
        int64 func_step_id = 8;
        Returns:
        The funcStepId.
      • getIsFunction

        boolean getIsFunction()
         Indicates whether the op is a function.
         
        bool is_function = 9;
        Returns:
        The isFunction.