- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 96 for getCss (0.07 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc
mlir::Builder builder(context); StringAttr resource_name_id = builder.getStringAttr(kResourceNameArgAttr); SmallSet<StringRef, 4> resource_names; for (func::FuncOp func : module.getOps<func::FuncOp>()) { for (int i = 0, e = func.getNumArguments(); i < e; ++i) { auto resource_arg = func.getArgAttrOfType<StringAttr>(i, kResourceNameArgAttr); if (!resource_arg) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
template <typename GemmStyleOp> // Match for all gemm_style op and check for possible fusions. LogicalResult MatchGemmStyleOp(func::FuncOp entry_func_op) { const auto op_iterator_range = entry_func_op.getOps<GemmStyleOp>(); if (op_iterator_range.empty()) { LLVM_DEBUG(llvm::dbgs() << "Function does not have " << GemmStyleOp::getOperationName() << " op.\n"); return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/IdeaWorkspace.java
private XmlFileContentMerger iws; /** * Enables advanced manipulation of the output XML. * <p> * For example see docs for {@link IdeaWorkspace} */ public XmlFileContentMerger getIws() { return iws; } public void setIws(XmlFileContentMerger iws) { this.iws = iws; } /** * Enables advanced manipulation of the output XML. * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/per_function_aggregate_analysis.h
void runOnOperation() override { ModuleOp op = this->getOperation(); DerivedT& derived = *static_cast<DerivedT*>(this); auto& analysis = this->template getAnalysis<AnalysisT>(); for (auto func : op.getOps<func::FuncOp>()) if (!func.isExternal()) derived.runOnFunction(func, analysis.GetAnalysisForFunc(func)); } }; } // namespace TF } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 19 00:13:50 UTC 2022 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
if (!mlir::cast<ShapedType>(conv_op.getRhs().getType()).hasStaticShape()) { return false; } if (!mlir::cast<ShapedType>(conv_op.getLhs().getType()).hasStaticShape() && !mlir::cast<ShapedType>(conv_op.getType()).hasStaticShape()) { auto dnums = conv_op.getDimensionNumbers(); auto lhs_type = mlir::cast<ShapedType>(conv_op.getLhs().getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K 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) -
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/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)