Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions devtools/etdump/etdump_flatcc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,40 +323,32 @@ Result<bool> ETDumpGen::log_intermediate_output_delegate(
const char* name,
DelegateDebugIntId delegate_debug_index,
const ArrayRef<Tensor> output) {
log_intermediate_output_delegate_helper(name, delegate_debug_index, output);
Result<bool> result = log_intermediate_output_delegate_helper(
return log_intermediate_output_delegate_helper(
name, delegate_debug_index, output);
return result;
}

Result<bool> ETDumpGen::log_intermediate_output_delegate(
const char* name,
DelegateDebugIntId delegate_debug_index,
const int& output) {
log_intermediate_output_delegate_helper(name, delegate_debug_index, output);
Result<bool> result = log_intermediate_output_delegate_helper(
return log_intermediate_output_delegate_helper(
name, delegate_debug_index, output);
return result;
}

Result<bool> ETDumpGen::log_intermediate_output_delegate(
const char* name,
DelegateDebugIntId delegate_debug_index,
const bool& output) {
log_intermediate_output_delegate_helper(name, delegate_debug_index, output);
Result<bool> result = log_intermediate_output_delegate_helper(
return log_intermediate_output_delegate_helper(
name, delegate_debug_index, output);
return result;
}

Result<bool> ETDumpGen::log_intermediate_output_delegate(
const char* name,
DelegateDebugIntId delegate_debug_index,
const double& output) {
log_intermediate_output_delegate_helper(name, delegate_debug_index, output);
Result<bool> result = log_intermediate_output_delegate_helper(
return log_intermediate_output_delegate_helper(
name, delegate_debug_index, output);
return result;
}

template <typename T>
Expand Down
Loading