- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for signalPassFailure (0.24 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference_pass.cc
getOperation(), max_iterations_, /*ops_to_skip=*/{}, input_shapes_); if (failed(failure_or_converged)) return signalPassFailure(); if (!failure_or_converged.value()) { getOperation().emitError() << "shape inference pass did not reach convergence after " << max_iterations_; return signalPassFailure(); } } private: ArrayRef<ArrayRef<int64_t>> input_shapes_; }; } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc
module_in, confs, &graph, &flib_def, &control_ret_nodes); if (!status.ok()) { mlir::emitError(mlir::UnknownLoc::get(&ctx)) << status.message(); return signalPassFailure(); } // Run each of the passes that were selected. GraphConstructorOptions opts; opts.allow_internal_ops = true; opts.expect_device_spec = false; GraphOptimizationPassOptions options;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc
DataFlowSolver solver; solver.load<dataflow::DeadCodeAnalysis>(); solver.load<dataflow::SparseConstantPropagation>(); TF::LoadResourceDataflowAnalysis(solver); if (failed(solver.initializeAndRun(module))) return signalPassFailure(); DenseSet<GlobalTensorOp> remaining_global_tensor_ops; { auto ops = module.getOps<GlobalTensorOp>(); remaining_global_tensor_ops.insert(ops.begin(), ops.end()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/update_control_dependencies.cc
// ops. if (failed(tensorflow::VerifyExportSuitable(module_op))) { signalPassFailure(); return; } TF::OpToParallelIdsMap op_to_parallel_ids_map; if (failed(FillOpToParallelIdsMap(module_op, op_to_parallel_ids_map))) { signalPassFailure(); return; } TF::SideEffectAnalysis side_effect_analysis(module_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 30 07:53:51 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_validate_inputs.cc
if (entry_funcs.empty()) { LOG(WARNING) << "missing entry functions"; } if (HasNoNestedEntryFunctions(entry_funcs, symtab).failed()) { return signalPassFailure(); } if (HasTopLevelCompilationMarker(entry_funcs).failed()) { return signalPassFailure(); } } } // namespace namespace TFDevice { std::unique_ptr<OperationPass<ModuleOp>> CreateXlaValidateInputsPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 19:29:14 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_lift_quantizable_spots_as_functions_with_quantization_specs.cc
ParseTextProto(GetQuantizationSpecsTextProto(quantization_specs_)); if (!quantization_specs.ok()) { signalPassFailure(); return; } pass_manager.addPass( CreateLiftQuantizableSpotsAsFunctionsPass(*quantization_specs)); if (failed(pass_manager.run(getOperation()))) { signalPassFailure(); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 23:21:42 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/unfuse_mhlo_batch_norm.cc
RewritePatternSet patterns(ctx); mhlo::populateUnfuseBatchNormPatterns(ctx, &patterns); if (failed( applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)))) { return signalPassFailure(); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 06:28:12 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_quantized_functions.cc
GetFunctionLibrary(quantization_method_, op_set_); if (quantized_function_library.empty()) { emitError(module.getLoc()) << "Failed to get function library for the opset."; signalPassFailure(); return; } mem_buffer = llvm::MemoryBuffer::getMemBuffer(quantized_function_library, /*BufferName=*/"",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc
void RewriteTPUEmbeddingOps::runOnOperation() { func::FuncOp func = getOperation(); if (failed(RunOnRegion(&func.getBody()))) return signalPassFailure(); func.walk([&](Operation* op) { for (Region& region : op->getRegions()) { if (failed(RunOnRegion(®ion))) return signalPassFailure(); } }); } } // anonymous namespace std::unique_ptr<OperationPass<func::FuncOp>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 22:55:42 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/optimize.cc
RewritePatternSet patterns(&getContext()); populateWithGenerated(patterns); auto func = getOperation(); if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) { signalPassFailure(); } } } // namespace std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizeIntGraphPass() { return std::make_unique<OptimizeIntGraph>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 24 02:26:47 UTC 2024 - 2.2K bytes - Viewed (0)