Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getSymbolRef (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/visitor.cc

                symbol_table != nullptr
                    ? symbol_table->lookupNearestSymbolFrom<func::FuncOp>(
                          use.getUser(), use.getSymbolRef())
                    : SymbolTable::lookupNearestSymbolFrom<
                          func::FuncOp>(use.getUser(), use.getSymbolRef());
            if (called_func == nullptr) {
              op->emitOpError()
                  << "refers to an unknown symbol (expects a function)";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 03:46:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

                                     "have analyzable symbol uses";
      }
      for (auto symbol_use : *symbol_uses) {
        auto func = symbol_table.lookupNearestSymbolFrom<func::FuncOp>(
            symbol_use.getUser(), symbol_use.getSymbolRef());
        if (func && IsExported(func)) {
          // If it is an init function, then it can be used by the unique
          // session_initializer op.
          if (is_init(func) &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

        for (SymbolTable::SymbolUse use : *uses) {
          func::FuncOp referenced_func = entry_module_table.lookup<func::FuncOp>(
              mlir::cast<FlatSymbolRefAttr>(use.getSymbolRef()).getValue());
    
          // Skip Symbols that do not map to a function.
          if (!referenced_func) continue;
    
          referenced.emplace_back(referenced_func);
        }
    
        auto clone = func.clone();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top