- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 174 for signalPassFailure (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc
patterns = std::move(pattern_list); return success(); } void runOnOperation() override { auto func = getOperation(); if (failed(applyPatternsAndFoldGreedily(func, patterns))) signalPassFailure(); } FrozenRewritePatternSet patterns; }; } // namespace void CreateTFStandardPipeline(OpPassManager &pm, const StandardPipelineOptions &options) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc
patterns.add<QuantizeWeight>(ctx, quantization_component_spec_); FrozenRewritePatternSet frozen_patterns(std::move(patterns)); if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { signalPassFailure(); } } } // namespace // Creates an instance of the StableHLO dialect Quantize Weight pass. std::unique_ptr<OperationPass<func::FuncOp>> CreateQuantizeWeightPass(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/debug/debug_test.cc
} }; class AlwaysFailPass : public mlir::PassWrapper<AlwaysFailPass, mlir::OperationPass<>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(AlwaysFailPass) void runOnOperation() override { signalPassFailure(); } }; } // namespace debug_test namespace { using ::testing::HasSubstr; using ::testing::IsEmpty; using ::testing::Not; using namespace tensorflow::debug_test;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 11:15:16 UTC 2024 - 9.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc
pattern_list.add<HandleIf>(&getContext()); FrozenRewritePatternSet patterns(std::move(pattern_list)); if (failed(applyPatternsAndFoldGreedily(module, patterns))) { signalPassFailure(); } } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateDecomposeOptionalsPass() { return std::make_unique<DecomposeOptionalsPass>(); } } // namespace TF
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
// Get runtime devices information from the closest parent module. auto module = getOperation(); if (failed(CheckPreconditions(module))) signalPassFailure(); mlir::TF::RuntimeDevices devices; if (failed(tensorflow::GetDevicesFromOp(module, &devices))) return signalPassFailure(); llvm::SmallVector<mlir::tf_device::ParallelExecuteOp, 4> tmp_parallel_execute_ops; std::optional<bool> is_map_oc;
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/quantization/stablehlo/passes/convert_func_to_bfloat16.cc
BFloat16TypeConversionTarget target(*context, converter); if (failed(applyPartialConversion(func_op.getOperation(), target, std::move(patterns)))) { return signalPassFailure(); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/pin_ops_with_side_effects.cc
// for them. if (fn.walk([&](TFL::ControlNodeOp) { return WalkResult::interrupt(); }).wasInterrupted()) { fn.emitOpError("Can't have control ops in this pass."); signalPassFailure(); } llvm::SmallVector<Operation *, 4> ops_with_side_effects; // We're iterating over all operations at the top block level, excluding
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc
return mlir::WalkResult::interrupt(); } return mlir::WalkResult::advance(); }); if (result.wasInterrupted()) { return signalPassFailure(); } RemoveSerializedStablehloFunctions(module); } }; } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateXlaCallModuleSerializationPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
SymbolTable symbol_table(getOperation()); if (Operation *nested_module = symbol_table.lookup(kNestedModule)) { nested_module->emitOpError("unexpected already present outlined module."); return signalPassFailure(); } ModuleOp outlined_module = ModuleOp::create(getOperation().getLoc()); outlined_module->setAttrs(getOperation()->getAttrDictionary()); outlined_module->setAttr(SymbolTable::getSymbolAttrName(),
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/lite/transforms/lift_tflite_flex_ops.cc
mlir::RewritePatternSet patterns(context); AddLiftTfliteFlexOpsPatterns(context, patterns); if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) { signalPassFailure(); return; } } }; } // namespace void AddLiftTfliteFlexOpsPatterns(MLIRContext* context, RewritePatternSet& patterns) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0)