Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for symbol_table_ (0.19 sec)

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

      // function will be replaced with the cloned function.
      SymbolTable symbol_table(module);
      for (auto& func : funcs_to_rewrite) {
        if (func.getSecond().original.isPublic() &&
            !func.getSecond().original.symbolKnownUseEmpty(module)) {
          auto clone = func.getSecond().original.clone();
          clone.setPrivate();
          symbol_table.insert(clone);
          func.getSecond().clone = clone;
        }
      }
    
    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. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

    //===----------------------------------------------------------------------===//
    
    LogicalResult ClusterFuncOp::verifySymbolUses(
        mlir::SymbolTableCollection& symbolTable) {
      StringAttr func_attr = getFuncAttr().getRootReference();
      func::FuncOp func =
          symbolTable.lookupNearestSymbolFrom<func::FuncOp>(*this, func_attr);
      if (!func) {
        return emitError("'func' attribute refers to an undefined function: ")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

      auto func_uses = SymbolTable::getSymbolUses(func, &module.getBodyRegion());
      if (func_uses.has_value() && llvm::hasSingleElement(func_uses.value()))
        return func;
      func::FuncOp cloned = func.clone();
      cloned.setPrivate();
      cloned.setName(
          StringAttr::get(func.getContext(), func.getName().str() + "_lifted"));
      SymbolTable(module).insert(cloned);
      return cloned;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    #include "mlir/IR/Location.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/SymbolTable.h"  // from @llvm-project
    #include "mlir/IR/TypeUtilities.h"  // from @llvm-project
    #include "mlir/IR/Types.h"  // from @llvm-project
    #include "mlir/IR/Value.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc

    #include <vector>
    
    #include "llvm/ADT/MapVector.h"
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/SymbolTable.h"  // from @llvm-project
    #include "mlir/IR/Value.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

        }
    
        // Clone the `host_func` in the `host_mlir_module` attribute if it exists
        // and use it for `shape_inference_graph` attribute on XlaHostCompute.
        func::FuncOp cloned_func;
        SymbolTable manager(op->getParentOfType<ModuleOp>());
        StringRef host_module = op.getHostMlirModule();
        if (!host_module.empty()) {
          mlir::OwningOpRef<mlir::ModuleOp> module_for_func;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

        MutableOperandRange getArgOperandsMutable() {
          return getArgsMutable();
        }
        // returns the function that this operation will launch.
        func::FuncOp getFuncOp() {
          return SymbolTable::lookupNearestSymbolFrom<func::FuncOp>(*this, getFuncAttr());
        }
        CallInterfaceCallable getCallableForCallee() {
          return getFuncAttr();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

    #include "mlir/IR/Location.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/IR/SymbolTable.h"  // from @llvm-project
    #include "mlir/IR/Visitors.h"  // from @llvm-project
    #include "mlir/Interfaces/CallInterfaces.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    #include "mlir/IR/Location.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/SymbolTable.h"  // from @llvm-project
    #include "mlir/IR/TypeUtilities.h"  // from @llvm-project
    #include "mlir/IR/Types.h"  // from @llvm-project
    #include "mlir/IR/Value.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

        info.signature_change = false;
        if (lowered_callee != callee) {
          lowered_callee.setName(
              StringAttr::get(callee->getContext(), callee.getName()));
          callee.erase();
          SymbolTable(module).insert(lowered_callee);
        }
      } else {
        info.signature_change = true;
        for (auto& entry : callee_map) {
          auto buffer_arg = mlir::dyn_cast<BlockArgument>(entry.getFirst());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top