Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 139 for call_op (0.18 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

          auto uses = func.getSymbolUses(module);
          if (!uses) continue;
          for (auto& use : *uses) {
            // Only `mlir::func::CallOp` is supported as this requires knowing how
            // to rewrite arguments and results to a function.
            if (!isa<mlir::func::CallOp>(use.getUser())) continue;
            auto caller_parent_func =
                use.getUser()->getParentOfType<func::FuncOp>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprogcgo/coro.go

    // license that can be found in the LICENSE file.
    
    //go:build goexperiment.rangefunc && !windows
    
    package main
    
    /*
    #include <stdint.h> // for uintptr_t
    
    void go_callback_coro(uintptr_t handle);
    
    static void call_go(uintptr_t handle) {
    	go_callback_coro(handle);
    }
    */
    import "C"
    
    import (
    	"fmt"
    	"iter"
    	"runtime/cgo"
    )
    
    func init() {
    	register("CoroCgoIterCallback", func() {
    		println("expect: OK")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets.cc

      target.addLegalDialect<arith::ArithDialect>();
      target.addLegalDialect<func::FuncDialect>();
      target.addLegalDialect<tensor::TensorDialect>();
      target.addLegalDialect<shape::ShapeDialect>();
      target.addLegalOp<func::CallOp>();
    
      // These ops are legalized in LegalizeTFCommunication after this and that pass
      // only operates on MHLO control flow ops.
      target.addLegalOp<TF::_XlaHostComputeMlirOp, TF::XlaSendToHostOp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc

    llvm::SmallSetVector<Operation*, 4> GetAllOpsFromIf(TF::IfRegionOp if_op) {
      llvm::SmallSetVector<Operation*, 4> all_ops;
      all_ops.insert(if_op);
      for (Operation& op : if_op.getThenBranch().front()) {
        all_ops.insert(&op);
      }
      for (Operation& op : if_op.getElseBranch().front()) {
        all_ops.insert(&op);
      }
      return all_ops;
    }
    
    // Returns whether it is safe to merge `second_if` IfRegion into `first_if`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

        }
        if_op.getResult(i).replaceAllUsesWith(
            if_op.getOperand(then_forward_input + 1));
      }
      if_op.erase();
      return success();
    }
    
    template <typename CallOp>
    LogicalResult HandlePartitionedCallOp(
        CallOp call, func::FuncOp callee, ModuleOp module,
        llvm::SmallDenseMap<Value, TensorArrayStats>* stats,
        llvm::StringMap<PartitionedCallTensorArrayOpsInfo>*
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/noder/stmt.go

    var branchOps = [...]ir.Op{
    	syntax.Break:       ir.OBREAK,
    	syntax.Continue:    ir.OCONTINUE,
    	syntax.Fallthrough: ir.OFALL,
    	syntax.Goto:        ir.OGOTO,
    }
    
    var callOps = [...]ir.Op{
    	syntax.Defer: ir.ODEFER,
    	syntax.Go:    ir.OGO,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 02:39:32 UTC 2023
    - 564 bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

            try {
                int off, tot, n;
    
                buf = new NdrBuffer(stub, 0);
    
                msg.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
                msg.call_id = call_id++;
    
                msg.encode(buf);
    
                if (securityProvider != null) {
                    buf.setIndex(0);
                    securityProvider.wrap(buf);
                }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h

      // within its purview are mutating in nature.
      void PropagatePotentiallyWrittenWithinUnhandledOp(Operation* op);
    
      // Given a Region associated with the callee and operands from the
      // corresponding callOp, propagate the potentially written decision to the
      // callOp's operands, if the corresponding region's arguments are potentially
      // written resources.
      void PropagatePotentiallyWrittenUpFromCallee(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/convert_session_initializer_to_function.cc

        // needs it to be private.
        func.setVisibility(SymbolTable::Visibility::Private);
        func->removeAttr("tf_saved_model.exported_names");
    
        ArrayRef<Value> args;
        builder.create<func::CallOp>(session_initializer.getLoc(),
                                     func.getFunctionType().getResults(),
                                     func.getSymName(), args);
      }
      builder.create<func::ReturnOp>(session_initializer.getLoc());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 05:03:09 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

        }
      });
    }
    
    std::vector<quantfork::QuantizeRegionOp> QuantizeContext::GetAllOps() {
      std::vector<quantfork::QuantizeRegionOp> all_ops;
      all_ops.reserve(128);
      func_.walk([&](quantfork::QuantizeRegionOp op) { all_ops.push_back(op); });
      return all_ops;
    }
    
    KernelSpecs::Signature QuantizeContext::GetSignature(
        quantfork::QuantizeRegionOp op) {
      KernelSpecs::Signature signature;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top