Some cpp api usage problem?

  1. how to set torch.set_default_tensor_type in cpp?
  2. how to using torch.load “some.pth” in cpp?

And how to search the cpp api? Thanks.