- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 114 for symbol_table_ (0.18 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_composite_functions.cc
options.bit_width_ = 8; // Insert quantization parameters for weights for ops with `weight_only_ptq` // attribute. pm.addNestedPass<func::FuncOp>(createInsertWeightParamPass()); // PrepareQuantizePass uses SymbolTable to fetch relevant GEMM ops for // determining quantization attributes. This requires module-level context. pm.addPass(createPrepareQuantizePass(options)); QuantizePassOptions quantize_options;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 02:59:01 UTC 2024 - 4.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/remove_unused_arguments.cc
// the symbols, so we have to scan through all of them. for (auto attr : op->getAttrs()) { if (auto sym = mlir::dyn_cast<FlatSymbolRefAttr>(attr.getValue())) { Operation* func = mlir::SymbolTable::lookupNearestSymbolFrom(op, sym); if (func) { do_not_touch.insert(func); } } } }); // Find all functions module->walk([&](SymbolOpInterface op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K 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/tf2xla/internal/passes/extract_outside_compilation.cc
// Create a new module to hold func and all referenced functions. OwningOpRef<mlir::ModuleOp> module_for_func = ModuleOp::create(mlir::UnknownLoc::get(func.getContext())); SymbolTable symbol_table(module_for_func.get()); symbol_table.insert(func); *serialized_func_module = tensorflow::SerializeMlirModule(module_for_func.get()); } // Returns whether `op` or ops nested in `op` are outside compiled.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_dataflow.h
#include "mlir/IR/Builders.h" // from @llvm-project #include "mlir/IR/BuiltinOps.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/Pass/Pass.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 3.4K 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) -
tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc
// Convert a savedmodel public function into a private function. // This means we need to remove any attributes that are only allowed // on exported (public) functions. void Unexport(func::FuncOp f) { f.setVisibility(mlir::SymbolTable::Visibility::Private); f->removeAttr(kTfSavedModelExportedNamesAttr); for (int i = 0; i < f.getNumArguments(); ++i) { llvm::ArrayRef<mlir::NamedAttribute> attrs =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4.5K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc
limitations under the License. ==============================================================================*/ #include <queue> #include "llvm/ADT/STLExtras.h" #include "mlir/IR/SymbolTable.h" // from @llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project #include "mlir/Transforms/GreedyPatternRewriteDriver.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:01:13 UTC 2023 - 8K bytes - Viewed (0)