Update 2 doctest expected values for torch 2.0.0
# What does this PR do?

2 doctests need to update their expected values with torch 2.0.0. (same reason as in #21975) 
_The documentation is not available anymore as the PR was closed or merged._