Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fixed missing and incorrect alias issues
Browse files Browse the repository at this point in the history
  • Loading branch information
connorgoggins committed Feb 10, 2020
1 parent 0c6e0a9 commit 3940595
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmark/opperf/utils/profiler_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def _get_operator_profile(operator_name, operator_profile_results):
# alias map : dictionary of the form {"alias" : "registered_name"}
# allows to retrieve alias operator profile from the profiler results
# TODO handling - "identity" : "_copy"
alias_map = {"broadcast_plus": "broadcast_add", "broadcast_minus": "broadcast_sub", "flatten": "Flatten", "max_axis": "max", "Custom": "DeleteVariable",
"swapaxes": "SwapAxis", "flip": "reverse", "reshape": "Reshape", "crop": "slice", "sum_axis": "sum", "min_axis": "min", "CTCLoss": "ctc_loss",
"fill_element_0index": "TernaryOp"}
alias_map = {"broadcast_plus": "broadcast_add", "broadcast_minus": "broadcast_sub", "flatten": "Flatten", "max_axis": "max", "Custom": "SetValueOp",
"swapaxes": "SwapAxis", "flip": "reverse", "reshape": "Reshape", "crop": "slice", "sum_axis": "sum", "min_axis": "min", "ctc_loss": "CTCLoss",
"fill_element_0index": "TernaryOp", "identity": "_copy", "ElementWiseSum": "add_n"}

op_name = None

Expand Down

0 comments on commit 3940595

Please sign in to comment.