- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 44 for symbol_table_ (0.26 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
func::FuncOp GetEntryFuncOp(TF::XlaCallModuleOp xla_call_module_op, const SymbolTable symbol_table) { const auto entry_function_symbol_ref = xla_call_module_op->getAttrOfType<FlatSymbolRefAttr>(kEntryFuncAttrName); return dyn_cast_or_null<func::FuncOp>( symbol_table.lookup(entry_function_symbol_ref.getValue())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/call_graph_util_test.cc
context.loadDialect<mlir::func::FuncDialect, mlir::TF::TensorFlowDialect>(); mlir::OwningOpRef<mlir::ModuleOp> module = mlir::parseSourceString<mlir::ModuleOp>(code, &context); ASSERT_TRUE(module); mlir::SymbolTable symtab(*module); llvm::SmallVector<mlir::func::FuncOp> callees; module->walk([&](mlir::SymbolUserOpInterface op) { auto result = GetCallees(op, symtab, callees).succeeded(); ASSERT_TRUE(result);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 20 04:39:18 UTC 2023 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
output.replaceAllUsesWith(identity_input); identity_op.erase(); } } } } void TpuV1BridgeExecutorIslandCoarsening::runOnOperation() { SymbolTable symbol_table(getOperation()); // Map tpu cluster names to the functions that contain operations for this // cluster. DenseMap<StringRef, DenseSet<func::FuncOp>> tpu_funcs;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc
"Entry computation does not have equal number of parameters to op " "operands"); } ModuleOp mlir_module = op_->getParentOfType<ModuleOp>(); mlir::OpBuilder builder(op_); mlir::SymbolTable symbol_table(mlir_module); llvm::SmallVector<mlir::Value> arguments; for (int i = 0; i < op_->getNumOperands(); i++) { arguments.push_back(op_->getOperand(i)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 18.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc
func::FuncOp init_function = SymbolTable::lookupNearestSymbolFrom<func::FuncOp>( generator_op, generator_op.getInitFunc()); func::FuncOp next_function = SymbolTable::lookupNearestSymbolFrom<func::FuncOp>( generator_op, generator_op.getNextFunc()); func::FuncOp finalize_function = SymbolTable::lookupNearestSymbolFrom<func::FuncOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc
#include "mlir/IR/BuiltinTypes.h" // from @llvm-project #include "mlir/IR/Operation.h" // from @llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project #include "mlir/IR/Value.h" // from @llvm-project #include "mlir/Interfaces/CallInterfaces.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/decompose.cc
#include "mlir/IR/BuiltinOps.h" // from @llvm-project #include "mlir/IR/BuiltinTypes.h" // from @llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project #include "mlir/IR/Value.h" // from @llvm-project #include "mlir/IR/Visitors.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 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
#include "mlir/IR/BuiltinAttributes.h" // from @llvm-project #include "mlir/IR/IRMapping.h" // from @llvm-project #include "mlir/IR/PatternMatch.h" // from @llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project #include "mlir/IR/Visitors.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "mlir/Transforms/DialectConversion.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc
void PromoteResourcesToArgsPass::runOnOperation() { ModuleOp module = getOperation(); if (llvm::size(functions_) == 0) { functions_ = {"main"}; } SymbolTable symbolTable(module); for (const std::string& f : functions_) { func::FuncOp func = symbolTable.lookup<func::FuncOp>(f); if (!func) continue; // This routine should only be called when control flow operations are still
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
#include "mlir/IR/Location.h" // from @llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project #include "mlir/IR/Matchers.h" // from @llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "mlir/Transforms/RegionUtils.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0)