Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCalleeAttr (0.2 sec)

  1. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        MutableOperandRange getArgOperandsMutable() {
          return getArgsMutable();
        }
    
        // Return the callee of this operation.
        CallInterfaceCallable getCallableForCallee() { return getCalleeAttr(); }
        // Sets the callee from the callable
        void setCalleeFromCallable(CallInterfaceCallable callee);
      }];
    
      let assemblyFormat = [{
        $callee `(` $args `)` attr-dict `:` functional-type($args, results)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

    //===----------------------------------------------------------------------===//
    
    void CallOp::setCalleeFromCallable(CallInterfaceCallable callee) {
      // Direct call.
      if (FlatSymbolRefAttr calleeAttr = getCalleeAttr()) {
        auto symRef = callee.get<SymbolRefAttr>();
        return setCalleeAttr(cast<FlatSymbolRefAttr>(symRef));
      }
      // Indirect call, callee Value is the first operand.
      return setOperand(0, callee.get<Value>());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
Back to top