- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for kErrorCodePrefix (0.38 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 << ConverterErrorData::ErrorCode_Name(error_code);
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/lite/metrics/error_collector_inst.cc
} for (const auto ¬e : diag.getNotes()) { const std::string note_str = note.str(); if (absl::StartsWith(note_str, kErrorCodePrefix)) { error_code = note_str.substr(sizeof(kErrorCodePrefix) - 1); } error_message += "\n"; if (note_str.size() <= kMaxAcceptedNoteSize) { error_message += note_str; } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 5.3K bytes - Viewed (0)