- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for InFlightDiagnostic (0.2 sec)
-
tensorflow/compiler/mlir/lite/metrics/error_collector_inst.h
}; // Prefix when adding error code as a note in Diagnostic. constexpr char kErrorCodePrefix[] = "Error code: "; // Adds error code to a newly created InFlightDiagnostic. inline InFlightDiagnostic AttachErrorCode(InFlightDiagnostic &&diag, int error_code) { using tflite::metrics::ConverterErrorData; diag.attachNote() << kErrorCodePrefix
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/test_resource_alias_analysis.cc
InFlightDiagnostic diag = op->emitRemark("Region #") << region.getRegionNumber() << ", Arg #" << region_arg.getArgNumber(); print_aliases(diag, region_arg); } } for (auto result : TF::filter_resources(op->getResults())) { InFlightDiagnostic diag = op->emitRemark("Result #")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 19 00:13:50 UTC 2022 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_types.h
} static Derived getChecked(function_ref<InFlightDiagnostic()> emitError, MLIRContext* context, ArrayRef<StringAttr> attrs) { return Base::getChecked(emitError, context, attrs); } static Derived get(MLIRContext* context) { return get({}, context); } // TODO(fengliuai): fix the implementation static LogicalResult verify(function_ref<InFlightDiagnostic()> emitError,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 07:17:01 UTC 2023 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
// Eliminate TPUCompilationResultOp now that the rewrite is complete. for (auto& it : compilation_results) { for (auto op : it.second) { if (!op.use_empty()) { mlir::InFlightDiagnostic err = op.emitError("uses remain post rewrite"); for (auto user : op->getUsers()) err.attachNote(user->getLoc()) << "remaining user"; return signalPassFailure(); } op.erase();
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/tf2xla/internal/passes/tpu_cluster_formation.cc
// might have runtime impact for existing models. // We should make this message an error once there is such a contract // and once existing cases have been fixed. mlir::InFlightDiagnostic error = strict_clusters ? mlir::emitError(op.getLoc(), "") : mlir::emitWarning(op.getLoc(), ""); error << "Op has cyclic dependency with a compilation cluster:\n";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
// is static. // Note: We do not handle this situation as an error, this would be too // restrictive due to incompleteness of shape inference at this point. mlir::InFlightDiagnostic diag = mlir::emitWarning(op->getLoc(), "has static shape result"); if (op->getContext()->shouldPrintOpOnDiagnostic()) { diag.attachNote(op->getLoc()) .append("see current operation: ")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0)