File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
tensorflow_lite_support/c Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -86,25 +86,6 @@ void CreateTfLiteSupportErrorWithStatus(const absl::Status& status,
8686 }
8787 }
8888
89- // *error = new TfLiteSupportError;
90- // // TfLiteErrorCode has a one to one mapping with TfLiteSupportStatus
91- // starting
92- // // from the value 1(kError) and hence will be correctly initialized if
93- // // directly cast from the integer code derived from TfLiteSupportStatus
94- // stored
95- // // in payload. TfLiteErrorCode omits kOk = 0 of TfLiteSupportStatus.
96- // //
97- // (*error)->code = static_cast<TfLiteSupportErrorCode>(error_code);
98- // // Stores a string including absl status code and message(if non empty) as
99- // the
100- // // error message See
101- // //
102- // https://github.com/abseil/abseil-cpp/blob/master/absl/status/status.h#L514
103- // // for explanation. absl::Status::message() can also be used but not always
104- // // guaranteed to be non empty.
105- // (*error)->message = strdup(
106- // status.ToString(absl::StatusToStringMode::kWithNoExtraData).c_str());
107-
10889 // Creates the TfLiteSupportError with the appropriate error
10990 // TfLiteSupportErrorCode and message. TfLiteErrorCode has a one to one
11091 // mapping with TfLiteSupportStatus starting from the value 1(kError) and
You can’t perform that action at this time.
0 commit comments