Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getCallableForCallee (0.15 sec)

  1. 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