Add nn.function.hardtanh in acc_tracer (#65639)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/65639
This op is used by mobilenet v2.
Test Plan:
buck test glow/fb/fx/oss_acc_tracer:test_acc_tracer -- test_hardtanh
buck test glow/fb/fx/acc_tracer:test_acc_shape_inference -- hardtanh
buck test glow/fb/fx/oss_acc_tracer:test_acc_tracer -- test_hardtanh
Reviewed By: yinghai
Differential Revision: D31184297
fbshipit-source-id: 5a04319f6d16fb930372442616e27211107ecc67