change unary, pool, max ops to use new interface (#22661)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/22661
as title
Reviewed By: hl475
Differential Revision: D16170825
fbshipit-source-id: d80944224b8717e7aa35980907ff48e587b85217