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

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

        org.nd4j.shade.protobuf.ByteString getNameBytes()
        string name = 2;
        Returns:
        The bytes for name.
      • getInputsCount

        int getInputsCount()
        repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
      • getControlOpIdsList

        List<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, .tensorflow.AttrValue> attrs = 5;
      • containsAttrs

        boolean containsAttrs​(String key)
        map<string, .tensorflow.AttrValue> attrs = 5;
      • getAttrsMap

        Map<String,​AttrValue> getAttrsMap()
        map<string, .tensorflow.AttrValue> attrs = 5;
      • getAttrsOrDefault

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

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

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

        org.nd4j.shade.protobuf.ByteString getDeviceBytes()
        string device = 6;
        Returns:
        The bytes for device.