- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 168 for getIPs (0.16 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc
} } Builder stablehlo_builder(stablehlo_module_op.get().getContext()); // Rename XlaCallModuleOp's functions to avoid naming conflicts. for (auto func_op : stablehlo_module_op.get().getOps<func::FuncOp>()) { const std::string new_func_name = CreateNewFuncName(func_op.getSymName(), parent_module_symbol_table); if (failed(stablehlo_module_symbol_table.replaceAllSymbolUses(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 25 09:43:18 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc
// to store its `SymbolTable` to `SymbolTableCollection`. SymbolTable stablehlo_symbol_table(stablehlo_module); Builder builder(context); StringAttr main_func_name; for (auto func : stablehlo_module.getOps<func::FuncOp>()) { const bool is_main_func = func.getSymName() == kStablehloMainFunctionName; if (tf_symbol_table.lookup(func.getSymName())) { if (failed(stablehlo_symbol_table.renameToUnique(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
builder.create<YieldOp>(island_op.getLoc(), yield_operands); } // Outline all the transitively called functions by moving them in the // outlined module. for (func::FuncOp func : outlined_module.getOps<func::FuncOp>()) { func.walk([&](Operation *op) { for (NamedAttribute attr : op->getAttrs()) { if (auto symbol_ref = mlir::dyn_cast<FlatSymbolRefAttr>(attr.getValue())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/freeze_saved_model_assets.cc
void FreezeAssetsPass::runOnOperation() { auto module = getOperation(); if (!tf_saved_model::HasTfSavedModelSemantics(module)) { return; } SymbolTable symbol_table(module); for (auto func : module.getOps<func::FuncOp>()) { llvm::BitVector args_to_erase(func.getNumArguments()); OpBuilder builder(func.getBody()); for (int i = 0, e = func.getNumArguments(); i < e; ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jan 30 01:12:09 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/order_by_dialect.cc
op->getName().getDialectNamespace(); } void OrderByDialectPass::runOnOperation() { ModuleOp module = getOperation(); for (func::FuncOp func : module.getOps<func::FuncOp>()) { std::vector<std::pair<Operation*, Operation*>> side_effect_data; const detail::SideEffectAnalysisInfo* info = nullptr; auto extra_dependencies = [&](Operation* op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 08 17:01:11 UTC 2022 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java
return token; } public String getSegmentation() { return segmentation; } public String getReading() { return reading; } public String getPos() { return pos; } public boolean isUpdated() { return newToken != null; } public boolean isDeleted() { return isUpdated() && newToken.length() == 0;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
LogicalResult UnifyReplicationInfo(func::FuncOp func) { auto new_repl_info = builder.getStringAttr(func.getSymName().str() + "_repl_info"); for (auto& op : func.getRegion().getOps()) { if (auto compile_op = llvm::dyn_cast<TF::TPUCompilationResultOp>(op)) { UpdateReplicationAttr(compile_op, new_repl_info); } else { UpdateReplicationAttr(&op, new_repl_info); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/test_base.h
FailureOr<OpT> FindFirstOpFromMainFunc(ModuleOp module_op) { func::FuncOp main_func_op = FindMainFuncOp(module_op); if (main_func_op == nullptr) return failure(); auto ops = main_func_op.getOps<OpT>(); if (ops.empty()) return failure(); return *ops.begin(); } std::unique_ptr<MLIRContext> ctx_; OpBuilder builder_; }; } // namespace mlir::quant
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 07:19:09 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc
if (function_name.contains("conv")) { return (*(func.getOps<mlir::stablehlo::ConvolutionOp>().begin())) .getDimensionNumbers() .getKernelOutputFeatureDimension(); } else if (function_name.contains("dot_general")) { auto dot = *(func.getOps<mlir::stablehlo::DotGeneralOp>().begin()); const ::mlir::stablehlo::DotDimensionNumbersAttr dimension_numbers =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/compute_cost.cc
return "Compute the total cost for each available subgraph."; } void runOnOperation() override; }; void ComputeCostPass::runOnOperation() { auto module = getOperation(); for (auto func : module.getOps<func::FuncOp>()) { // We only care about those functions annotated with "tac.interface_name". auto interface_name = GetInterFaceName(func); if (!interface_name.has_value()) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 24 15:10:02 UTC 2022 - 4.2K bytes - Viewed (0)