From 163d176d269f80b99cb212310cdabc8cc01505b8 Mon Sep 17 00:00:00 2001 From: BobNeverStop <71497534+mwael-labs@users.noreply.github.com> Date: Thu, 1 Jan 2026 14:25:24 +0200 Subject: [PATCH] Update explanation of tensor and NumPy array behavior --- 00_pytorch_fundamentals.ipynb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/00_pytorch_fundamentals.ipynb b/00_pytorch_fundamentals.ipynb index 892cd772..3b8552d1 100644 --- a/00_pytorch_fundamentals.ipynb +++ b/00_pytorch_fundamentals.ipynb @@ -3004,7 +3004,8 @@ "id": "Dt8yEV1jMfi2" }, "source": [ - "And the same rule applies as above, if you change the original `tensor`, the new `numpy_tensor` stays the same." + "If you reassign a tensor (non–in-place operation), the NumPy array is unchanged. +If you modify the tensor in-place, the NumPy array will reflect the change because they share memory." ] }, {