Skip to content

Commit

Permalink
Add AMin and AMax Ops
Browse files Browse the repository at this point in the history
Signed-off-by: Alankar Mahajan <quic_alanmaha@quicinc.com>
  • Loading branch information
quic-alanmaha committed Feb 20, 2024
1 parent 4b2f927 commit 5502609
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ def create_wrapper_module(class_name: str, functional: Callable) -> Callable:
Sqrt = create_wrapper_module('Sqrt', torch.sqrt)
Maximum = create_wrapper_module('Maximum', torch.maximum)
Max = create_wrapper_module('Max', torch.max) # NOTE: Not elementwise
AMax = create_wrapper_module('AMax', torch.amax)
Minimum = create_wrapper_module('Minimum', torch.minimum)
Min = create_wrapper_module('Min', torch.min) # NOTE: Not elementwise
AMin = create_wrapper_module('AMin', torch.amin)
Where = create_wrapper_module('Where', torch.where)
Greater = create_wrapper_module('Greater', torch.gt)
Less = create_wrapper_module('Less', torch.lt)
Expand Down

0 comments on commit 5502609

Please sign in to comment.