gpt-3.5-turbo-0301· openai
Suzhen/CodeChat
I'm using torch.set_printoptions(profile="full") but printed pytorch tensors still have…
- User
I'm using torch.set_printoptions(profile="full") but printed pytorch tensors still have scientific notation...
- Assistant
You can try setting the
precisionparameter oftorch.set_printoptions()to a higher value to increase the number of decimal places displayed. For example:torch.set_printoptions(profile="full", precision=6)This will set the precision to 6 decimal places. You can adjust the value as needed to display more or fewer decimal places.