- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 175 for signalPassFailure (0.23 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc
if (isa<tf_device::LaunchOp>(op->getParentOp())) { if (failed(MovePreprocessingOpInLaunch(&builder, getOperation(), op))) return signalPassFailure(); } else { if (failed(MoveStandalonePreprocessingOp(&builder, getOperation(), op))) return signalPassFailure(); } RewritePreprocessInputs(&builder, getOperation(), op); } // Handle ops with mini_batch_in_csr attribute.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc
// represented with TF IfOp and WhileOp operations. In this case, there // should be only one basic blocks in the MLIR representation. if (failed(CheckSingleBlockFunction(func))) return signalPassFailure(); llvm::SmallVector<std::string, 4> var_handle_shared_names; if (failed(ResourceLiftingForFunctionalControlFlow(func)) || failed(PromoteVarHandlesToArguments(func, /*add_validation=*/true,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc
failed(ApplyVhloToVersionPatterns(module, target_version)) || failed(ApplyTypeConverter(module, to_builtin_converter)) || failed(ApplyUnrealizedCastCanonicalization(module))) return signalPassFailure(); } }; struct LegalizeVhloToStablehloPass : public impl::LegalizeVhloToStablehloPassBase< LegalizeVhloToStablehloPass> { void runOnOperation() override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 19:48:51 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_composite_functions.cc
} ModuleOp module_op = getOperation(); if (const absl::Status pm_run_status = RunPassesOnModuleOp(mlir_dump_file_name_, pm, module_op); !pm_run_status.ok()) { signalPassFailure(); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 02:59:01 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc
if (failed(*status) || !op->use_empty()) return WalkResult::interrupt(); op->erase(); } return WalkResult::advance(); }); if (result.wasInterrupted()) { signalPassFailure(); return; } } } // namespace std::unique_ptr<OperationPass<func::FuncOp>> CreateTPUPartitionedOpConversionPass() { return std::make_unique<TPUPartitionedOpConversionPass>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_inline_tpu_island.cc
return WalkResult::interrupt(); } called_func.erase(); call_op.erase(); return WalkResult::advance(); }); if (walk_result.wasInterrupted()) return signalPassFailure(); // Move all remaining nested functions back into the parent module. Block &nested_block = nested_module->getRegion(0).front(); for (func::FuncOp func_op :
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/lite/stablehlo/transforms/smuggle_disallowed_ops.cc
target.addLegalDialect<mlir::stablehlo::StablehloDialect>(); if (failed(applyPartialConversion(getOperation(), target, std::move(patterns)))) { signalPassFailure(); } } }; std::unique_ptr<Pass> CreateSmuggleDisallowedOpsPass() { return std::make_unique<SmuggleDisallowedOpsPass>(); } static PassRegistration<SmuggleDisallowedOpsPass> pass;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 19 01:14:04 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_tf_to_stablehlo_pass.cc
mlir::PassManager pm(ctx); AddTFToStablehloPasses(pm); if (!RunPassesOnModuleOp( /*mlir_dump_file_name=*/"test_tf_to_stablehlo_pass", pm, module_op) .ok()) { return signalPassFailure(); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 17:19:36 UTC 2024 - 3.1K bytes - Viewed (0) -
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)