Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCallableForCallee (0.31 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_cluster_formation.cc

      // attribute.
      for (auto &pcall_op : outermost_pcall_ops) {
        auto call = llvm::cast<CallOpInterface>(pcall_op.getOperation());
        CallInterfaceCallable callable = call.getCallableForCallee();
        auto sym = callable.get<mlir::SymbolRefAttr>();
        EncapsulatePartitionedCall(pcall_op, sym.getRootReference());
      }
      // Partitioned calls are executed asynchronous. The calls outside of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 19:09:44 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc

        args_to_remap.insert(std::make_pair(op, return_to_operand));
      });
    
      // Find all callers
      module->walk([&](CallOpInterface op) {
        auto callable = op.getCallableForCallee();
        mlir::SymbolRefAttr sym = callable.dyn_cast<mlir::SymbolRefAttr>();
        if (!sym) return;
        Operation* func = mlir::SymbolTable::lookupNearestSymbolFrom(op, sym);
        if (!args_to_erase.count(func)) return;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top