JIT IR - Make valueMapPtr optional in convertNetDefToIR (#17942)
Summary:
Make valueMapPtr optional in convertNetDefToIR, and add tests
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17942
Differential Revision: D14429687
Pulled By: duc0
fbshipit-source-id: 3a5a72bbb5acc1bfd7144a987688c599016fbf7a