[Pytorch Edge] get_model_bytecode int -> uint (#62201)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/62201
change int to uint to be the same type as the runtimes bytecode. Only affects c++ since python doesn't have uints iirc. Also changed the behavior of the functions from returning -1 and a warning to just throw an exception. Wasnt sure what the proper behavior here would be (returning UINT_MAX seemed gross) so feedback is appreciated.
Test Plan: ci
Reviewed By: raziel
Differential Revision: D29914072
fbshipit-source-id: 1bb08702fc301d7c7612b5ad7205a6dbe855c890