We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d980553 commit ac5b5e4Copy full SHA for ac5b5e4
intermediate_source/pinmem_nonblock.py
@@ -208,7 +208,7 @@ def timer(cmd):
208
209
# Clear tensors
210
del pageable_tensor, pinned_tensor
211
-gc.collect()
+_ = gc.collect()
212
213
######################################################################
214
#
@@ -394,7 +394,7 @@ def pin_copy_to_device_nonblocking(*tensors):
394
plt.show()
395
396
del tensors, tensors_pinned
397
398
399
400
0 commit comments