- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 98 for signalPassFailure (0.34 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_duplicate_resource_ops.cc
existing_resource->getResult(0).getType()) { resource_op->emitOpError( "This op has the same `shared_name` but different type with another " "resource op in the function"); signalPassFailure(); return; } op.replaceAllUsesWith(existing_resource->getParentOp()->getResults()); ops_to_remove.push_back(&op); } // Remove op after the loop to avoid crash.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 26 04:26:16 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_custom_call_to_composite.cc
patterns.add<ReplaceCustomCallWithComposite>(context); if (failed(applyPartialConversion(getOperation(), target, std::move(patterns)))) { return signalPassFailure(); } } }; static PassRegistration<LegalizeStablehloCustomCallToCompositePass> pass_shlo_sc2c; } // namespace odml
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_post_calibration_component.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 12:53:33 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/remove_vars_in_session_initializer.cc
if (!init_func_op) return; if (init_func_op.getBlocks().size() != 1) { init_func_op.emitError("expects exactly one block in the MLIR function"); return signalPassFailure(); } auto var_handle_ops = init_func_op.getBlocks().front().getOps<VarHandleOp>(); llvm::SmallVector<VarHandleOp, 4> init_vars(var_handle_ops.begin(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_while_results.cc
RewritePatternSet patterns(context); TF::WhileRegionOp::getCanonicalizationPatterns(patterns, context); if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) { signalPassFailure(); } } } // namespace std::unique_ptr<OperationPass<func::FuncOp>> CreateRemoveUnusedWhileResultsPass() { return std::make_unique<RemoveUnusedWhileResultsPass>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 16 01:49:07 UTC 2022 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/compute_cost.cc
if (!interface_name.has_value()) continue; auto target = GetTargetAnnotation(func); if (!target.has_value()) { func.emitError("we cannot get hardware info for this function."); signalPassFailure(); } float total_cost = GetCostForFunc(&func, *target); OpBuilder builder(func); UpdateCost(func, total_cost, &builder); } } } // namespace
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/quantization/stablehlo/passes/bridge/verify_quant_legalization.cc
<< op->getName().getStringRef().str(); return WalkResult::interrupt(); } return WalkResult::advance(); }); if (walk_result.wasInterrupted()) { signalPassFailure(); } } } // namespace std::unique_ptr<OperationPass<func::FuncOp>> CreateVerifyQuantLegalizationPass() { return std::make_unique<VerifyQuantLegalization>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/guarantee_all_funcs_one_use.cc
class GuaranteeAllFuncsOneUse : public impl::GuaranteeAllFuncsOneUsePassBase<GuaranteeAllFuncsOneUse> { public: void runOnOperation() override { if (failed(Run())) { signalPassFailure(); } } LogicalResult Run() { auto module = getOperation(); // Overall strategy: // Fixed point iteration, iteratively applying a rule that clones
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.cc
if (failed(applyPatternsAndFoldGreedily(module_op, std::move(patterns)))) { module_op.emitError() << "quant-convert-tpu-model-to-cpu pattern " "conversion did not converge."; signalPassFailure(); return; } } } // namespace // Creates an instance of `ConvertTpuModelToCpuPass`. std::unique_ptr<OperationPass<ModuleOp>> CreateConvertTpuModelToCpuPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_var_init_by_const.cc
if (failed( applyPatternsAndFoldGreedily(init_func_op, std::move(patterns)))) { init_func_op->emitError( "Failed to remove variable assignment by const patterns."); signalPassFailure(); } } else { LOG(INFO) << "Initializer function with type 'restore_op' does not exist. " "'RemoveVariableInitializationByConstPass' is a no-op."; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 03 12:04:03 UTC 2023 - 4.5K bytes - Viewed (0)