Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for symbol_users_ (0.39 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // corresponds to a constant value.
      ValuePortResultMap results_;
    
      // Map from a function to the callers of that function.
      SymbolTableCollection symbol_table_;
      SymbolUserMap symbol_users_;
    
      // Queue of functions being processed.
      llvm::DenseSet<func::FuncOp> queue_set_;
      std::queue<func::FuncOp> queue_;
    
      int64_t graph_version_;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/guarantee_all_funcs_one_use.cc

          return failure();
    
        do {
          SymbolUserMap symbol_users(symbol_table_collection, module);
    
          made_changes = false;
          for (auto func :
               llvm::make_early_inc_range(module.getOps<func::FuncOp>())) {
            ArrayRef<Operation *> users = symbol_users.getUsers(func);
            if (users.size() <= 1) {
              continue;
            }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

        //
        // func.func @f(...) -> ... {
        //     yield %x : foo
        // }
        // ...
        // func.call f(...) -> foo
        auto symbol_uses = f.getSymbolUses(f->getParentOp());
        if (!symbol_uses.has_value()) {
          return failure();
        }
        for (auto use : *symbol_uses) {
          Operation* caller = use.getUser();
          bool changed = false;
          rewriter.startOpModification(caller);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

                     func.getName();
            });
      };
    
      auto symbol_uses = SymbolTable::getSymbolUses(&module.getBodyRegion());
      if (!symbol_uses.has_value()) {
        return module.emitError() << "modules with 'tf_saved_model.semantics' must "
                                     "have analyzable symbol uses";
      }
      for (auto symbol_use : *symbol_uses) {
        auto func = symbol_table.lookupNearestSymbolFrom<func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top