From 7aad0c0695980f58f57e5a5c4e40ea5da91dd338 Mon Sep 17 00:00:00 2001 From: pranay-3108 Date: Fri, 13 Mar 2026 09:52:26 +0530 Subject: [PATCH] Fix invalid escape sequence in saving_loading_models tutorial Fixes #3790 While running `saving_loading_models.py`, Python raised a SyntaxWarning due to an invalid escape sequence in the documentation string this PR removes the unnecessary escape character to avoid the warning in newer Python versions. The change does not affect the tutorial functionality --- beginner_source/saving_loading_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beginner_source/saving_loading_models.py b/beginner_source/saving_loading_models.py index d09f9ca4491..0ffbce50465 100644 --- a/beginner_source/saving_loading_models.py +++ b/beginner_source/saving_loading_models.py @@ -18,7 +18,7 @@ objects can be saved using this function. 2) `torch.load `__: - Uses `pickle `__\ ’s + Uses `pickle `__ 's unpickling facilities to deserialize pickled object files to memory. This function also facilitates the device to load the data into (see `Saving & Loading Model Across