- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 177 for getAbs (0.32 sec)
-
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/lite/stablehlo/transforms/fold_broadcast_pass.cc
} template <typename Op, typename ElementType = Type, typename ValType, typename Convert> static Attribute BinaryFolder(Op *op) { auto lhs_op = op->getLhs().template getDefiningOp<mhlo::ConstantOp>(); auto rhs_op = op->getRhs().template getDefiningOp<mhlo::ConstantOp>(); if (!lhs_op || !lhs_op) return {}; auto lhs = dyn_cast_or_null<DenseElementsAttr>(lhs_op.getValue());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K 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) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
} // namespace void LegalizeTFGToTFE::runOnOperation() { MLIRContext &context = getContext(); ModuleOp module = getOperation(); DenseSet<StringRef> func_symbols; for (auto &op : module.getBodyRegion().getOps()) { if (auto func = llvm::dyn_cast<tfg::GraphFuncOp>(op)) { func_symbols.insert( func->getAttrOfType<StringAttr>(SymbolTable::getSymbolAttrName()) .getValue()); } }
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/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/tensorflow/transforms/executor_tpuv1_inline_tpu_island.cc
// Move all remaining nested functions back into the parent module. Block &nested_block = nested_module->getRegion(0).front(); for (func::FuncOp func_op : llvm::make_early_inc_range(nested_block.getOps<func::FuncOp>())) { if (!symbol_table.lookupSymbolIn(getOperation(), func_op.getName())) { nested_block.getOperations().remove(func_op.getOperation()); symbol_table.insert(func_op.getOperation()); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc
// funtion. This is critical for preserving correctness in the presence of // resource variables and stateful functions. std::vector<Operation*> topological_order; for (Operation& op : parent_func.getOps()) if (ops.contains(&op)) topological_order.push_back(&op); // Create the partitioned call builder.restoreInsertionPoint(insertion_point);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.4K bytes - Viewed (0)