- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for signalPassFailure (0.33 sec)
-
tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc
if (failed(ConvertTFTextAPI(func, api_name, attr))) { return signalPassFailure(); } } else if (api_name == kCustomSSDPostprocessing) { ConvertSSDPostProcessFunc convert_ssd_postprocess(func, attr); if (failed(convert_ssd_postprocess.VerifySignature())) return; if (failed(convert_ssd_postprocess.RewriteFunc())) { return signalPassFailure(); } } else if (api_name == kCustomMaxUnpooling) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc
op->emitOpError() << "embedding ops in two different regions"; return signalPassFailure(); } if (GetReplicationAttr(op) != replication_attr) { op->emitOpError() << "embedding ops with different replication info " << replication_attr << " vs " << GetReplicationAttr(op); return signalPassFailure(); } } // TODO(bfontain): Check that the region here is the region
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
return WalkResult::interrupt(); to_be_erased.push_back(op); return WalkResult::advance(); }); if (result.wasInterrupted()) return signalPassFailure(); if (failed(tensorflow::EraseClusterFuncs(to_be_erased))) return signalPassFailure(); // Eliminate TPUCompilationResultOp now that the rewrite is complete. for (auto& it : compilation_results) { for (auto op : it.second) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
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/tensorflow/transforms/breakup-islands.cc
if (llvm::hasSingleElement(graph_op_range)) graph_op = dyn_cast<tf_executor::GraphOp>(func.front().front()); if (!graph_op) { func.emitError("expected function to contain only a graph_op"); signalPassFailure(); return; } // New control inputs to be added. For an operation x, new_control_inputs[x] // contains all control inputs that need to be added to x as operands.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 16.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/pick_subgraphs.cc
"we cannot find corresponding implementation for this call op"); signalPassFailure(); } for (auto impl : impl_iter->second) { auto inference_device_type = GetInferenceDeviceTypeForOp(impl); if (!inference_device_type.has_value()) { impl.emitError("we cannot find inference device type for this func"); signalPassFailure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 24 15:10:02 UTC 2022 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_cfg.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 13 11:42:59 UTC 2023 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
mlir::ModuleOp module = func->getParentOfType<mlir::ModuleOp>(); if (!module) return signalPassFailure(); func.walk([&](ClusterOp cluster) { if (auto replicate = cluster->getParentOfType<ReplicateOp>()) { if (failed(MoveAllBroadcastsToCluster(cluster, replicate, module))) { return signalPassFailure(); } } }); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0)