- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 74 for signalPassFailure (0.49 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc
patterns.add<FuseMhloMulAndConvolutionPattern>(&getContext()); if (failed(applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)))) { return signalPassFailure(); } } }; std::unique_ptr<Pass> createFuseConvolutionPass() { return std::make_unique<FuseMhloConvolutionPass>(); } static PassRegistration<FuseMhloConvolutionPass> pass;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 22:21:19 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc
void LiftHashTableOpsAsArgsPass::runOnOperation() { auto module_op = getOperation(); for (auto func_op : module_op.getOps<func::FuncOp>()) { if (failed(LiftHashTableOpsToArguments(module_op, func_op))) { signalPassFailure(); return; } } } static PassRegistration<LiftHashTableOpsAsArgsPass> pass; } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateLiftHashTableOpsAsArgsPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc
RewritePatternSet patterns(ctx); patterns.add<TransposeCommuteWithPad, TransposeCommuteWithReduceWindow>(ctx); if (failed( applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)))) { return signalPassFailure(); } } } // end namespace std::unique_ptr<OperationPass<ModuleOp>> CreateTransposeCommuteOpsPass() { return std::make_unique<TransposeCommuteOpsPass>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 21:59:06 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc
patterns.add<FoldTransposedConstantOp>(&ctx); if (failed(applyPatternsAndFoldGreedily(func_op, std::move(patterns)))) { func_op.emitError("Failed to fold constant->transpose pattern."); signalPassFailure(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc
if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { func.emitError() << "quant-lift-quantizable-spots-as-functions-drq failed."; signalPassFailure(); } } } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateLiftQuantizableSpotsAsFunctionsDRQPass( const QuantMethod quantization_method, const OpSet target_opset,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc
ml_program::MLProgramDialect>(); } void runOnOperation() override { if (failed(convertTFGlobals(getOperation()))) { signalPassFailure(); } } }; std::unique_ptr<Pass> CreateLowerGlobalsToMlProgramPass() { return std::make_unique<LowerGlobalsToMlProgram>(); } void RegisterLowerGlobalsToMlProgramPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst_test.cc
<< "Failed at " << nestedOp->getName().getStringRef().str() << " op", tflite::metrics::ConverterErrorData::ERROR_NEEDS_FLEX_OPS); } }); signalPassFailure(); }; }; absl::StatusOr<OwningOpRef<mlir::ModuleOp>> LoadModule( MLIRContext* context, const std::string& file_name) { std::string error_message;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 8.2K bytes - Viewed (0) -
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/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/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)