Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tf_stage.cpp - corrected Inference time display unit #700

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gftrobots
Copy link

The inference time (time_taken) is displayed as "ms" which is the standard abbreviation for millisecond, however the variable time_taken is declared in microseconds. The abbreviate for that is "us" if displayed with a standard character set.

auto time_taken = ExecutionTimestd::micro(&TfStage::runInference, this).count();

The inference time (time_taken) is displayed as "ms" which is the standard abbreviation for millisecond, however the variable time_taken is declared in microseconds. The abbreviate for that is "us" if displayed with a standard character set.

auto time_taken = ExecutionTime<std::micro>(&TfStage::runInference, this).count();
@naushir
Copy link
Collaborator

naushir commented Jul 22, 2024

The change looks good. However, would you be able to update the commit message to match our standard format? Have a look at the git log for examples. You will also need to include a Signed-off-by tag in the commit message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants