@@ -323,40 +323,32 @@ Result<bool> ETDumpGen::log_intermediate_output_delegate(
323
323
const char * name,
324
324
DelegateDebugIntId delegate_debug_index,
325
325
const ArrayRef<Tensor> output) {
326
- log_intermediate_output_delegate_helper (name, delegate_debug_index, output);
327
- Result<bool > result = log_intermediate_output_delegate_helper (
326
+ return log_intermediate_output_delegate_helper (
328
327
name, delegate_debug_index, output);
329
- return result;
330
328
}
331
329
332
330
Result<bool > ETDumpGen::log_intermediate_output_delegate (
333
331
const char * name,
334
332
DelegateDebugIntId delegate_debug_index,
335
333
const int & output) {
336
- log_intermediate_output_delegate_helper (name, delegate_debug_index, output);
337
- Result<bool > result = log_intermediate_output_delegate_helper (
334
+ return log_intermediate_output_delegate_helper (
338
335
name, delegate_debug_index, output);
339
- return result;
340
336
}
341
337
342
338
Result<bool > ETDumpGen::log_intermediate_output_delegate (
343
339
const char * name,
344
340
DelegateDebugIntId delegate_debug_index,
345
341
const bool & output) {
346
- log_intermediate_output_delegate_helper (name, delegate_debug_index, output);
347
- Result<bool > result = log_intermediate_output_delegate_helper (
342
+ return log_intermediate_output_delegate_helper (
348
343
name, delegate_debug_index, output);
349
- return result;
350
344
}
351
345
352
346
Result<bool > ETDumpGen::log_intermediate_output_delegate (
353
347
const char * name,
354
348
DelegateDebugIntId delegate_debug_index,
355
349
const double & output) {
356
- log_intermediate_output_delegate_helper (name, delegate_debug_index, output);
357
- Result<bool > result = log_intermediate_output_delegate_helper (
350
+ return log_intermediate_output_delegate_helper (
358
351
name, delegate_debug_index, output);
359
- return result;
360
352
}
361
353
362
354
template <typename T>
0 commit comments