[PyTorch] Add KWargs support to script module forward (#62224)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/62224
They underlying operator allows both args and kwargs, but we only expose args in this convenience method. this brings them in line while not changing any existing programs.
Test Plan: CI
Reviewed By: gunchu
Differential Revision: D29920830
fbshipit-source-id: f4b2aa88d4a679e33595625b7ef355e4d14e54c4