[Static Runtime] Add is_frozen to StaticModule ctor (#62020)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/62020
Add is_frozen to StaticModule ctor so we can skip freezing in StaticModule.
Reviewed By: ajyu, mikeiovine
Differential Revision: D29807431
fbshipit-source-id: 7742e9f5c5ae9f442a9e4007c870a14fd8b4af20