-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update aten.hardtanh support Add converter for hardtanh similar to that of clamp * Add converter for harswish activation Had to add my owwn migraphx converter as the order of value return to clip would fail the test * fixup! Add converter for harswish activation * Fix names for selu & softsign acc_ops converters Was breaking when trying to use elu converter for aten elu converter op * Add elu aten converter op - Test for both non parameterize and parametertized for alpha/default values * Add aten.max for max operator Handle getting max value from input tensor. * fixup! Add aten.max for max operator * fixup! fixup! Add aten.max for max operator * Add support and aten op for torch.min Similar to the onnx reduce_min operator, implimentatin is similar to that of mean, max and map to similar reduce ops in MIGraphX. This one is a freebie when doing max * Add changes for stack op * Add fx/dynamo changes for argmin op Required if we want to support min() operator down the road. Added converter for fx and dynamo in similar vein as the argmax function. Also added unit tests * Fix acc op and converters for max/min ops Updated unit tests as well * Fix aten op for max/min added changes to unit tests and fix operators to handle multi input args correctly. * Changes based on review comments - remove print in stack - merge argmin argmax in testing - rename test_leak_relu -> test_single_param_activation_funcs - Add default for min dim=None --------- Co-authored-by: Ted Themistokleous <[email protected]>
- Loading branch information
1 parent
d2cc58f
commit ff8ac13
Showing
9 changed files
with
349 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.