diff --git a/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip b/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip index d82406b83..0a1c7b62c 100644 Binary files a/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip and b/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip differ diff --git a/_downloads/a5659940aa3f8f568547d47752a43172/tutorials_jupyter.zip b/_downloads/a5659940aa3f8f568547d47752a43172/tutorials_jupyter.zip index 5788b4cad..cc466e1c2 100644 Binary files a/_downloads/a5659940aa3f8f568547d47752a43172/tutorials_jupyter.zip and b/_downloads/a5659940aa3f8f568547d47752a43172/tutorials_jupyter.zip differ diff --git a/_sources/sg_execution_times.rst.txt b/_sources/sg_execution_times.rst.txt index 8b1cdf166..1ebfef416 100644 --- a/_sources/sg_execution_times.rst.txt +++ b/_sources/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**02:01.082** total execution time for 10 files **from all galleries**: +**01:59.897** total execution time for 10 files **from all galleries**: .. container:: @@ -33,22 +33,22 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_tutorials_tensorclass_fashion.py` (``reference/generated/tutorials/tensorclass_fashion.py``) - - 00:58.981 + - 00:58.373 - 0.0 * - :ref:`sphx_glr_tutorials_data_fashion.py` (``reference/generated/tutorials/data_fashion.py``) - - 00:50.364 + - 00:49.828 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_module.py` (``reference/generated/tutorials/tensordict_module.py``) - - 00:10.144 + - 00:10.137 - 0.0 * - :ref:`sphx_glr_tutorials_tensorclass_imagenet.py` (``reference/generated/tutorials/tensorclass_imagenet.py``) - - 00:01.535 + - 00:01.501 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_memory.py` (``reference/generated/tutorials/tensordict_memory.py``) - - 00:00.023 + - 00:00.025 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_keys.py` (``reference/generated/tutorials/tensordict_keys.py``) - - 00:00.010 + - 00:00.009 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_shapes.py` (``reference/generated/tutorials/tensordict_shapes.py``) - 00:00.008 @@ -57,7 +57,7 @@ Computation times - 00:00.007 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_module_functional.py` (``reference/generated/tutorials/tensordict_module_functional.py``) - - 00:00.007 + - 00:00.006 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_preallocation.py` (``reference/generated/tutorials/tensordict_preallocation.py``) - 00:00.003 diff --git a/_sources/tutorials/data_fashion.rst.txt b/_sources/tutorials/data_fashion.rst.txt index f53654983..bc3a38488 100644 --- a/_sources/tutorials/data_fashion.rst.txt +++ b/_sources/tutorials/data_fashion.rst.txt @@ -423,156 +423,156 @@ adjust how we unpack the data to the more explicit key-based retrieval offered b is_shared=False) Epoch 1 ------------------------- - loss: 2.297689 [ 0/60000] - loss: 2.280892 [ 6400/60000] - loss: 2.274654 [12800/60000] - loss: 2.279074 [19200/60000] - loss: 2.246684 [25600/60000] - loss: 2.236528 [32000/60000] - loss: 2.231100 [38400/60000] - loss: 2.205158 [44800/60000] - loss: 2.201136 [51200/60000] - loss: 2.183861 [57600/60000] + loss: 2.300480 [ 0/60000] + loss: 2.293064 [ 6400/60000] + loss: 2.266259 [12800/60000] + loss: 2.261617 [19200/60000] + loss: 2.261147 [25600/60000] + loss: 2.215564 [32000/60000] + loss: 2.237646 [38400/60000] + loss: 2.195081 [44800/60000] + loss: 2.190470 [51200/60000] + loss: 2.164365 [57600/60000] Test Error: - Accuracy: 46.9%, Avg loss: 2.167354 + Accuracy: 41.1%, Avg loss: 2.155924 Epoch 2 ------------------------- - loss: 2.171290 [ 0/60000] - loss: 2.158412 [ 6400/60000] - loss: 2.111888 [12800/60000] - loss: 2.133768 [19200/60000] - loss: 2.084503 [25600/60000] - loss: 2.034350 [32000/60000] - loss: 2.050703 [38400/60000] - loss: 1.979632 [44800/60000] - loss: 1.976614 [51200/60000] - loss: 1.923289 [57600/60000] + loss: 2.162857 [ 0/60000] + loss: 2.156318 [ 6400/60000] + loss: 2.098328 [12800/60000] + loss: 2.116032 [19200/60000] + loss: 2.078008 [25600/60000] + loss: 2.007684 [32000/60000] + loss: 2.046304 [38400/60000] + loss: 1.959306 [44800/60000] + loss: 1.963503 [51200/60000] + loss: 1.905034 [57600/60000] Test Error: - Accuracy: 60.4%, Avg loss: 1.910134 + Accuracy: 56.5%, Avg loss: 1.897783 Epoch 3 ------------------------- - loss: 1.936399 [ 0/60000] - loss: 1.905847 [ 6400/60000] - loss: 1.795367 [12800/60000] - loss: 1.838003 [19200/60000] - loss: 1.743419 [25600/60000] - loss: 1.686000 [32000/60000] - loss: 1.699681 [38400/60000] - loss: 1.603609 [44800/60000] - loss: 1.619376 [51200/60000] - loss: 1.525605 [57600/60000] + loss: 1.922749 [ 0/60000] + loss: 1.898134 [ 6400/60000] + loss: 1.786096 [12800/60000] + loss: 1.830101 [19200/60000] + loss: 1.727412 [25600/60000] + loss: 1.672580 [32000/60000] + loss: 1.700479 [38400/60000] + loss: 1.590516 [44800/60000] + loss: 1.615487 [51200/60000] + loss: 1.517848 [57600/60000] Test Error: - Accuracy: 61.5%, Avg loss: 1.536318 + Accuracy: 61.8%, Avg loss: 1.532749 Epoch 4 ------------------------- - loss: 1.596518 [ 0/60000] - loss: 1.559388 [ 6400/60000] - loss: 1.415173 [12800/60000] - loss: 1.491498 [19200/60000] - loss: 1.381014 [25600/60000] - loss: 1.365470 [32000/60000] - loss: 1.370804 [38400/60000] - loss: 1.300947 [44800/60000] - loss: 1.330507 [51200/60000] - loss: 1.238865 [57600/60000] + loss: 1.593874 [ 0/60000] + loss: 1.560890 [ 6400/60000] + loss: 1.416031 [12800/60000] + loss: 1.487803 [19200/60000] + loss: 1.369440 [25600/60000] + loss: 1.358816 [32000/60000] + loss: 1.374556 [38400/60000] + loss: 1.287937 [44800/60000] + loss: 1.326393 [51200/60000] + loss: 1.228221 [57600/60000] Test Error: - Accuracy: 63.2%, Avg loss: 1.261017 + Accuracy: 64.3%, Avg loss: 1.257580 Epoch 5 ------------------------- - loss: 1.331413 [ 0/60000] - loss: 1.310852 [ 6400/60000] - loss: 1.153299 [12800/60000] - loss: 1.264552 [19200/60000] - loss: 1.141564 [25600/60000] - loss: 1.159877 [32000/60000] - loss: 1.169980 [38400/60000] - loss: 1.117384 [44800/60000] - loss: 1.152227 [51200/60000] - loss: 1.074354 [57600/60000] + loss: 1.331571 [ 0/60000] + loss: 1.314824 [ 6400/60000] + loss: 1.154153 [12800/60000] + loss: 1.257705 [19200/60000] + loss: 1.134324 [25600/60000] + loss: 1.153518 [32000/60000] + loss: 1.174747 [38400/60000] + loss: 1.101449 [44800/60000] + loss: 1.145374 [51200/60000] + loss: 1.062342 [57600/60000] Test Error: - Accuracy: 64.7%, Avg loss: 1.091176 + Accuracy: 65.2%, Avg loss: 1.087329 - TensorDict training done! time: 8.2466 s + TensorDict training done! time: 8.1166 s Epoch 1 ------------------------- - loss: 2.302497 [ 0/60000] - loss: 2.293708 [ 6400/60000] - loss: 2.275291 [12800/60000] - loss: 2.277487 [19200/60000] - loss: 2.256965 [25600/60000] - loss: 2.226137 [32000/60000] - loss: 2.235041 [38400/60000] - loss: 2.204915 [44800/60000] - loss: 2.205817 [51200/60000] - loss: 2.175438 [57600/60000] + loss: 2.298001 [ 0/60000] + loss: 2.287161 [ 6400/60000] + loss: 2.270800 [12800/60000] + loss: 2.270414 [19200/60000] + loss: 2.245303 [25600/60000] + loss: 2.225265 [32000/60000] + loss: 2.231304 [38400/60000] + loss: 2.200896 [44800/60000] + loss: 2.198071 [51200/60000] + loss: 2.161562 [57600/60000] Test Error: - Accuracy: 41.0%, Avg loss: 2.167767 + Accuracy: 50.7%, Avg loss: 2.157821 Epoch 2 ------------------------- - loss: 2.173955 [ 0/60000] - loss: 2.167189 [ 6400/60000] - loss: 2.113836 [12800/60000] - loss: 2.137049 [19200/60000] - loss: 2.091704 [25600/60000] - loss: 2.024699 [32000/60000] - loss: 2.058104 [38400/60000] - loss: 1.987428 [44800/60000] - loss: 1.997960 [51200/60000] - loss: 1.928781 [57600/60000] + loss: 2.168909 [ 0/60000] + loss: 2.158751 [ 6400/60000] + loss: 2.096658 [12800/60000] + loss: 2.108140 [19200/60000] + loss: 2.061918 [25600/60000] + loss: 2.008899 [32000/60000] + loss: 2.032122 [38400/60000] + loss: 1.955184 [44800/60000] + loss: 1.954244 [51200/60000] + loss: 1.873682 [57600/60000] Test Error: - Accuracy: 57.3%, Avg loss: 1.920751 + Accuracy: 58.9%, Avg loss: 1.876599 Epoch 3 ------------------------- - loss: 1.947450 [ 0/60000] - loss: 1.923763 [ 6400/60000] - loss: 1.809623 [12800/60000] - loss: 1.859243 [19200/60000] - loss: 1.749499 [25600/60000] - loss: 1.684024 [32000/60000] - loss: 1.717253 [38400/60000] - loss: 1.618240 [44800/60000] - loss: 1.651242 [51200/60000] - loss: 1.544094 [57600/60000] + loss: 1.909632 [ 0/60000] + loss: 1.884026 [ 6400/60000] + loss: 1.755143 [12800/60000] + loss: 1.790438 [19200/60000] + loss: 1.690238 [25600/60000] + loss: 1.638952 [32000/60000] + loss: 1.660928 [38400/60000] + loss: 1.561142 [44800/60000] + loss: 1.582468 [51200/60000] + loss: 1.474488 [57600/60000] Test Error: - Accuracy: 61.4%, Avg loss: 1.550630 + Accuracy: 61.6%, Avg loss: 1.500441 Epoch 4 ------------------------- - loss: 1.611791 [ 0/60000] - loss: 1.576542 [ 6400/60000] - loss: 1.422823 [12800/60000] - loss: 1.509073 [19200/60000] - loss: 1.374687 [25600/60000] - loss: 1.361015 [32000/60000] - loss: 1.386337 [38400/60000] - loss: 1.310513 [44800/60000] - loss: 1.355154 [51200/60000] - loss: 1.253993 [57600/60000] + loss: 1.560883 [ 0/60000] + loss: 1.537471 [ 6400/60000] + loss: 1.383097 [12800/60000] + loss: 1.453247 [19200/60000] + loss: 1.343728 [25600/60000] + loss: 1.335195 [32000/60000] + loss: 1.352697 [38400/60000] + loss: 1.274515 [44800/60000] + loss: 1.309380 [51200/60000] + loss: 1.211425 [57600/60000] Test Error: - Accuracy: 63.9%, Avg loss: 1.267246 + Accuracy: 63.2%, Avg loss: 1.241849 Epoch 5 ------------------------- - loss: 1.339752 [ 0/60000] - loss: 1.319095 [ 6400/60000] - loss: 1.151958 [12800/60000] - loss: 1.273998 [19200/60000] - loss: 1.129366 [25600/60000] - loss: 1.151123 [32000/60000] - loss: 1.181103 [38400/60000] - loss: 1.123158 [44800/60000] - loss: 1.170845 [51200/60000] - loss: 1.086041 [57600/60000] + loss: 1.310621 [ 0/60000] + loss: 1.302632 [ 6400/60000] + loss: 1.136563 [12800/60000] + loss: 1.238647 [19200/60000] + loss: 1.124559 [25600/60000] + loss: 1.142481 [32000/60000] + loss: 1.167050 [38400/60000] + loss: 1.099875 [44800/60000] + loss: 1.140567 [51200/60000] + loss: 1.059313 [57600/60000] Test Error: - Accuracy: 65.0%, Avg loss: 1.093209 + Accuracy: 64.6%, Avg loss: 1.082458 - Training done! time: 32.7524 s + Training done! time: 32.8354 s @@ -580,7 +580,7 @@ adjust how we unpack the data to the more explicit key-based retrieval offered b .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 50.364 seconds) + **Total running time of the script:** (0 minutes 49.828 seconds) .. _sphx_glr_download_tutorials_data_fashion.py: diff --git a/_sources/tutorials/sg_execution_times.rst.txt b/_sources/tutorials/sg_execution_times.rst.txt index cb0a8771e..f63d3e7db 100644 --- a/_sources/tutorials/sg_execution_times.rst.txt +++ b/_sources/tutorials/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**02:01.082** total execution time for 10 files **from tutorials**: +**01:59.897** total execution time for 10 files **from tutorials**: .. container:: @@ -33,22 +33,22 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_tutorials_tensorclass_fashion.py` (``tensorclass_fashion.py``) - - 00:58.981 + - 00:58.373 - 0.0 * - :ref:`sphx_glr_tutorials_data_fashion.py` (``data_fashion.py``) - - 00:50.364 + - 00:49.828 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_module.py` (``tensordict_module.py``) - - 00:10.144 + - 00:10.137 - 0.0 * - :ref:`sphx_glr_tutorials_tensorclass_imagenet.py` (``tensorclass_imagenet.py``) - - 00:01.535 + - 00:01.501 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_memory.py` (``tensordict_memory.py``) - - 00:00.023 + - 00:00.025 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_keys.py` (``tensordict_keys.py``) - - 00:00.010 + - 00:00.009 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_shapes.py` (``tensordict_shapes.py``) - 00:00.008 @@ -57,7 +57,7 @@ Computation times - 00:00.007 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_module_functional.py` (``tensordict_module_functional.py``) - - 00:00.007 + - 00:00.006 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_preallocation.py` (``tensordict_preallocation.py``) - 00:00.003 diff --git a/_sources/tutorials/tensorclass_fashion.rst.txt b/_sources/tutorials/tensorclass_fashion.rst.txt index 340ff1979..f6f03dde4 100644 --- a/_sources/tutorials/tensorclass_fashion.rst.txt +++ b/_sources/tutorials/tensorclass_fashion.rst.txt @@ -97,22 +97,22 @@ the image (e.g. "Bag", "Sneaker" etc.). Downloading http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/train-images-idx3-ubyte.gz Downloading http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/train-images-idx3-ubyte.gz to data/FashionMNIST/raw/train-images-idx3-ubyte.gz - 0%| | 0/26421880 [00:00, ?it/s] 0%| | 65536/26421880 [00:00<01:11, 366529.78it/s] 1%| | 229376/26421880 [00:00<00:38, 688397.37it/s] 4%|▎ | 950272/26421880 [00:00<00:11, 2208013.10it/s] 14%|█▍ | 3768320/26421880 [00:00<00:02, 8248474.55it/s] 26%|██▌ | 6881280/26421880 [00:00<00:01, 13109654.28it/s] 49%|████▉ | 12976128/26421880 [00:00<00:00, 23117960.87it/s] 61%|██████▏ | 16187392/26421880 [00:01<00:00, 23413161.19it/s] 84%|████████▎ | 22118400/26421880 [00:01<00:00, 29644180.74it/s] 96%|█████████▌| 25362432/26421880 [00:01<00:00, 28040475.24it/s] 100%|██████████| 26421880/26421880 [00:01<00:00, 19497898.83it/s] + 0%| | 0/26421880 [00:00, ?it/s] 0%| | 65536/26421880 [00:00<01:12, 361577.27it/s] 1%| | 229376/26421880 [00:00<00:38, 681040.77it/s] 3%|▎ | 917504/26421880 [00:00<00:09, 2641761.98it/s] 7%|▋ | 1933312/26421880 [00:00<00:06, 4071838.92it/s] 26%|██▌ | 6750208/26421880 [00:00<00:01, 15809304.40it/s] 38%|███▊ | 10092544/26421880 [00:00<00:00, 17248107.43it/s] 58%|█████▊ | 15400960/26421880 [00:01<00:00, 26081929.66it/s] 73%|███████▎ | 19169280/26421880 [00:01<00:00, 24513394.41it/s] 92%|█████████▏| 24412160/26421880 [00:01<00:00, 31119845.37it/s] 100%|██████████| 26421880/26421880 [00:01<00:00, 19357445.87it/s] Extracting data/FashionMNIST/raw/train-images-idx3-ubyte.gz to data/FashionMNIST/raw Downloading http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/train-labels-idx1-ubyte.gz Downloading http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/train-labels-idx1-ubyte.gz to data/FashionMNIST/raw/train-labels-idx1-ubyte.gz - 0%| | 0/29515 [00:00, ?it/s] 100%|██████████| 29515/29515 [00:00<00:00, 328895.32it/s] + 0%| | 0/29515 [00:00, ?it/s] 100%|██████████| 29515/29515 [00:00<00:00, 326262.83it/s] Extracting data/FashionMNIST/raw/train-labels-idx1-ubyte.gz to data/FashionMNIST/raw Downloading http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/t10k-images-idx3-ubyte.gz Downloading http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/t10k-images-idx3-ubyte.gz to data/FashionMNIST/raw/t10k-images-idx3-ubyte.gz - 0%| | 0/4422102 [00:00, ?it/s] 1%|▏ | 65536/4422102 [00:00<00:11, 364322.80it/s] 5%|▌ | 229376/4422102 [00:00<00:06, 685186.31it/s] 19%|█▊ | 819200/4422102 [00:00<00:01, 2334471.80it/s] 40%|████ | 1769472/4422102 [00:00<00:00, 3764378.13it/s] 100%|██████████| 4422102/4422102 [00:00<00:00, 6119438.97it/s] + 0%| | 0/4422102 [00:00, ?it/s] 1%|▏ | 65536/4422102 [00:00<00:12, 362287.33it/s] 5%|▌ | 229376/4422102 [00:00<00:06, 682024.54it/s] 21%|██ | 917504/4422102 [00:00<00:01, 2104319.86it/s] 70%|██████▉ | 3080192/4422102 [00:00<00:00, 5985861.78it/s] 100%|██████████| 4422102/4422102 [00:00<00:00, 6084624.81it/s] Extracting data/FashionMNIST/raw/t10k-images-idx3-ubyte.gz to data/FashionMNIST/raw Downloading http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/t10k-labels-idx1-ubyte.gz Downloading http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/t10k-labels-idx1-ubyte.gz to data/FashionMNIST/raw/t10k-labels-idx1-ubyte.gz - 0%| | 0/5148 [00:00, ?it/s] 100%|██████████| 5148/5148 [00:00<00:00, 72701269.33it/s] + 0%| | 0/5148 [00:00, ?it/s] 100%|██████████| 5148/5148 [00:00<00:00, 46837911.05it/s] Extracting data/FashionMNIST/raw/t10k-labels-idx1-ubyte.gz to data/FashionMNIST/raw @@ -451,156 +451,156 @@ tensor. is_shared=False) Epoch 1 ------------------------- - loss: 2.310976 [ 0/60000] - loss: 2.295230 [ 6400/60000] - loss: 2.283326 [12800/60000] - loss: 2.278642 [19200/60000] - loss: 2.255610 [25600/60000] - loss: 2.232225 [32000/60000] - loss: 2.231061 [38400/60000] - loss: 2.200477 [44800/60000] - loss: 2.201424 [51200/60000] - loss: 2.166960 [57600/60000] + loss: 2.302387 [ 0/60000] + loss: 2.293101 [ 6400/60000] + loss: 2.279598 [12800/60000] + loss: 2.276973 [19200/60000] + loss: 2.251420 [25600/60000] + loss: 2.238299 [32000/60000] + loss: 2.237562 [38400/60000] + loss: 2.215429 [44800/60000] + loss: 2.208091 [51200/60000] + loss: 2.175614 [57600/60000] Test Error: - Accuracy: 40.3%, Avg loss: 2.167791 + Accuracy: 48.3%, Avg loss: 2.176059 Epoch 2 ------------------------- - loss: 2.177774 [ 0/60000] - loss: 2.166296 [ 6400/60000] - loss: 2.122235 [12800/60000] - loss: 2.137978 [19200/60000] - loss: 2.079019 [25600/60000] - loss: 2.028171 [32000/60000] - loss: 2.046031 [38400/60000] - loss: 1.973215 [44800/60000] - loss: 1.979031 [51200/60000] - loss: 1.902367 [57600/60000] + loss: 2.183834 [ 0/60000] + loss: 2.175081 [ 6400/60000] + loss: 2.129839 [12800/60000] + loss: 2.143353 [19200/60000] + loss: 2.089312 [25600/60000] + loss: 2.056283 [32000/60000] + loss: 2.060929 [38400/60000] + loss: 2.006752 [44800/60000] + loss: 2.002385 [51200/60000] + loss: 1.926731 [57600/60000] Test Error: - Accuracy: 48.2%, Avg loss: 1.911800 + Accuracy: 61.7%, Avg loss: 1.935310 Epoch 3 ------------------------- - loss: 1.940137 [ 0/60000] - loss: 1.909616 [ 6400/60000] - loss: 1.814698 [12800/60000] - loss: 1.854172 [19200/60000] - loss: 1.726293 [25600/60000] - loss: 1.688812 [32000/60000] - loss: 1.703465 [38400/60000] - loss: 1.610862 [44800/60000] - loss: 1.633218 [51200/60000] - loss: 1.529064 [57600/60000] + loss: 1.960144 [ 0/60000] + loss: 1.936480 [ 6400/60000] + loss: 1.833049 [12800/60000] + loss: 1.864682 [19200/60000] + loss: 1.759800 [25600/60000] + loss: 1.725796 [32000/60000] + loss: 1.714761 [38400/60000] + loss: 1.638511 [44800/60000] + loss: 1.644561 [51200/60000] + loss: 1.533933 [57600/60000] Test Error: - Accuracy: 59.2%, Avg loss: 1.552986 + Accuracy: 61.5%, Avg loss: 1.563183 Epoch 4 ------------------------- - loss: 1.612865 [ 0/60000] - loss: 1.574731 [ 6400/60000] - loss: 1.449299 [12800/60000] - loss: 1.519882 [19200/60000] - loss: 1.382809 [25600/60000] - loss: 1.389852 [32000/60000] - loss: 1.397839 [38400/60000] - loss: 1.323305 [44800/60000] - loss: 1.355896 [51200/60000] - loss: 1.258844 [57600/60000] + loss: 1.621519 [ 0/60000] + loss: 1.590653 [ 6400/60000] + loss: 1.447826 [12800/60000] + loss: 1.512125 [19200/60000] + loss: 1.394294 [25600/60000] + loss: 1.402328 [32000/60000] + loss: 1.389260 [38400/60000] + loss: 1.328610 [44800/60000] + loss: 1.353315 [51200/60000] + loss: 1.252565 [57600/60000] Test Error: - Accuracy: 63.2%, Avg loss: 1.284397 + Accuracy: 62.3%, Avg loss: 1.282288 Epoch 5 ------------------------- - loss: 1.358123 [ 0/60000] - loss: 1.332349 [ 6400/60000] - loss: 1.188338 [12800/60000] - loss: 1.291905 [19200/60000] - loss: 1.153745 [25600/60000] - loss: 1.188745 [32000/60000] - loss: 1.200132 [38400/60000] - loss: 1.134685 [44800/60000] - loss: 1.174266 [51200/60000] - loss: 1.089714 [57600/60000] + loss: 1.356653 [ 0/60000] + loss: 1.337689 [ 6400/60000] + loss: 1.176921 [12800/60000] + loss: 1.280601 [19200/60000] + loss: 1.154103 [25600/60000] + loss: 1.194018 [32000/60000] + loss: 1.192287 [38400/60000] + loss: 1.138430 [44800/60000] + loss: 1.173223 [51200/60000] + loss: 1.091239 [57600/60000] Test Error: - Accuracy: 64.8%, Avg loss: 1.110009 + Accuracy: 64.0%, Avg loss: 1.110041 - Tensorclass training done! time: 8.5711 s + Tensorclass training done! time: 8.3111 s Epoch 1 ------------------------- - loss: 2.303066 [ 0/60000] - loss: 2.290508 [ 6400/60000] - loss: 2.268382 [12800/60000] - loss: 2.267677 [19200/60000] - loss: 2.243165 [25600/60000] - loss: 2.219261 [32000/60000] - loss: 2.226329 [38400/60000] - loss: 2.190671 [44800/60000] - loss: 2.192858 [51200/60000] - loss: 2.160490 [57600/60000] + loss: 2.297948 [ 0/60000] + loss: 2.282624 [ 6400/60000] + loss: 2.271977 [12800/60000] + loss: 2.270170 [19200/60000] + loss: 2.244367 [25600/60000] + loss: 2.214798 [32000/60000] + loss: 2.220860 [38400/60000] + loss: 2.188947 [44800/60000] + loss: 2.186659 [51200/60000] + loss: 2.154645 [57600/60000] Test Error: - Accuracy: 47.0%, Avg loss: 2.155192 + Accuracy: 53.5%, Avg loss: 2.150539 Epoch 2 ------------------------- - loss: 2.164057 [ 0/60000] - loss: 2.159464 [ 6400/60000] - loss: 2.098034 [12800/60000] - loss: 2.120966 [19200/60000] - loss: 2.061083 [25600/60000] - loss: 2.001219 [32000/60000] - loss: 2.026425 [38400/60000] - loss: 1.953357 [44800/60000] - loss: 1.962681 [51200/60000] - loss: 1.875333 [57600/60000] + loss: 2.160149 [ 0/60000] + loss: 2.149896 [ 6400/60000] + loss: 2.097871 [12800/60000] + loss: 2.114169 [19200/60000] + loss: 2.062091 [25600/60000] + loss: 1.994953 [32000/60000] + loss: 2.024422 [38400/60000] + loss: 1.950521 [44800/60000] + loss: 1.953714 [51200/60000] + loss: 1.877175 [57600/60000] Test Error: - Accuracy: 58.2%, Avg loss: 1.887924 + Accuracy: 61.8%, Avg loss: 1.881925 Epoch 3 ------------------------- - loss: 1.922889 [ 0/60000] - loss: 1.895636 [ 6400/60000] - loss: 1.781903 [12800/60000] - loss: 1.824525 [19200/60000] - loss: 1.701341 [25600/60000] - loss: 1.654470 [32000/60000] - loss: 1.671035 [38400/60000] - loss: 1.587242 [44800/60000] - loss: 1.609092 [51200/60000] - loss: 1.483521 [57600/60000] + loss: 1.919103 [ 0/60000] + loss: 1.886964 [ 6400/60000] + loss: 1.774065 [12800/60000] + loss: 1.809855 [19200/60000] + loss: 1.709801 [25600/60000] + loss: 1.652143 [32000/60000] + loss: 1.673265 [38400/60000] + loss: 1.587407 [44800/60000] + loss: 1.611894 [51200/60000] + loss: 1.495472 [57600/60000] Test Error: - Accuracy: 61.2%, Avg loss: 1.520375 + Accuracy: 62.1%, Avg loss: 1.522582 Epoch 4 ------------------------- - loss: 1.591304 [ 0/60000] - loss: 1.553071 [ 6400/60000] - loss: 1.408833 [12800/60000] - loss: 1.483236 [19200/60000] - loss: 1.347654 [25600/60000] - loss: 1.352496 [32000/60000] - loss: 1.357938 [38400/60000] - loss: 1.298349 [44800/60000] - loss: 1.325898 [51200/60000] - loss: 1.211882 [57600/60000] + loss: 1.595548 [ 0/60000] + loss: 1.556155 [ 6400/60000] + loss: 1.412991 [12800/60000] + loss: 1.479574 [19200/60000] + loss: 1.363339 [25600/60000] + loss: 1.351150 [32000/60000] + loss: 1.366776 [38400/60000] + loss: 1.303567 [44800/60000] + loss: 1.337294 [51200/60000] + loss: 1.226468 [57600/60000] Test Error: - Accuracy: 63.6%, Avg loss: 1.250856 + Accuracy: 63.7%, Avg loss: 1.258048 Epoch 5 ------------------------- - loss: 1.331446 [ 0/60000] - loss: 1.307861 [ 6400/60000] - loss: 1.147009 [12800/60000] - loss: 1.259104 [19200/60000] - loss: 1.119098 [25600/60000] - loss: 1.154116 [32000/60000] - loss: 1.165835 [38400/60000] - loss: 1.116898 [44800/60000] - loss: 1.149531 [51200/60000] - loss: 1.052141 [57600/60000] + loss: 1.340565 [ 0/60000] + loss: 1.316801 [ 6400/60000] + loss: 1.157856 [12800/60000] + loss: 1.260136 [19200/60000] + loss: 1.127928 [25600/60000] + loss: 1.149427 [32000/60000] + loss: 1.173949 [38400/60000] + loss: 1.122528 [44800/60000] + loss: 1.160417 [51200/60000] + loss: 1.064355 [57600/60000] Test Error: - Accuracy: 64.8%, Avg loss: 1.085073 + Accuracy: 64.7%, Avg loss: 1.089903 - Training done! time: 33.1519 s + Training done! time: 32.9774 s @@ -608,7 +608,7 @@ tensor. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 58.981 seconds) + **Total running time of the script:** (0 minutes 58.373 seconds) .. _sphx_glr_download_tutorials_tensorclass_fashion.py: diff --git a/_sources/tutorials/tensorclass_imagenet.rst.txt b/_sources/tutorials/tensorclass_imagenet.rst.txt index be0faa2fd..e1a2e1b7d 100644 --- a/_sources/tutorials/tensorclass_imagenet.rst.txt +++ b/_sources/tutorials/tensorclass_imagenet.rst.txt @@ -419,7 +419,7 @@ though we also give results of our experiments running the same code on ImageNet .. code-block:: none Using device: cpu - 0%| | 0/244 [00:00, ?it/s] 26%|██▌ | 64/244 [00:00<00:00, 233.18it/s]ImageNetData( + 0%| | 0/244 [00:00, ?it/s] 26%|██▌ | 64/244 [00:00<00:00, 227.26it/s]ImageNetData( images=MemoryMappedTensor(shape=torch.Size([244, 3, 256, 256]), device=cpu, dtype=torch.uint8, is_shared=False), targets=MemoryMappedTensor(shape=torch.Size([244]), device=cpu, dtype=torch.int64, is_shared=False), batch_size=torch.Size([244]), @@ -467,8 +467,8 @@ though we also give results of our experiments running the same code on ImageNet batch_size=torch.Size([52]), device=None, is_shared=False) - 100%|██████████| 244/244 [00:00<00:00, 756.46it/s] - 0%| | 0/153 [00:00, ?it/s] 42%|████▏ | 64/153 [00:00<00:00, 191.86it/s]ImageNetData( + 100%|██████████| 244/244 [00:00<00:00, 771.51it/s] + 0%| | 0/153 [00:00, ?it/s] 42%|████▏ | 64/153 [00:00<00:00, 204.96it/s]ImageNetData( images=MemoryMappedTensor(shape=torch.Size([153, 3, 224, 224]), device=cpu, dtype=torch.uint8, is_shared=False), targets=MemoryMappedTensor(shape=torch.Size([153]), device=cpu, dtype=torch.int64, is_shared=False), batch_size=torch.Size([153]), @@ -504,11 +504,11 @@ though we also give results of our experiments running the same code on ImageNet batch_size=torch.Size([25]), device=None, is_shared=False) - 100%|██████████| 153/153 [00:00<00:00, 372.18it/s] - One iteration over dataloader done! Rate: 1077.1951 fps, time: 0.2042s - One iteration over tensorclass dataloader done! Rate: 1733.7566 fps, time: 0.1269s - One iteration over val data done! Rate: 695.0831 fps, time: 0.1856s - One iteration over tensorclass val data done! Rate: 18441.2139 fps, time: 0.0070s + 100%|██████████| 153/153 [00:00<00:00, 377.96it/s] + One iteration over dataloader done! Rate: 1022.5849 fps, time: 0.2151s + One iteration over tensorclass dataloader done! Rate: 1766.7430 fps, time: 0.1245s + One iteration over val data done! Rate: 837.4922 fps, time: 0.1540s + One iteration over tensorclass val data done! Rate: 16062.4971 fps, time: 0.0080s @@ -516,7 +516,7 @@ though we also give results of our experiments running the same code on ImageNet .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 1.535 seconds) + **Total running time of the script:** (0 minutes 1.501 seconds) .. _sphx_glr_download_tutorials_tensorclass_imagenet.py: diff --git a/_sources/tutorials/tensordict_keys.rst.txt b/_sources/tutorials/tensordict_keys.rst.txt index 9b6fed0f3..9f7324611 100644 --- a/_sources/tutorials/tensordict_keys.rst.txt +++ b/_sources/tutorials/tensordict_keys.rst.txt @@ -769,7 +769,7 @@ We can obtain a new :class:`~.TensorDict` with a subset of the keys by using .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 0.010 seconds) + **Total running time of the script:** (0 minutes 0.009 seconds) .. _sphx_glr_download_tutorials_tensordict_keys.py: diff --git a/_sources/tutorials/tensordict_memory.rst.txt b/_sources/tutorials/tensordict_memory.rst.txt index ea19611b5..ccc99a5ab 100644 --- a/_sources/tutorials/tensordict_memory.rst.txt +++ b/_sources/tutorials/tensordict_memory.rst.txt @@ -222,7 +222,7 @@ the above :class:`TensorDict` is saved as follows: .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 0.023 seconds) + **Total running time of the script:** (0 minutes 0.025 seconds) .. _sphx_glr_download_tutorials_tensordict_memory.py: diff --git a/_sources/tutorials/tensordict_module.rst.txt b/_sources/tutorials/tensordict_module.rst.txt index 2a0c78c6a..426f5c775 100644 --- a/_sources/tutorials/tensordict_module.rst.txt +++ b/_sources/tutorials/tensordict_module.rst.txt @@ -1043,7 +1043,7 @@ Benchmarking .. code-block:: none - Execution time: 0.011106491088867188 seconds + Execution time: 0.01023244857788086 seconds @@ -1066,7 +1066,7 @@ Benchmarking .. code-block:: none - Execution time: 0.006401538848876953 seconds + Execution time: 0.0059583187103271484 seconds @@ -1081,7 +1081,7 @@ Have fun with TensorDictModule! .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 10.144 seconds) + **Total running time of the script:** (0 minutes 10.137 seconds) .. _sphx_glr_download_tutorials_tensordict_module.py: diff --git a/_sources/tutorials/tensordict_module_functional.rst.txt b/_sources/tutorials/tensordict_module_functional.rst.txt index 5cf811875..54c349b17 100644 --- a/_sources/tutorials/tensordict_module_functional.rst.txt +++ b/_sources/tutorials/tensordict_module_functional.rst.txt @@ -220,7 +220,7 @@ parameters as regular inputs: .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 0.007 seconds) + **Total running time of the script:** (0 minutes 0.006 seconds) .. _sphx_glr_download_tutorials_tensordict_module_functional.py: diff --git a/_sources/tutorials/tensordict_shapes.rst.txt b/_sources/tutorials/tensordict_shapes.rst.txt index ff77b57f9..ba94a7c03 100644 --- a/_sources/tutorials/tensordict_shapes.rst.txt +++ b/_sources/tutorials/tensordict_shapes.rst.txt @@ -521,19 +521,19 @@ like :func:`torch.gather`. .. code-block:: none index: - tensor([[1, 3, 1, 0], - [1, 2, 3, 1], - [1, 1, 0, 1]]) + tensor([[0, 3, 2, 1], + [2, 2, 3, 2], + [2, 0, 2, 0]]) tensordict['a']: - tensor([[0.6435, 0.8054, 0.9983, 0.4238], - [0.9842, 0.4340, 0.8523, 0.5265], - [0.1708, 0.0143, 0.2981, 0.9721]]) + tensor([[0.4003, 0.3863, 0.8916, 0.4065], + [0.2656, 0.6441, 0.3445, 0.6833], + [0.6153, 0.8126, 0.9607, 0.1182]]) gathered_tensordict['a']: - tensor([[0.8054, 0.4238, 0.8054, 0.6435], - [0.4340, 0.8523, 0.5265, 0.4340], - [0.0143, 0.0143, 0.1708, 0.0143]]) + tensor([[0.4003, 0.4065, 0.8916, 0.3863], + [0.3445, 0.3445, 0.6833, 0.3445], + [0.9607, 0.6153, 0.9607, 0.6153]]) diff --git a/reference/generated/tensordict.nn.ProbabilisticTensorDictModule.html b/reference/generated/tensordict.nn.ProbabilisticTensorDictModule.html index 0d3b4018f..ddf9a86e4 100644 --- a/reference/generated/tensordict.nn.ProbabilisticTensorDictModule.html +++ b/reference/generated/tensordict.nn.ProbabilisticTensorDictModule.html @@ -471,8 +471,9 @@
A TensorDictModule, is a python wrapper around a nn.Module
that reads and writes to a TensorDict.
By default, TensorDictModule
subclasses are always functional,
-meaning that they support the td_module(input, params=params)
function
-call signature.
>>> import torch
>>> from tensordict import TensorDict
>>> from tensordict.nn import TensorDictModule
->>> from tensordict.nn.functional_modules import make_functional
>>> td = TensorDict({"input": torch.randn(3, 4), "hidden": torch.randn(3, 8)}, [3,])
>>> module = torch.nn.GRUCell(4, 8)
>>> td_module = TensorDictModule(
... module=module, in_keys=["input", "hidden"], out_keys=["output"]
... )
->>> params = make_functional(td_module)
->>> td_functional = td_module(td.clone(), params=params)
+>>> params = TensorDict.from_module(td_module)
+>>> # functional API
+>>> with params.to_module(td_module):
+... td_functional = td_module(td.clone())
>>> print(td_functional)
TensorDict(
fields={
@@ -533,7 +531,10 @@ TensorDictModule batch_size=torch.Size([4]),
device=None,
is_shared=False)
->>> td_vmap = vmap(td_module, (None, 0))(td.clone(), params_repeat)
+>>> def func(td, params):
+... with params.to_module(td_module):
+... return td_module(td)
+>>> td_vmap = vmap(func, (None, 0))(td.clone(), params_repeat)
>>> print(td_vmap)
TensorDict(
fields={
diff --git a/reference/generated/tensordict.nn.TensorDictSequential.html b/reference/generated/tensordict.nn.TensorDictSequential.html
index 9d2e6cc52..12c1c7567 100644
--- a/reference/generated/tensordict.nn.TensorDictSequential.html
+++ b/reference/generated/tensordict.nn.TensorDictSequential.html
@@ -371,9 +371,6 @@ TensorDictSequential
class tensordict.nn.TensorDictSequential(*args, **kwargs)¶
A sequence of TensorDictModules.
-By default, TensorDictSequential
subclasses are always functional,
-meaning that they support the td_module(input, params=params)
function
-call signature.
Similarly to nn.Sequence
which passes a tensor through a chain of mappings that read and write a single tensor
each, this module will read and write over a tensordict by querying each of the input modules.
When calling a TensorDictSequencial
instance with a functional module, it is expected that the parameter lists (and
@@ -451,8 +448,9 @@
TensorDictSequential... module=module2, in_keys=["hidden"], out_keys=["output"]
... )
>>> td_module = TensorDictSequential(td_module1, td_module2)
->>> params = make_functional(td_module)
->>> _ = td_module(td, params=params)
+>>> params = TensorDict.from_module(td_module)
+>>> with params.to_module(td_module):
+... _ = td_module(td)
>>> print(td)
TensorDict(
fields={
@@ -471,7 +469,10 @@ TensorDictSequential
- In the vmap case:
>>> from torch import vmap
>>> params = params.expand(4)
->>> td_vmap = vmap(td_module, (None, 0))(td, params)
+>>> def func(td, params):
+... with params.to_module(td_module):
+... return td_module(td)
+>>> td_vmap = vmap(func, (None, 0))(td, params)
>>> print(td_vmap)
TensorDict(
fields={
diff --git a/searchindex.js b/searchindex.js
index 6322df54a..4d3589bd5 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"docnames": ["distributed", "fx", "index", "overview", "reference/generated/tensordict.LazyStackedTensorDict", "reference/generated/tensordict.MemoryMappedTensor", "reference/generated/tensordict.NonTensorData", "reference/generated/tensordict.PersistentTensorDict", "reference/generated/tensordict.SubTensorDict", "reference/generated/tensordict.TensorDict", "reference/generated/tensordict.TensorDictBase", "reference/generated/tensordict.TensorDictParams", "reference/generated/tensordict.dense_stack_tds", "reference/generated/tensordict.is_batchedtensor", "reference/generated/tensordict.is_memmap", "reference/generated/tensordict.is_tensor_collection", "reference/generated/tensordict.lazy_legacy", "reference/generated/tensordict.make_tensordict", "reference/generated/tensordict.merge_tensordicts", "reference/generated/tensordict.nn.EnsembleModule", "reference/generated/tensordict.nn.ProbabilisticTensorDictModule", "reference/generated/tensordict.nn.TensorDictModule", "reference/generated/tensordict.nn.TensorDictModuleBase", "reference/generated/tensordict.nn.TensorDictModuleWrapper", "reference/generated/tensordict.nn.TensorDictParams", "reference/generated/tensordict.nn.TensorDictSequential", "reference/generated/tensordict.nn.biased_softplus", "reference/generated/tensordict.nn.dispatch", "reference/generated/tensordict.nn.distributions.AddStateIndependentNormalScale", "reference/generated/tensordict.nn.distributions.CompositeDistribution", "reference/generated/tensordict.nn.distributions.Delta", "reference/generated/tensordict.nn.distributions.OneHotCategorical", "reference/generated/tensordict.nn.distributions.TruncatedNormal", "reference/generated/tensordict.nn.get_functional", "reference/generated/tensordict.nn.inv_softplus", "reference/generated/tensordict.nn.is_functional", "reference/generated/tensordict.nn.make_functional", "reference/generated/tensordict.nn.make_tensordict", "reference/generated/tensordict.nn.repopulate_module", "reference/generated/tensordict.nn.set_interaction_type", "reference/generated/tensordict.nn.set_skip_existing", "reference/generated/tensordict.nn.skip_existing", "reference/generated/tensordict.pad", "reference/generated/tensordict.pad_sequence", "reference/generated/tensordict.prototype.symbolic_trace", "reference/generated/tensordict.set_lazy_legacy", "reference/generated/tensordict.tensorclass", "reference/generated/tensordict.utils.expand_as_right", "reference/generated/tensordict.utils.expand_right", "reference/generated/tutorials/README", "reference/index", "reference/nn", "reference/tensorclass", "reference/tensordict", "saving", "sg_execution_times", "tutorials/data_fashion", "tutorials/index", "tutorials/sg_execution_times", "tutorials/tensorclass_fashion", "tutorials/tensorclass_imagenet", "tutorials/tensordict_keys", "tutorials/tensordict_memory", "tutorials/tensordict_module", "tutorials/tensordict_module_functional", "tutorials/tensordict_preallocation", "tutorials/tensordict_shapes", "tutorials/tensordict_slicing"], "filenames": ["distributed.rst", "fx.rst", "index.rst", "overview.rst", "reference/generated/tensordict.LazyStackedTensorDict.rst", "reference/generated/tensordict.MemoryMappedTensor.rst", "reference/generated/tensordict.NonTensorData.rst", "reference/generated/tensordict.PersistentTensorDict.rst", "reference/generated/tensordict.SubTensorDict.rst", "reference/generated/tensordict.TensorDict.rst", "reference/generated/tensordict.TensorDictBase.rst", "reference/generated/tensordict.TensorDictParams.rst", "reference/generated/tensordict.dense_stack_tds.rst", "reference/generated/tensordict.is_batchedtensor.rst", "reference/generated/tensordict.is_memmap.rst", "reference/generated/tensordict.is_tensor_collection.rst", "reference/generated/tensordict.lazy_legacy.rst", "reference/generated/tensordict.make_tensordict.rst", "reference/generated/tensordict.merge_tensordicts.rst", "reference/generated/tensordict.nn.EnsembleModule.rst", "reference/generated/tensordict.nn.ProbabilisticTensorDictModule.rst", "reference/generated/tensordict.nn.TensorDictModule.rst", "reference/generated/tensordict.nn.TensorDictModuleBase.rst", "reference/generated/tensordict.nn.TensorDictModuleWrapper.rst", "reference/generated/tensordict.nn.TensorDictParams.rst", "reference/generated/tensordict.nn.TensorDictSequential.rst", "reference/generated/tensordict.nn.biased_softplus.rst", "reference/generated/tensordict.nn.dispatch.rst", "reference/generated/tensordict.nn.distributions.AddStateIndependentNormalScale.rst", "reference/generated/tensordict.nn.distributions.CompositeDistribution.rst", "reference/generated/tensordict.nn.distributions.Delta.rst", "reference/generated/tensordict.nn.distributions.OneHotCategorical.rst", "reference/generated/tensordict.nn.distributions.TruncatedNormal.rst", "reference/generated/tensordict.nn.get_functional.rst", "reference/generated/tensordict.nn.inv_softplus.rst", "reference/generated/tensordict.nn.is_functional.rst", "reference/generated/tensordict.nn.make_functional.rst", "reference/generated/tensordict.nn.make_tensordict.rst", "reference/generated/tensordict.nn.repopulate_module.rst", "reference/generated/tensordict.nn.set_interaction_type.rst", "reference/generated/tensordict.nn.set_skip_existing.rst", "reference/generated/tensordict.nn.skip_existing.rst", "reference/generated/tensordict.pad.rst", "reference/generated/tensordict.pad_sequence.rst", "reference/generated/tensordict.prototype.symbolic_trace.rst", "reference/generated/tensordict.set_lazy_legacy.rst", "reference/generated/tensordict.tensorclass.rst", "reference/generated/tensordict.utils.expand_as_right.rst", "reference/generated/tensordict.utils.expand_right.rst", "reference/generated/tutorials/README.rst", "reference/index.rst", "reference/nn.rst", "reference/tensorclass.rst", "reference/tensordict.rst", "saving.rst", "sg_execution_times.rst", "tutorials/data_fashion.rst", "tutorials/index.rst", "tutorials/sg_execution_times.rst", "tutorials/tensorclass_fashion.rst", "tutorials/tensorclass_imagenet.rst", "tutorials/tensordict_keys.rst", "tutorials/tensordict_memory.rst", "tutorials/tensordict_module.rst", "tutorials/tensordict_module_functional.rst", "tutorials/tensordict_preallocation.rst", "tutorials/tensordict_shapes.rst", "tutorials/tensordict_slicing.rst"], "titles": ["TensorDict in distributed settings", "Tracing TensorDictModule", "Welcome to the TensorDict Documentation!", "Overview", "LazyStackedTensorDict", "MemoryMappedTensor", "NonTensorData", "PersistentTensorDict", "SubTensorDict", "TensorDict", "TensorDictBase", "TensorDictParams", "dense_stack_tds", "is_batchedtensor", "is_memmap", "is_tensor_collection", "lazy_legacy", "make_tensordict", "merge_tensordicts", "tensordict.nn.EnsembleModule", "ProbabilisticTensorDictModule", "TensorDictModule", "TensorDictModuleBase", "TensorDictModuleWrapper", "tensordict.nn.TensorDictParams", "TensorDictSequential", "tensordict.nn.biased_softplus", "tensordict.nn.dispatch", "tensordict.nn.distributions.AddStateIndependentNormalScale", "tensordict.nn.distributions.CompositeDistribution", "tensordict.nn.distributions.Delta", "tensordict.nn.distributions.OneHotCategorical", "tensordict.nn.distributions.TruncatedNormal", "tensordict.nn.get_functional", "tensordict.nn.inv_softplus", "tensordict.nn.is_functional", "tensordict.nn.make_functional", "tensordict.nn.make_tensordict", "tensordict.nn.repopulate_module", "tensordict.nn.set_interaction_type", "tensordict.nn.set_skip_existing", "tensordict.nn.skip_existing", "pad", "pad_sequence", "tensordict.prototype.symbolic_trace", "set_lazy_legacy", "tensorclass", "expand_as_right", "expand_right", "README Tutos", "API Reference", "tensordict.nn package", "tensorclass", "tensordict package", "Saving TensorDict and tensorclass objects", "Computation times", "Using TensorDict for datasets", "README Tutos", "Computation times", "Using tensorclasses for datasets", "Batched data loading with tensorclasses", "Manipulating the keys of a TensorDict", "Simplifying PyTorch Memory Management with TensorDict", "TensorDictModule", "Functionalizing TensorDictModule", "Pre-allocating memory with TensorDict", "Manipulating the shape of a TensorDict", "Slicing, Indexing, and Masking"], "terms": {"can": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 22, 24, 25, 27, 28, 33, 37, 40, 45, 46, 51, 52, 53, 54, 56, 59, 60, 61, 62, 63, 64, 66, 67], "us": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 16, 17, 20, 21, 22, 24, 25, 27, 28, 29, 33, 37, 39, 40, 46, 51, 52, 53, 55, 57, 58, 60, 61, 62, 64, 65, 66, 67], "pass": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 15, 20, 21, 23, 25, 26, 27, 51, 53, 54, 56, 59, 62], "from": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 17, 19, 20, 21, 22, 24, 25, 27, 28, 29, 37, 40, 42, 46, 51, 52, 53, 54, 55, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67], "one": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 22, 23, 27, 28, 31, 40, 51, 52, 53, 54, 56, 59, 60, 61, 62, 63, 64, 66, 67], "anoth": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 21, 27, 47, 54, 61, 66], "If": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 26, 27, 36, 37, 40, 53, 54, 62, 63, 66], "two": [0, 3, 4, 5, 7, 8, 9, 10, 11, 20, 42, 54, 56, 59, 60, 63, 64, 67], "have": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 24, 25, 27, 37, 40, 51, 52, 53, 54, 62, 63, 65, 66, 67], "access": [0, 3, 5, 7, 11, 22, 53, 54, 61, 66], "share": [0, 4, 5, 6, 7, 8, 9, 10, 11, 64, 66, 67], "physic": [0, 5, 53, 60], "storag": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 46, 53, 60], "effici": [0, 3, 5, 53, 56, 59, 60, 61], "data": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 15, 17, 19, 21, 37, 43, 46, 51, 52, 53, 54, 55, 56, 57, 58, 59, 64], "run": [0, 5, 11, 20, 23, 25, 27, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "process": [0, 3, 4, 6, 7, 8, 9, 10, 11, 45, 53, 60], "here": [0, 3, 5, 51, 52, 54, 59, 60], "we": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 19, 20, 21, 22, 25, 37, 51, 53, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "provid": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 25, 27, 43, 47, 51, 52, 56, 59, 60, 61, 62, 63], "some": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 25, 42, 45, 46, 54, 59, 60, 63], "detail": [0, 5, 11], "how": [0, 4, 5, 7, 8, 9, 10, 11, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "thi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 22, 23, 24, 25, 27, 29, 31, 33, 37, 40, 45, 51, 52, 53, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "achiev": [0, 4, 11, 52, 61, 63], "rpc": [0, 5], "For": [0, 2, 3, 4, 5, 7, 8, 9, 10, 11, 29, 36, 42, 51, 60, 61, 62, 63, 64, 67], "more": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 21, 28, 52, 54, 56, 59, 60, 63, 66], "check": [0, 1, 4, 5, 7, 8, 9, 10, 11, 15, 35, 40, 52, 54, 60, 62], "offici": 0, "pytorch": [0, 2, 3, 5, 7, 51, 53, 54, 55, 56, 57, 58, 59, 60], "document": [0, 11, 52, 54], "arrai": [0, 5, 53, 60, 65], "great": 0, "advantag": [0, 3, 5, 7, 51, 53, 54, 60, 65], "thei": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 21, 24, 25, 40, 51, 54, 59, 60, 62, 63, 65, 66], "store": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 22, 46, 53, 54, 56, 59, 61, 62, 65], "amount": 0, "allow": [0, 3, 4, 5, 7, 8, 9, 10, 11, 27, 40, 51, 52, 53, 54, 56, 59, 60, 62, 63], "slice": [0, 2, 3, 4, 5, 7, 8, 9, 10, 11, 55, 57, 58, 66], "readili": 0, "without": [0, 2, 3, 4, 5, 7, 8, 9, 10, 11, 54], "read": [0, 1, 2, 3, 5, 7, 9, 20, 21, 22, 25, 27, 31, 51, 53, 54, 63, 64], "whole": [0, 54], "file": [0, 4, 5, 6, 7, 8, 9, 10, 11, 53, 54, 55, 58, 60, 62], "offer": [0, 3, 53, 54, 56, 59, 60], "an": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 17, 19, 20, 21, 22, 25, 27, 37, 51, 52, 53, 54, 56, 59, 60, 61, 62, 63, 65, 66], "interfac": [0, 7, 29, 63], "between": [0, 4, 5, 7, 8, 9, 10, 11, 20, 63], "torch": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 17, 19, 20, 21, 22, 24, 25, 27, 28, 29, 30, 31, 32, 34, 36, 37, 40, 42, 43, 46, 47, 48, 51, 52, 53, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "class": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 39, 40, 42, 43, 45, 46, 47, 48, 51, 52, 53, 54, 56, 59, 60, 62, 63, 64], "name": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 21, 24, 27, 29, 40, 51, 63], "memmaptensor": [0, 14, 54], "instanc": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 20, 21, 23, 24, 25, 27, 29, 43, 46, 51, 52, 53, 54, 60, 63, 66], "object": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 20, 21, 23, 24, 52, 53, 56, 59, 63, 66], "repres": [0, 3, 4, 5, 7, 8, 9, 10, 11, 20, 24, 54, 60, 63, 67], "big": [0, 2, 4, 7, 8, 9, 10, 11, 53], "dataset": [0, 2, 3, 4, 6, 7, 8, 9, 10, 11, 53, 55, 57, 58, 60], "disk": [0, 4, 5, 6, 7, 8, 9, 10, 11, 53, 54, 56, 59, 60, 62], "easili": [0, 2, 3, 51, 54], "batch": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 27, 29, 30, 37, 42, 54, 55, 56, 57, 58, 59, 62, 64, 67], "wai": [0, 3, 4, 5, 7, 8, 9, 10, 11, 51, 53, 60, 61, 66, 67], "A": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 21, 22, 25, 26, 28, 29, 40, 42, 44, 46, 51, 60], "simpli": [0, 1, 3, 6, 54, 60, 61, 64, 66], "via": [0, 3, 5, 9, 22, 52], "1": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 19, 21, 22, 24, 25, 26, 27, 28, 42, 46, 51, 52, 54, 56, 59, 60, 61, 65, 66, 67], "popul": [0, 3, 5, 9, 21, 51, 53, 54, 56, 62, 65], "2": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 19, 21, 22, 25, 27, 28, 42, 43, 46, 51, 52, 54, 56, 59, 60, 61, 64, 65, 66, 67], "call": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 20, 21, 23, 25, 27, 29, 35, 39, 40, 45, 51, 53, 54, 63, 64, 65, 66], "memmap_": [0, 4, 6, 7, 8, 9, 10, 11, 54, 60, 62], "put": [0, 4, 5, 7, 8, 9, 10, 11, 54], "One": [0, 3, 5, 21, 31, 51, 52, 54, 60, 63], "queri": [0, 3, 4, 6, 7, 8, 9, 10, 11, 25, 63], "is_memmap": [0, 4, 7, 8, 9, 10, 11, 60], "itself": [0, 5, 11, 22, 62], "done": [0, 3, 4, 5, 7, 8, 9, 10, 11, 24, 51, 52, 53, 56, 59, 60, 66], "sever": [0, 11, 51, 53, 54], "firstli": 0, "empti": [0, 3, 4, 5, 7, 8, 9, 10, 11, 53, 56, 59, 60, 65], "shape": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 21, 22, 24, 25, 28, 29, 30, 37, 40, 42, 43, 47, 48, 51, 52, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67], "size": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 27, 28, 29, 30, 37, 40, 42, 43, 46, 47, 48, 51, 52, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "3": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 28, 29, 37, 42, 43, 46, 47, 48, 51, 52, 53, 54, 56, 59, 60, 61, 64, 65, 66, 67], "4": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 24, 25, 28, 29, 37, 42, 43, 46, 47, 48, 51, 52, 54, 56, 59, 60, 64, 65, 66, 67], "5": [0, 3, 4, 5, 7, 8, 9, 10, 11, 19, 47, 48, 52, 56, 59, 63, 64, 66, 67], "prefix": [0, 4, 6, 7, 8, 9, 10, 11, 54, 62], "tmp": [0, 54], "randn": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 19, 20, 21, 24, 25, 28, 29, 37, 51, 52, 54, 63, 64], "The": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 42, 51, 52, 53, 54, 56, 59, 60, 61, 62, 63, 66, 67], "attribut": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 22, 24, 27, 40, 52, 59, 62, 63, 66], "indic": [0, 4, 5, 6, 7, 8, 9, 10, 11, 22, 26, 27, 29, 40, 54, 56, 59, 63, 67], "where": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 22, 27, 29, 43, 51, 53, 54, 62, 63, 66], "temporari": [0, 62], "ha": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 35, 42, 45, 51, 53, 54, 60, 61, 63, 64, 65, 66], "It": [0, 3, 4, 5, 7, 8, 9, 10, 11, 20, 22, 43, 46, 51, 52, 63, 66], "crucial": 0, "directori": [0, 4, 6, 7, 8, 9, 10, 11, 52, 54, 62], "everi": [0, 4, 5, 7, 8, 9, 10, 11, 20, 23, 54], "option": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 20, 22, 25, 27, 28, 30, 36, 37, 40, 42, 43, 46, 52, 54], "exist": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 40, 41, 66], "former": [0, 3, 11, 20, 23], "method": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 16, 20, 21, 22, 23, 25, 27, 29, 36, 40, 45, 51, 52, 54, 56, 59, 60, 61, 62, 63, 66], "prefer": [0, 4, 7, 8, 9, 10, 11, 27, 62], "when": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 21, 22, 24, 25, 26, 27, 39, 40, 54, 59, 60, 61, 62, 63, 66, 67], "ar": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 40, 46, 51, 52, 53, 54, 59, 60, 61, 62, 63, 65, 66, 67], "do": [0, 3, 4, 5, 7, 8, 9, 10, 11, 40, 54, 60, 61], "fit": [0, 4, 5, 7, 8, 9, 10, 11, 53, 54], "suitabl": [0, 5, 54], "extrem": [0, 54], "serv": 0, "common": [0, 4, 7, 8, 9, 10, 11, 27, 60, 66, 67], "could": [0, 4, 5, 7, 8, 9, 10, 11, 54, 60, 61, 67], "would": [0, 3, 5, 11, 12, 53, 62, 63, 64, 67], "singl": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 21, 25, 27, 54, 60, 63, 64, 65, 66], "differ": [0, 4, 5, 6, 7, 8, 9, 10, 11, 17, 24, 25, 37, 52, 53, 54, 60, 62, 66], "much": [0, 3, 4, 5, 7, 8, 9, 10, 11, 53, 59, 60, 61, 66], "faster": [0, 3, 4, 7, 8, 9, 10, 11, 53], "than": [0, 3, 4, 5, 7, 8, 9, 10, 11, 21, 28, 42, 53, 54, 56, 59, 60, 63, 66], "each": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 25, 36, 46, 51, 54, 56, 59, 60, 61, 63, 66, 67], "had": [0, 66], "load": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 53, 55, 56, 57, 58, 59, 62], "independ": [0, 4, 5, 7, 8, 9, 10, 11, 28, 53, 54], "imag": [0, 3, 5, 53, 54, 56, 59, 60], "50000": 0, "480": [0, 53], "mask": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 43, 51, 55, 57, 58], "dtype": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 29, 37, 40, 43, 46, 51, 52, 53, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "bool": [0, 4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 24, 25, 27, 32, 36, 40, 43, 45, 46, 52, 60], "label": [0, 54, 56, 59], "uint8": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 60], "batch_siz": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 15, 17, 19, 20, 21, 22, 24, 25, 29, 37, 40, 42, 43, 46, 51, 52, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "devic": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 29, 37, 40, 43, 46, 51, 52, 54, 56, 59, 60, 61, 63, 64, 65, 66, 67], "cpu": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 21, 22, 24, 25, 29, 37, 40, 43, 51, 52, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "idx": [0, 3, 4, 5, 7, 8, 9, 10, 11, 60], "5020": 0, "34572": 0, "11200": 0, "clone": [0, 4, 5, 7, 8, 9, 10, 11, 12, 21, 22, 52, 53, 66], "field": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 29, 37, 40, 43, 51, 54, 56, 61, 62, 63, 64, 65, 66, 67], "float32": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 29, 37, 40, 43, 46, 51, 52, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "is_shar": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 29, 37, 40, 43, 46, 51, 52, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "fals": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 17, 19, 20, 21, 22, 24, 25, 29, 36, 37, 40, 43, 46, 51, 52, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "notic": [0, 3, 4, 7, 8, 9, 10, 11], "syntax": [0, 3, 61, 67], "sugar": 0, "directli": [0, 4, 5, 7, 8, 9, 10, 11, 12, 21, 54, 56, 59, 60, 61], "need": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 23, 27, 51, 52, 53, 54, 56, 59, 60, 63, 66, 67], "consider": 0, "take": [0, 3, 5, 7, 11, 19, 20, 23, 25, 28, 40, 51, 54, 56, 59, 60, 63, 64, 65], "account": 0, "current": [0, 3, 4, 5, 7, 8, 9, 10, 11, 51, 56, 59, 62], "compat": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 37, 43, 51, 63, 67], "autograd": [0, 4, 5, 7, 8, 9, 10, 11], "simpl": [0, 3, 4, 5, 7, 8, 9, 10, 11, 20, 56, 59, 64], "exampl": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 17, 19, 20, 21, 22, 24, 25, 27, 28, 29, 37, 40, 42, 43, 46, 47, 48, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 64, 65, 66, 67], "script": [0, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "send": [0, 3, 4, 7, 8, 9, 10, 11, 62], "its": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 19, 20, 21, 22, 36, 37, 38, 51, 52, 53, 54, 59, 63, 66], "refer": [0, 2, 4, 5, 7, 8, 9, 10, 11, 53, 55, 60, 67], "worker": [0, 3, 4, 5, 7, 8, 9, 10, 11, 53, 60], "respons": [0, 7, 63], "updat": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 22, 54, 60, 63, 65, 66, 67], "you": [0, 1, 3, 5, 11, 19, 52, 53, 54, 59, 61, 62, 63, 64, 65, 66, 67], "find": [0, 63], "benchmark": [0, 60], "In": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 21, 25, 27, 29, 51, 53, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "short": [0, 5], "our": [0, 3, 56, 59, 60, 63], "goal": [0, 4, 7, 8, 9, 10, 11], "show": [0, 11, 12, 51, 60, 63, 64], "handl": [0, 2, 3, 4, 5, 7, 8, 9, 10, 11, 51, 53, 56, 59], "write": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 25, 51, 54, 59, 60, 63, 64], "step": [0, 2, 3, 5, 20, 56, 59, 60, 65, 66], "involv": 0, "local": [0, 11], "remot": [0, 5], "execut": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 25, 40, 45, 46, 53, 54, 55, 58, 63, 64], "command": [0, 54], "first": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 27, 42, 51, 52, 53, 54, 56, 60, 63, 65, 66, 67], "function": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 23, 25, 27, 28, 33, 34, 36, 37, 50, 52, 53, 55, 56, 57, 58, 59, 63, 65, 66, 67], "specif": [0, 5, 21], "fill": [0, 4, 5, 7, 8, 9, 10, 11, 42, 65], "def": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 24, 27, 40, 46, 51, 52, 54, 56, 59, 60, 63, 64, 65], "fill_tensordict": 0, "memmap": [0, 4, 6, 7, 8, 9, 10, 11, 52, 54, 56, 59, 62], "ones": [0, 3, 4, 5, 7, 8, 9, 10, 11, 21, 22, 27, 42, 46, 52, 61, 67], "640": 0, "return": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 20, 21, 22, 25, 26, 27, 28, 29, 33, 36, 37, 40, 41, 42, 43, 46, 47, 48, 51, 52, 54, 56, 59, 60, 61, 63, 64, 65, 66, 67], "fill_tensordict_cp": 0, "cloudpicklewrapp": 0, "ensur": [0, 5, 11, 60], "serializ": [0, 4, 7, 8, 9, 10, 11], "next": [0, 5, 60, 66], "make": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 51, 52, 54, 60, 61, 63, 64, 67], "point": [0, 3, 4, 5, 7, 8, 9, 10, 11, 27, 29, 51], "hard": 0, "through": [0, 3, 4, 5, 7, 8, 9, 10, 11, 20, 25, 26, 27, 51, 60, 63, 65], "regular": [0, 3, 4, 6, 7, 8, 9, 10, 11, 20, 21, 53, 54, 60, 63, 64, 66, 67], "tensorpip": 0, "1000": [0, 3, 20], "final": [0, 3, 4, 6, 7, 8, 9, 10, 11, 51, 54], "still": [0, 4, 5, 7, 8, 9, 10, 11, 22, 36, 61, 62], "main": [0, 2, 5, 20, 53, 54, 60], "been": [0, 4, 5, 7, 8, 9, 10, 11, 35, 45, 51, 54, 61, 62, 65], "written": [0, 3, 4, 6, 7, 8, 9, 10, 11, 20, 21, 22, 27, 43, 54, 63, 65, 67], "6": [0, 3, 4, 5, 7, 8, 9, 10, 11, 30, 42, 52, 59, 63, 66, 67], "7": [0, 4, 5, 7, 8, 9, 10, 11, 56], "998": 0, "t0": [0, 56, 59, 60], "time": [0, 3, 4, 5, 7, 8, 9, 10, 11, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "out": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 21, 37, 40, 43, 46, 51, 60, 63], "rpc_sync": 0, "worker_info": 0, "arg": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 19, 20, 21, 22, 23, 25, 40, 51], "print": [0, 1, 3, 4, 6, 7, 8, 9, 10, 11, 17, 20, 21, 24, 25, 27, 28, 29, 37, 40, 42, 43, 46, 47, 48, 51, 52, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "elaps": 0, "all": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 20, 23, 25, 27, 28, 29, 39, 40, 42, 51, 52, 53, 54, 55, 57, 61, 62, 63, 65, 66, 67], "although": [0, 4, 7, 8, 9, 10, 11, 20, 23, 46], "entir": [0, 1, 4, 7, 8, 9, 10, 11, 54, 59, 60], "origin": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 22, 51, 53, 54, 61, 62, 66, 67], "snippet": 0, "fast": [0, 7, 54, 62], "even": [0, 3, 4, 5, 7, 8, 9, 10, 11, 21, 42, 52, 60, 66], "so": [0, 4, 5, 6, 7, 8, 9, 10, 11, 25, 42, 54, 56, 59, 60, 61, 66, 67], "locat": [0, 4, 5, 6, 7, 8, 9, 10, 11, 54, 62], "alreadi": [0, 4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 40, 54, 56, 59, 61], "beforehand": 0, "see": [0, 4, 5, 7, 8, 9, 10, 11, 40, 59, 60, 61, 62, 63, 66], "torchrl": [0, 3, 19, 51], "s": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 25, 40, 51, 54, 56, 59, 60, 66], "replai": 0, "buffer": [0, 4, 6, 7, 8, 9, 10, 11, 21, 24, 25, 51, 53, 64], "learn": [0, 60, 61, 62, 63, 64, 65, 66, 67], "contain": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 15, 21, 23, 24, 27, 29, 43, 51, 53, 54, 56, 59, 60, 61, 63, 65, 66], "addit": [0, 3, 4, 5, 7, 8, 9, 10, 11, 51, 60, 66], "configur": [0, 4, 7, 8, 9, 10, 11], "beyond": 0, "purpos": [0, 2, 3, 5, 51, 54], "support": [1, 3, 4, 5, 7, 8, 9, 10, 11, 21, 22, 24, 25, 52, 54, 60, 62, 63, 66], "creat": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 23, 25, 37, 43, 45, 46, 52, 54, 56, 59, 60, 61, 62, 63, 64, 66, 67], "fx": 1, "graph": [1, 3, 5, 22, 40, 51], "import": [1, 3, 4, 7, 8, 9, 10, 11, 12, 19, 20, 21, 22, 24, 25, 28, 40, 42, 46, 51, 52, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "symbolic_trac": [1, 51], "tensordict": [1, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 25, 42, 43, 45, 46, 47, 48, 50, 52, 55, 57, 58, 59, 60, 63, 64, 67], "prototyp": [1, 51, 52, 54, 59, 60], "instead": [1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 23, 27, 52, 60, 63, 66, 67], "highli": [1, 2], "experiment": [1, 5, 20], "subject": [1, 5], "chang": [1, 4, 5, 7, 8, 9, 10, 11, 22, 24, 25, 40, 45, 52, 61], "caution": [1, 4, 7, 8, 9, 10, 11], "rais": [1, 4, 5, 6, 7, 8, 9, 10, 11, 54], "issu": [1, 52], "try": [1, 6, 27, 66], "encount": 1, "problem": [1, 3, 51], "ll": [1, 56, 59, 60, 64], "illustr": [1, 54], "overview": [1, 2], "inspect": 1, "gener": [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 27, 55, 56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "code": [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 25, 40, 45, 51, 54, 56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "nn": [1, 3, 4, 5, 7, 8, 9, 10, 11, 20, 21, 22, 23, 25, 43, 50, 52, 54, 56, 59, 60, 61, 63, 64], "net": [1, 3, 11, 19, 20, 22, 51, 56, 59, 63], "modul": [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 33, 35, 36, 38, 40, 41, 51, 53, 54, 56, 59, 60, 61, 63, 64], "__init__": [1, 3, 11, 24, 51, 56, 59, 60, 63, 64], "self": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 22, 24, 27, 40, 46, 51, 52, 56, 59, 60, 63, 64], "super": [1, 3, 11, 24, 51, 56, 59, 60, 63, 64], "linear": [1, 3, 4, 5, 7, 8, 9, 10, 11, 19, 22, 24, 25, 28, 51, 56, 59, 61, 63, 64], "lazylinear": [1, 3], "forward": [1, 3, 5, 11, 20, 21, 22, 23, 25, 27, 36, 40, 42, 51, 56, 59, 60, 63, 64], "x": [1, 3, 4, 5, 7, 8, 9, 10, 11, 21, 22, 25, 46, 51, 52, 53, 54, 56, 59, 60, 63, 64], "logit": [1, 3, 5, 29, 31, 56, 59], "sigmoid": [1, 3, 5], "in_kei": [1, 3, 19, 20, 21, 22, 25, 27, 40, 51, 63, 64], "input": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 17, 19, 20, 21, 22, 25, 27, 29, 37, 40, 47, 51, 59, 64], "out_kei": [1, 3, 19, 20, 21, 22, 25, 27, 40, 51, 63, 64], "output": [1, 3, 4, 5, 7, 8, 9, 10, 11, 20, 21, 22, 25, 27, 40, 43, 51, 52, 64], "probabl": [1, 3, 4, 5, 7, 8, 9, 10, 11, 20, 51, 63], "graph_modul": 1, "user": [1, 3, 4, 5, 7, 8, 9, 10, 11, 40, 51, 52, 54, 63], "placehold": 1, "target": [1, 4, 5, 7, 8, 9, 10, 11, 47, 48, 51, 56, 59, 60], "getitem": 1, "call_funct": 1, "oper": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 21, 23, 24, 46, 52, 54, 60, 61, 63, 64, 66], "kwarg": [1, 3, 4, 5, 7, 8, 9, 10, 11, 17, 19, 20, 21, 22, 23, 25, 27, 31, 37, 40, 51], "call_modul": 1, "none": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 29, 30, 31, 32, 33, 36, 37, 39, 40, 43, 46, 51, 52, 54, 59, 60, 61, 62, 63, 64, 65, 66, 67], "result": [1, 4, 5, 6, 7, 8, 9, 10, 11, 24, 25, 27, 29, 52, 53, 54, 60, 65, 66], "same": [1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 22, 40, 52, 53, 54, 56, 59, 60, 61, 62, 63, 65, 66, 67], "32": [1, 3, 4, 5, 7, 8, 9, 10, 11, 19, 51, 54, 56, 60], "100": [1, 3, 5, 11, 51, 56, 59, 60, 61], "module_out": 1, "tensordict_out": [1, 20, 21, 22, 25, 63], "graph_module_out": 1, "assert": [1, 3, 4, 5, 7, 8, 9, 10, 11, 21, 24, 27, 28, 46, 52, 53, 54, 61, 63, 65, 66, 67], "also": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 22, 24, 25, 27, 37, 40, 46, 51, 52, 54, 56, 59, 60, 61, 62, 63, 64, 66, 67], "case": [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 21, 25, 50, 59, 60, 61, 63, 66, 67], "elimin": [1, 5, 60], "intermedi": [1, 3, 22, 51], "demonstr": [1, 56, 59, 60, 63, 65], "sequenti": [1, 3, 4, 7, 8, 9, 10, 11, 19, 22, 24, 25, 51, 56, 59, 60, 61, 63], "input_s": [1, 3, 51], "hidden_s": [1, 3, 51], "50": [1, 3, 4, 7, 8, 9, 10, 11, 51, 55, 56, 58, 61], "output_s": [1, 3, 5, 51], "10": [1, 3, 4, 5, 7, 8, 9, 10, 11, 19, 29, 51, 52, 53, 54, 55, 56, 58, 59, 61, 62, 63, 64, 65], "fc1": [1, 3, 51], "fc2": [1, 3, 51], "relu": [1, 3, 19, 22, 28, 51, 56, 59, 63], "masker": [1, 3, 51], "softmax": [1, 3, 5, 51, 63], "dim": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 37, 51, 52, 63, 66], "_0_fc1": 1, "getattr": [1, 4, 6, 7, 8, 9, 10, 11], "0": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 20, 21, 22, 24, 25, 26, 28, 42, 43, 51, 52, 54, 55, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67], "_0_fc2": 1, "getitem_1": 1, "mul": [1, 5], "bit": [1, 3, 5, 56], "complic": [1, 22, 63], "visual": 1, "follow": [1, 3, 5, 6, 11, 22, 25, 40, 51, 52, 54, 60, 62, 63, 67], "requir": [1, 3, 4, 5, 7, 8, 9, 10, 11, 21, 24, 25, 53, 54, 62, 63, 64], "pydot": 1, "visualis": 1, "graph_draw": 1, "fxgraphdraw": 1, "g": [1, 4, 5, 7, 8, 9, 10, 11, 19, 20, 56, 59], "open": 1, "svg": 1, "wb": 1, "f": [1, 4, 5, 7, 8, 9, 10, 11, 54, 56, 59, 60, 61, 63], "get_dot_graph": 1, "create_svg": 1, "which": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 20, 25, 27, 42, 51, 52, 53, 54, 61, 62, 63, 64, 65, 66, 67], "dictionari": [2, 3, 4, 6, 7, 8, 9, 10, 11, 17, 20, 21, 29, 37, 53, 61], "like": [2, 3, 4, 5, 7, 8, 9, 10, 11, 52, 53, 56, 59, 60, 61, 62, 66], "inherit": [2, 52, 53], "properti": [2, 4, 5, 6, 7, 8, 9, 10, 11, 45, 63], "tensor": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 37, 40, 42, 43, 46, 47, 48, 50, 51, 52, 54, 56, 59, 60, 61, 63, 64, 65, 66, 67], "index": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 24, 46, 52, 53, 55, 57, 58, 62], "cast": [2, 4, 5, 7, 8, 9, 10, 11, 46], "etc": [2, 9, 11, 29, 54, 56, 59], "base": [2, 3, 4, 7, 8, 9, 10, 11, 22, 51, 52, 56, 59, 60], "readabl": 2, "modular": [2, 25], "abstract": [2, 10], "awai": 2, "tailor": 2, "i": [2, 3, 4, 5, 7, 8, 9, 10, 11, 20, 28, 54, 56, 59, 60, 63, 65], "enumer": [2, 3, 11, 56, 59, 60], "model": [2, 3, 4, 7, 8, 9, 10, 11, 38, 51, 53, 54, 60, 64], "loss": [2, 3, 56, 59], "loss_modul": [2, 3], "backward": [2, 3, 5, 11, 56, 59], "optim": [2, 3, 11, 54], "zero_grad": [2, 3, 11, 56, 59], "With": [2, 3], "level": [2, 3, 5, 51, 61], "recycl": 2, "train": [2, 3, 4, 6, 7, 8, 9, 10, 11, 56, 59, 60], "loop": [2, 3, 4, 6, 7, 8, 9, 10, 11, 56, 59, 60, 65], "heterogen": [2, 4], "task": [2, 3], "individu": [2, 5, 11, 56, 59], "collect": [2, 3, 4, 7, 8, 9, 10, 11, 36, 60, 62], "transform": [2, 4, 7, 8, 9, 10, 11, 21, 26, 45, 51, 54, 56, 59, 60], "predict": [2, 5, 51, 59], "comput": [2, 3, 4, 5, 11, 20, 23, 25, 26, 41, 51, 60, 66], "hand": [2, 54], "impact": [2, 4, 7, 8, 9, 10, 11, 24, 61], "other": [2, 3, 4, 5, 7, 8, 9, 10, 11, 22, 24, 27, 28, 46, 52, 54, 60, 63, 66], "abov": [2, 5, 11, 54, 60, 62, 65], "across": [2, 3, 4, 5, 7, 8, 9, 10, 11, 27, 53], "classif": 2, "segment": 2, "among": [2, 12], "mani": [2, 3, 4, 5, 7, 8, 9, 10, 11, 46, 52, 66, 67], "manipul": [2, 3, 55, 57, 58, 67], "kei": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 20, 21, 22, 24, 25, 27, 29, 37, 40, 51, 53, 54, 55, 56, 57, 58, 63, 64, 65, 66], "pre": [2, 11, 46, 52, 54, 55, 56, 57, 58, 59, 60], "alloc": [2, 4, 5, 6, 7, 8, 9, 10, 11, 52, 54, 55, 57, 58], "memori": [2, 4, 5, 6, 7, 8, 9, 10, 11, 50, 52, 55, 56, 57, 58, 59, 60], "simplifi": [2, 53, 55, 57, 58], "manag": [2, 5, 40, 50, 55, 56, 57, 58, 59, 63], "tensordictmodul": [2, 19, 20, 22, 23, 25, 27, 44, 50, 51, 55, 57, 58], "tensorclass": [2, 4, 6, 7, 8, 9, 10, 11, 15, 50, 55, 57, 58], "motiv": 2, "featur": [2, 4, 7, 8, 9, 10, 11, 20, 21, 22, 51, 53, 54, 63], "dimens": [2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 27, 29, 42, 65, 67], "nest": [2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 25, 27, 29, 36, 37, 38, 46, 52, 54, 66], "lazi": [2, 4, 12, 16, 25, 45, 54, 66], "evalu": [2, 11], "program": [2, 5, 51], "distribut": [2, 3, 4, 5, 7, 8, 9, 10, 11, 20, 25, 50, 53, 60, 63], "set": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 24, 25, 33, 39, 40, 45, 52, 53, 54, 60, 62], "map": [2, 4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 25, 28, 29, 50, 52, 56, 59, 60, 63, 64], "node": [2, 3, 4, 5, 7, 8, 9, 10, 11, 40, 51], "trace": [2, 5, 50], "tensordictsequenti": [2, 3, 19, 22, 50, 51], "save": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 52, 56, 59, 60, 62], "memmori": 2, "memorymappedtensor": [2, 4, 7, 8, 9, 10, 11, 53, 56, 59, 60, 62], "torchsnapshot": 2, "api": [2, 3, 4, 5, 7, 8, 9, 10, 11, 51, 54], "packag": [2, 3, 50], "tensordictbas": [2, 4, 7, 8, 9, 11, 12, 15, 20, 21, 22, 23, 24, 25, 27, 29, 43, 47, 50, 54], "subtensordict": [2, 50], "lazystackedtensordict": [2, 12, 50, 54, 66], "persistenttensordict": [2, 4, 8, 9, 10, 11, 50], "tensordictparam": [2, 4, 7, 8, 9, 10, 50], "context": [2, 4, 5, 7, 8, 9, 10, 11, 40, 50, 60, 63], "util": [2, 5, 11, 43, 47, 48, 50, 54, 56, 59, 60, 62, 64], "tensordictmodulebas": [2, 40, 50], "probabilistictensordictmodul": [2, 25, 50, 51], "tensordictmodulewrapp": [2, 50], "ensembl": [2, 3, 19, 50], "compil": [2, 11, 50], "serial": [2, 5, 11, 50, 53, 54], "edg": [2, 50], "search": 2, "page": [2, 3], "easi": [3, 7, 21, 60], "organis": 3, "reusabl": [3, 63], "develop": 3, "ve": [3, 63], "spun": 3, "separ": [3, 4, 7, 8, 9, 10, 11, 27, 54, 61, 64], "librari": [3, 54], "primarili": 3, "multipl": [3, 4, 5, 7, 8, 9, 10, 11, 51, 52, 53, 54, 60, 65, 66, 67], "mostli": 3, "relat": [3, 59, 60], "design": 3, "serialis": [3, 4, 6, 7, 8, 9, 10, 11], "transmit": 3, "ship": 3, "own": [3, 11, 54], "functorch": [3, 51, 63, 64], "aim": [3, 4, 7, 8, 9, 10, 11], "paramet": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 34, 36, 37, 38, 39, 40, 42, 43, 47, 48, 51, 53, 61, 63, 64], "easier": [3, 54], "On": [3, 54], "give": [3, 4, 5, 7, 8, 9, 10, 11, 60], "what": [3, 22, 27, 51, 54, 63, 65], "re": [3, 4, 5, 7, 8, 9, 10, 11, 20, 41, 51, 54, 63], "usabl": 3, "paradigm": 3, "most": [3, 4, 5, 7, 8, 9, 10, 11, 51], "sl": 3, "ssl": 3, "ul": 3, "rl": 3, "tool": [3, 54], "littl": [3, 4, 7, 8, 9, 10, 11, 60], "effort": [3, 56], "multiprocess": [3, 4, 7, 8, 9, 10, 11, 53], "seamlessli": [3, 4, 7, 8, 9, 10, 11], "dispatch": [3, 4, 7, 8, 9, 10, 11, 21, 22], "datapoint": [3, 54], "split": [3, 4, 5, 7, 8, 9, 10, 11, 52], "arang": [3, 4, 5, 7, 8, 9, 10, 11, 60, 66], "rang": [3, 4, 5, 7, 8, 9, 10, 11, 54, 56, 59, 63, 65], "pipe": 3, "tree_map": 3, "too": [3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 22, 37, 54], "greater": [3, 5], "degre": [3, 11], "complex": [3, 4, 5, 7, 8, 9, 10, 11, 51, 54, 60, 63], "td": [3, 4, 6, 7, 8, 9, 10, 11, 12, 17, 20, 21, 22, 25, 37, 42, 51, 54, 63], "11": [3, 4, 5, 7, 8, 9, 10, 11, 51, 59], "b": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 22, 25, 27, 32, 37, 42, 51, 54, 61, 62, 63, 65, 66, 67], "regular_dict": 3, "td0": [3, 4, 7, 8, 9, 10, 11, 12, 54], "td1": [3, 4, 7, 8, 9, 10, 11, 12, 54], "td2": [3, 4, 7, 8, 9, 10, 11, 67], "unbind": [3, 4, 5, 6, 7, 8, 9, 10, 11], "similar": [3, 4, 5, 7, 8, 9, 10, 11, 20, 54, 56, 59, 63, 66], "structur": [3, 4, 6, 7, 8, 9, 10, 11, 12, 51, 54, 59, 60, 61, 62, 66, 67], "pytre": 3, "lambda": [3, 4, 5, 7, 8, 9, 10, 11, 21, 22, 25, 56, 59, 64], "regular_dict1": 3, "regular_dict2": 3, "regular_dict3": 3, "compel": 3, "c": [3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 22, 25, 27, 37, 54, 61, 62], "decompos": [3, 27], "three": [3, 54], "similarli": [3, 11, 25, 54, 61, 63], "after": [3, 4, 5, 7, 8, 9, 10, 11, 24, 53, 54, 60, 63, 65, 66], "appli": [3, 4, 5, 7, 8, 9, 10, 11, 20, 60, 64, 66, 67], "quickli": 3, "becom": [3, 5], "significantli": 3, "cumbersom": 3, "work": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 22, 24, 27, 37, 51, 52, 53, 54, 60, 61, 63, 66, 67], "naiv": 3, "want": [3, 5, 22, 25, 27, 40, 59, 61, 62, 65, 66, 67], "rather": [3, 7, 54, 56, 59, 60], "unbound": [3, 4, 6, 7, 8, 9, 10, 11], "dict": [3, 4, 6, 7, 8, 9, 10, 11, 17, 20, 21, 29, 37, 54, 61], "To": [3, 4, 5, 7, 8, 9, 10, 11, 19, 40, 42, 52, 54, 61, 62, 63], "instanti": [3, 4, 6, 61, 62], "must": [3, 4, 5, 7, 8, 9, 10, 11, 20, 21, 27, 29, 36, 42, 60, 61, 62, 63, 66, 67], "specifi": [3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 28, 37, 54, 59, 60, 61, 62, 63, 65, 66, 67], "valu": [3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 22, 24, 25, 26, 28, 34, 40, 42, 43, 52, 53, 62, 63, 65], "pair": [3, 4, 5, 6, 7, 8, 9, 10, 11, 20], "well": [3, 5, 11, 56, 59, 60, 63], "lead": [3, 6, 9, 17, 27, 37, 66, 67], "ani": [3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 21, 22, 23, 24, 25, 29, 52, 53, 54, 60, 61, 66], "zero": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 21, 22, 25, 26, 27, 40, 43, 46, 47, 48, 54, 60, 61, 63, 65, 67], "retriev": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 20, 56, 59, 61], "along": [3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 42, 51, 66, 67], "possibl": [3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 29, 37, 46, 51, 52, 53, 54, 61, 63], "obtain": [3, 5, 54, 60, 61, 67], "congruent": 3, "just": [3, 4, 5, 7, 8, 9, 10, 11, 25, 51, 53, 54, 56, 59, 60, 63, 66], "few": [3, 54, 60], "charact": [3, 4, 5, 7, 8, 9, 10, 11], "nth": 3, "ellipsi": [3, 4, 5, 7, 8, 9, 10, 11, 67], "sub_tensordict": 3, "inplac": [3, 4, 6, 7, 8, 9, 10, 11, 61], "true": [3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 19, 20, 22, 24, 25, 27, 36, 40, 43, 51, 54, 56, 59, 60, 61, 62, 63], "set_": [3, 4, 5, 7, 8, 9, 10, 11, 61], "content": [3, 4, 5, 6, 7, 8, 9, 10, 11, 24, 52, 53, 54, 59, 60, 62, 66], "fault": 3, "toler": [3, 4, 6, 7, 8, 9, 10, 11, 30], "version": [3, 4, 5, 7, 8, 9, 10, 11, 33], "latter": [3, 11, 20, 21, 23], "match": [3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 19, 20, 21, 27, 29, 30, 37, 47, 48, 51, 52, 63], "found": [3, 4, 6, 7, 8, 9, 10, 11, 20, 22, 25, 60, 61, 63], "new": [3, 4, 5, 6, 7, 8, 9, 10, 11, 22, 25, 42, 54, 61, 62, 63, 67], "now": [3, 5, 12, 51, 54, 60, 61, 63, 64], "place": [3, 4, 5, 6, 7, 8, 9, 10, 11, 22, 29, 33, 36, 51, 54, 62, 63, 65], "onto": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 28, 54, 62], "particular": [3, 5, 11, 61, 66], "cuda": [3, 4, 5, 7, 8, 9, 10, 11, 56, 59, 60, 62], "reshap": [3, 4, 5, 7, 8, 9, 10, 11, 46, 52, 63], "includ": [3, 4, 5, 7, 8, 9, 10, 11, 45, 53, 61], "squeez": [3, 4, 5, 7, 8, 9, 10, 11, 45, 52, 56, 59, 60], "unsqueez": [3, 4, 5, 7, 8, 9, 10, 11, 45, 46, 60], "view": [3, 4, 5, 7, 8, 9, 10, 11, 45, 54, 60, 67], "permut": [3, 4, 5, 7, 8, 9, 10, 11, 45], "stack": [3, 4, 7, 8, 9, 10, 11, 12, 19, 25, 43, 52, 54, 60, 64], "cat": [3, 4, 5, 7, 8, 9, 10, 11, 52, 66], "present": [3, 4, 5, 6, 7, 8, 9, 10, 11, 21, 24, 25, 32, 38, 40], "usual": [3, 5], "solut": 3, "wa": [3, 4, 5, 7, 8, 9, 10, 11, 22, 29], "given": [3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 21, 25, 61, 63, 67], "construct": [3, 4, 5, 11, 20, 24, 51, 53, 63], "refin": [3, 4, 5, 7, 8, 9, 10, 11], "later": [3, 5, 20, 52, 54, 56, 60], "semant": [3, 5], "refine_nam": [3, 4, 5, 7, 8, 9, 10, 11], "z": [3, 4, 5, 7, 8, 10, 11, 21, 22, 46], "y": [3, 4, 5, 7, 8, 9, 10, 11, 21, 22, 46, 52, 53, 54, 56, 59], "renam": [3, 4, 5, 6, 7, 8, 9, 10, 11], "m": [3, 11, 20, 24], "n": [3, 4, 5, 7, 8, 9, 10, 11, 20, 56, 59, 61, 65, 66], "h": [3, 5, 60], "themselv": [3, 61], "below": [3, 40, 66], "convert": [3, 4, 5, 6, 7, 8, 9, 10, 11, 24, 33, 36, 51, 54, 60, 62, 66], "rand": [3, 5, 29, 51, 54, 61, 62, 65, 66], "28": [3, 4, 5, 7, 8, 9, 10, 11, 56, 59], "randint": [3, 4, 5, 7, 8, 9, 10, 11, 51, 52, 54, 60, 66], "tupl": [3, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 27, 28, 61, 66, 67], "string": [3, 4, 5, 7, 8, 9, 10, 11, 22, 27, 36, 61], "get": [3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 22, 25, 42, 51, 52, 60, 63, 65, 66], "altern": [3, 4, 7, 8, 9, 10, 11, 12, 17, 37, 51, 62], "defer": 3, "until": [3, 4, 5, 7, 8, 9, 10, 11, 60], "item": [3, 4, 5, 7, 8, 9, 10, 11, 46, 52, 54, 56, 59, 61, 66], "immedi": [3, 5, 11], "perform": [3, 4, 5, 7, 8, 9, 10, 11, 20, 23, 24, 40, 52, 56, 60, 61, 66], "lazili": [3, 66], "lot": 3, "unnecessari": 3, "calcul": 3, "should": [3, 4, 5, 7, 8, 9, 10, 11, 19, 20, 21, 22, 23, 27, 41, 53, 60, 61, 62], "_": [3, 4, 7, 8, 9, 10, 11, 20, 21, 24, 25, 27, 40, 63], "happen": [3, 5, 66], "stacked_a": 3, "zeros_lik": [3, 4, 5, 7, 8, 9, 10, 11, 64], "caveat": 3, "expens": [3, 4, 7, 8, 9, 10, 11, 60], "repeat": [3, 5, 19, 56, 60, 66], "mai": [3, 4, 5, 7, 8, 9, 10, 11, 22, 52, 54, 66], "caus": [3, 4, 5, 7, 8, 9, 10, 11], "overhead": [3, 4, 7, 8, 9, 10, 11, 54, 59, 60, 63], "avoid": [3, 4, 5, 7, 8, 9, 10, 11, 21, 24, 52, 60, 63], "contigu": [3, 4, 5, 7, 8, 9, 10, 11, 43, 53, 56, 59, 60, 62, 66, 67], "further": [3, 5], "mitig": 3, "come": [3, 4, 5, 7, 8, 9, 10, 11, 51, 60], "meta": [3, 4, 5, 7, 8, 9, 10, 11, 52, 53, 54, 62], "metatensor": 3, "keep": [3, 4, 5, 7, 8, 9, 10, 11, 36], "track": [3, 5], "type": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 17, 20, 29, 37, 39, 43, 46, 52, 54, 56, 59, 60], "entri": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 22, 25, 29, 40, 41, 43, 52, 54, 61, 62, 63, 66, 67], "suppos": [3, 63, 65], "foo": 3, "someth": [3, 11], "automat": [3, 5, 7, 12, 27], "subsequ": [3, 9, 11, 25, 65], "iter": [3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 21, 24, 25, 33, 36, 37, 56, 60, 65], "integr": [3, 5], "wrap": [3, 5, 11, 19, 21, 23, 24, 27, 51], "accept": [3, 5, 11, 61, 63, 64, 66], "underli": [3, 5], "reason": [3, 11], "high": [3, 5, 51], "section": [3, 5], "facilit": 3, "adopt": 3, "ident": [3, 4, 6, 7, 8, 9, 10, 11, 52, 56, 59, 63], "previou": [3, 5, 19, 54, 63], "box": [3, 46], "pain": [3, 51], "inabl": [3, 51], "solv": [3, 51], "sequenc": [3, 4, 5, 7, 8, 9, 10, 11, 12, 17, 22, 25, 27, 30, 37, 42, 43, 48, 51, 63], "know": [3, 4, 5, 7, 8, 9, 10, 11, 51, 54], "mean": [3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 25, 51, 54, 60, 66, 67], "ignor": [3, 4, 5, 7, 8, 9, 10, 11, 20, 23, 40, 51, 63], "predecessor": [3, 51], "necessari": [3, 5, 7, 25, 27, 51, 54], "intermediate_x": 3, "second": [3, 19, 53, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "combin": [3, 5, 27, 54, 60], "under": [3, 11, 54, 60, 61, 65], "bunch": [3, 53], "list": [3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 22, 25, 27, 40, 43, 51, 52, 63, 66], "ask": [3, 4, 7, 8, 9, 10, 11], "sub": [3, 4, 5, 25, 27, 45, 51, 54, 67], "select_subsequ": [3, 25, 51], "desir": [3, 4, 5, 7, 8, 9, 10, 11, 20, 39, 48, 62], "onli": [3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 21, 22, 25, 27, 40, 42, 54, 60, 61, 63, 66], "indispens": 3, "satisfi": [3, 5], "those": [3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 25, 29, 62, 66, 67], "vmap": [3, 20, 21, 25, 51, 63, 64], "capabl": [3, 51, 54], "conjunct": [3, 61, 64, 66], "concaten": [3, 25, 52], "weight": [3, 4, 5, 7, 8, 9, 10, 11, 22, 24, 54, 61], "make_funct": [3, 20, 21, 25, 35, 51, 64], "layer1": [3, 51], "layer2": [3, 51], "hierarch": 3, "weights1": 3, "state_dict": [3, 4, 6, 7, 8, 9, 10, 11, 51, 54], "unflatten_kei": [3, 4, 7, 8, 9, 10, 11, 51, 61], "weights2": 3, "param": [3, 4, 5, 7, 8, 9, 10, 11, 20, 21, 22, 24, 25, 29, 30, 36, 51, 53, 61, 64], "let": [3, 5, 11, 40, 63, 64, 65], "last": [3, 4, 5, 7, 8, 9, 10, 11, 20, 51], "params_stack": 3, "d": [3, 4, 5, 7, 8, 9, 10, 11, 20, 22, 25, 27, 29, 56, 59], "compar": [3, 60], "functionalmodul": 3, "implement": [3, 4, 5, 7, 11, 51, 52, 54, 56, 59, 60], "t": [4, 5, 6, 7, 8, 9, 10, 11, 18, 40, 42, 43, 45, 46, 54, 56, 59, 60, 66, 67], "stack_dim": [4, 12, 66], "int": [4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 28, 30, 37, 42, 48, 60], "hook_out": 4, "callabl": [4, 5, 7, 8, 9, 10, 11, 19, 21], "hook_in": 4, "togeth": [4, 18, 19, 27, 29, 43, 51, 60, 63], "default": [4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 24, 25, 26, 27, 28, 30, 36, 40, 42, 43, 61, 62, 65, 66], "behaviour": [4, 5, 22, 40, 45, 52, 54], "them": [4, 5, 7, 8, 9, 10, 11, 12, 20, 23, 43, 52, 53, 60, 63, 66], "affect": [4, 5, 11, 25], "ndimens": [4, 5, 7, 8, 9, 10, 11], "befor": [4, 5, 7, 8, 9, 10, 11, 45, 60, 61, 63, 64, 66], "td_stack": [4, 12], "non": [4, 5, 6, 7, 8, 9, 10, 11, 20, 24, 25, 52, 54, 60, 63, 66, 67], "null": [4, 7, 8, 9, 10, 11], "boolean": [4, 5, 7, 8, 9, 10, 11, 52], "whether": [4, 5, 7, 8, 9, 10, 11, 19, 41], "integ": [4, 5, 7, 8, 9, 10, 11], "upon": [4, 7, 8, 9, 10, 11], "append": [4, 5], "analog": [4, 5], "noth": 4, "fn": [4, 7, 8, 9, 10, 11, 28], "str": [4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 27, 28, 33, 36, 37, 40, 46, 52, 54], "_no_default_": [4, 6, 7, 8, 9, 10, 11], "constructor_kwarg": [4, 7, 8, 9, 10, 11], "signatur": [4, 5, 7, 8, 9, 10, 11, 21, 22, 25, 40, 51], "union": [4, 5, 6, 7, 8, 9, 10, 11, 28, 54], "argument": [4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 22, 24, 27, 29, 37, 51, 54, 61, 62, 63, 66], "receiv": [4, 7, 8, 9, 10, 11], "unnam": [4, 5, 7, 8, 9, 10, 11, 27], "number": [4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 21, 27, 28, 30, 32, 42, 43, 56, 59, 60, 61, 66], "miss": [4, 7, 8, 9, 10, 11, 25, 54], "keyword": [4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 24, 27, 29, 37, 51, 61, 62, 63], "modifi": [4, 5, 7, 8, 9, 10, 11, 22, 29, 51, 53, 54, 56, 59, 63, 64], "made": [4, 7, 8, 9, 10, 11, 36], "keyerror": [4, 7, 8, 9, 10, 11], "constructor": [4, 7, 8, 9, 10, 11, 27, 63], "transformed_in": [4, 7, 8, 9, 10, 11], "td_1": [4, 7, 8, 9, 10, 11], "td_2": [4, 7, 8, 9, 10, 11], "filter": [4, 5, 7, 8, 9, 10, 11], "int64": [4, 5, 6, 7, 8, 9, 10, 11, 29, 51, 52, 56, 59, 60], "regardless": [4, 7, 8, 9, 10, 11], "apply_": [4, 5, 7, 8, 9, 10, 11], "copi": [4, 5, 6, 7, 8, 9, 10, 11, 19, 51, 54, 62], "auto_batch_size_": [4, 7, 8, 9, 10, 11], "batch_dim": [4, 6, 7, 8, 9, 10, 11, 66, 67], "maximum": [4, 5, 6, 7, 8, 9, 10, 11, 17, 27, 37], "up": [4, 5, 7, 8, 9, 10, 11, 40, 54, 56, 61, 63], "long": [4, 5, 6, 7, 8, 9, 10, 11, 17, 37, 53, 60, 67], "length": [4, 5, 7, 8, 9, 10, 11, 21, 67], "describ": [4, 5, 7, 8, 9, 10, 11], "correspond": [4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 36, 43, 54, 61, 66, 67], "arbitrari": [4, 5, 7, 8, 9, 10, 11, 54], "control": [4, 7, 8, 9, 10, 11, 21, 54, 62], "initi": [4, 5, 6, 7, 8, 9, 10, 11, 19, 52], "ie": [4, 6, 7, 8, 9, 10, 11, 21, 22, 25, 45, 54], "infer": [4, 5, 7, 8, 9, 10, 11, 63], "edit": [4, 7, 8, 9, 10, 11], "dynam": [4, 7, 8, 9, 10, 11, 45], "alwai": [4, 5, 7, 8, 9, 10, 11, 21, 22, 25, 66], "reset": [4, 7, 8, 9, 10, 11, 22, 52, 53], "bfloat16": [4, 5, 7, 8, 9, 10, 11], "chunk": [4, 5, 7, 8, 9, 10, 11, 54, 66], "24": [4, 7, 8, 9, 10, 11, 21], "8": [4, 5, 7, 8, 9, 10, 11, 20, 21, 25, 51, 56, 59, 60, 63], "9": [4, 5, 7, 8, 9, 10, 11, 56], "16": [4, 5, 7, 8, 9, 10, 11], "17": [4, 7, 8, 9, 10, 11], "18": [4, 5, 7, 8, 9, 10, 11], "19": [4, 7, 8, 9, 10, 11, 59], "clear": [4, 7, 8, 9, 10, 11], "remov": [4, 5, 6, 7, 8, 9, 10, 11, 62, 66], "clear_device_": [4, 7, 8, 9, 10, 11], "recurs": [4, 7, 8, 9, 10, 11, 22, 61], "subclass": [4, 5, 7, 8, 9, 10, 11, 14, 15, 20, 21, 22, 23, 25], "subtyp": [4, 7, 8, 9, 10, 11, 54], "to_tensordict": [4, 6, 7, 8, 9, 10, 11, 12, 66], "otherwis": [4, 5, 6, 7, 8, 9, 10, 11, 15, 22, 27, 54], "tree": [4, 6, 7, 8, 9, 10, 11, 54, 60], "shallow": [4, 7, 8, 9, 10, 11], "equival": [4, 5, 6, 7, 8, 9, 10, 11, 27, 61], "copy_": [4, 5, 7, 8, 9, 10, 11], "non_block": [4, 5, 7, 8, 9, 10, 11], "update_": [4, 7, 8, 9, 10, 11], "block": [4, 5, 7, 8, 9, 10, 11, 51, 63], "copy_at_": [4, 7, 8, 9, 10, 11], "update_at_": [4, 7, 8, 9, 10, 11], "create_nest": [4, 7, 8, 9, 10, 11], "overwritten": [4, 7, 8, 9, 10, 11, 23, 40, 54, 61], "lock": [4, 6, 7, 8, 9, 10, 11, 24, 53, 60], "root": [4, 7, 8, 9, 10, 11, 29, 56, 59, 60, 62, 66], "del_": [4, 7, 8, 9, 10, 11, 61], "delet": [4, 7, 8, 9, 10, 11, 61], "nestedkei": [4, 7, 8, 9, 10, 11, 20, 21, 25, 29], "detach": [4, 5, 7, 8, 9, 10, 11], "gradient": [4, 5, 7, 8, 9, 10, 11, 56, 59], "detach_": [4, 5, 7, 8, 9, 10, 11], "incl": [4, 7, 8, 10, 11], "live": [4, 5, 7, 8, 10, 11, 54], "doe": [4, 5, 6, 7, 8, 9, 10, 11, 25, 40, 51, 52, 53, 54, 61], "appropri": [4, 5, 7, 8, 10, 11, 46], "doubl": [4, 5, 7, 8, 9, 10, 11], "reproduc": [4, 7, 8, 9, 10, 11], "duplic": [4, 5, 7, 8, 9, 10, 11, 19, 51], "entry_class": [4, 7, 8, 9, 10, 11], "isinst": [4, 7, 8, 9, 10, 11, 24, 46, 52, 54, 61, 66], "whenev": [4, 7, 8, 9, 10, 11, 22, 40, 66], "exclud": [4, 7, 8, 9, 10, 11], "modif": [4, 5, 7, 8, 9, 10, 11, 24], "either": [4, 5, 7, 8, 9, 10, 11, 12, 27, 52, 61, 62, 66], "both": [4, 5, 7, 8, 9, 10, 11, 53, 60, 63, 65, 66], "prune": [4, 7, 8, 9, 10, 11], "expand": [4, 5, 6, 7, 8, 9, 10, 11, 12, 19, 20, 21, 25, 47, 48, 54, 60, 64], "accord": [4, 5, 6, 7, 8, 9, 10, 11], "td_expand": [4, 7, 8, 9, 10, 11], "fill_": [4, 5, 7, 8, 9, 10, 11, 67], "float": [4, 5, 7, 8, 9, 10, 11, 26, 30, 34, 42, 43, 56, 59], "scalar": [4, 5, 7, 8, 9, 10, 11, 26], "filter_non_tensor_data": [4, 7, 8, 9, 10, 11], "flatten": [4, 5, 6, 7, 8, 9, 10, 11, 51, 56, 59], "start_dim": [4, 5, 7, 8, 9, 10, 11, 56, 59], "end_dim": [4, 5, 7, 8, 9, 10, 11, 56, 59], "60": [4, 7, 8, 9, 10, 11, 56], "12": [4, 5, 7, 8, 9, 10, 11, 66], "td_flat": [4, 7, 8, 9, 10, 11], "13": [4, 7, 8, 9, 10, 11, 63], "14": [4, 5, 7, 8, 9, 10, 11, 59], "15": [4, 5, 7, 8, 9, 10, 11], "20": [4, 5, 7, 8, 9, 10, 11], "21": [4, 7, 8, 9, 10, 11], "22": [4, 5, 7, 8, 9, 10, 11], "23": [4, 5, 7, 8, 9, 10, 11], "25": [4, 5, 7, 8, 9, 10, 11, 60], "26": [4, 7, 8, 9, 10, 11, 59, 60], "27": [4, 5, 7, 8, 9, 10, 11], "29": [4, 7, 8, 9, 10, 11], "30": [4, 5, 7, 8, 9, 10, 11], "31": [4, 7, 8, 9, 10, 11], "33": [4, 7, 8, 9, 10, 11, 59], "34": [4, 7, 8, 9, 10, 11], "35": [4, 7, 8, 9, 10, 11], "36": [4, 5, 7, 8, 9, 10, 11], "37": [4, 7, 8, 9, 10, 11], "38": [4, 7, 8, 9, 10, 11, 59], "39": [4, 7, 8, 9, 10, 11], "40": [4, 7, 8, 9, 10, 11, 59], "41": [4, 5, 7, 8, 9, 10, 11, 56], "42": [4, 7, 8, 9, 10, 11, 60], "43": [4, 5, 7, 8, 9, 10, 11], "44": [4, 5, 7, 8, 9, 10, 11], "45": [4, 7, 8, 9, 10, 11], "46": [4, 7, 8, 9, 10, 11, 56], "47": [4, 7, 8, 9, 10, 11, 59], "48": [4, 7, 8, 9, 10, 11, 59], "49": [4, 7, 8, 9, 10, 11, 59], "51": [4, 7, 8, 9, 10, 11], "52": [4, 7, 8, 9, 10, 11, 60], "53": [4, 5, 7, 8, 9, 10, 11], "54": [4, 7, 8, 9, 10, 11], "55": [4, 7, 8, 9, 10, 11], "56": [4, 7, 8, 9, 10, 11], "57": [4, 7, 8, 9, 10, 11, 56], "58": [4, 7, 8, 9, 10, 11, 55, 58, 59], "59": [4, 5, 7, 8, 9, 10, 11, 59], "flatten_kei": [4, 7, 8, 9, 10, 11, 24, 51, 61], "is_leaf": [4, 5, 7, 8, 9, 10, 11], "flat": [4, 7, 8, 9, 10, 11], "lost": [4, 7, 8, 9, 10, 11], "over": [4, 5, 7, 8, 9, 10, 11, 24, 25, 52, 56, 59, 60, 64], "consid": [4, 5, 6, 7, 8, 9, 10, 11, 25, 30, 52, 60, 66], "leaf": [4, 5, 7, 8, 9, 10, 11, 20], "e": [4, 5, 7, 8, 9, 10, 11, 19, 20, 25, 28, 56, 59], "particularili": [4, 7, 8, 9, 10, 11], "state": [4, 7, 8, 9, 10, 11, 21, 28, 33, 36, 54], "mimic": [4, 6, 7, 8, 9, 10, 11, 54, 61, 62], "ddp_model": [4, 7, 8, 9, 10, 11], "ao": [4, 7, 8, 9, 10, 11], "quantiz": [4, 5, 7, 8, 9, 10, 11], "quantwrapp": [4, 7, 8, 9, 10, 11], "bia": [4, 7, 8, 9, 10, 11, 24, 26, 28, 34, 56, 59, 61], "model_state_dict": [4, 7, 8, 9, 10, 11], "load_state_dict": [4, 6, 7, 8, 9, 10, 11, 54], "classmethod": [4, 5, 6, 7, 8, 9, 10, 11, 59, 60], "from_modul": [4, 7, 8, 9, 10, 11, 22, 24, 53, 54], "as_modul": [4, 7, 8, 9, 10, 11], "use_state_dict": [4, 7, 8, 9, 10, 11], "within": [4, 5, 7, 8, 9, 10, 11, 20, 23, 24, 27, 46, 51], "unflatten": [4, 5, 7, 8, 9, 10, 11], "note": [4, 5, 6, 7, 8, 9, 10, 11, 12, 20, 52, 56, 59, 60, 63, 66], "hook": [4, 5, 7, 8, 9, 10, 11, 20, 23, 51], "transformerdecod": [4, 7, 8, 9, 10, 11, 63], "decoder_lay": [4, 7, 8, 9, 10, 11], "transformerdecoderlay": [4, 7, 8, 9, 10, 11], "nhead": [4, 7, 8, 9, 10, 11], "d_model": [4, 7, 8, 9, 10, 11], "num_lay": [4, 7, 8, 9, 10, 11], "layer": [4, 7, 8, 9, 10, 11, 60, 63, 64], "linear1": [4, 7, 8, 9, 10, 11], "2048": [4, 7, 8, 9, 10, 11], "gather": [4, 5, 7, 8, 9, 10, 11, 60, 63], "axi": [4, 5, 7, 8, 9, 10, 11], "element": [4, 5, 7, 8, 9, 10, 11, 12, 20, 21, 27, 66], "Its": [4, 7, 8, 9, 10, 11, 21], "destin": [4, 5, 6, 7, 8, 9, 10, 11, 43, 54], "td_gather": [4, 7, 8, 9, 10, 11], "gather_and_stack": [4, 7, 8, 9, 10, 11], "dst": [4, 7, 8, 9, 10, 11], "group": [4, 5, 7, 8, 9, 10, 11, 29, 64], "dist": [4, 5, 7, 8, 9, 10, 11, 20, 29, 63], "processgroup": [4, 7, 8, 9, 10, 11], "variou": [4, 7, 8, 9, 10, 11], "rank": [4, 5, 7, 8, 9, 10, 11], "commun": [4, 5, 7, 8, 9, 10, 11], "mp": [4, 5, 7, 8, 9, 10, 11], "client": [4, 7, 8, 9, 10, 11], "init_process_group": [4, 7, 8, 9, 10, 11], "gloo": [4, 7, 8, 9, 10, 11], "world_siz": [4, 7, 8, 9, 10, 11], "init_method": [4, 7, 8, 9, 10, 11], "tcp": [4, 7, 8, 9, 10, 11], "localhost": [4, 7, 8, 9, 10, 11], "10003": [4, 7, 8, 9, 10, 11], "sent": [4, 7, 8, 9, 10, 11, 62], "server": [4, 7, 8, 9, 10, 11], "equal": [4, 5, 7, 8, 9, 10, 11, 42, 52], "yuppi": [4, 7, 8, 9, 10, 11], "__name__": [4, 7, 8, 9, 10, 11, 60], "__main__": [4, 7, 8, 9, 10, 11, 60], "set_start_method": [4, 7, 8, 9, 10, 11], "spawn": [4, 7, 8, 9, 10, 11], "main_work": [4, 7, 8, 9, 10, 11], "secondary_work": [4, 7, 8, 9, 10, 11], "start": [4, 5, 7, 8, 9, 10, 11, 42, 60], "join": [4, 7, 8, 9, 10, 11], "compatibletyp": [4, 7, 8, 9, 10, 11, 17, 37], "chain": [4, 5, 6, 7, 8, 9, 10, 11, 19, 25], "get_at": [4, 7, 8, 9, 10, 11], "get_item_shap": [4, 7, 8, 9, 10, 11], "ineffici": [4, 66], "attempt": 4, "get_nestedtensor": 4, "cannot": [4, 5, 7, 8, 9, 10, 11, 27, 60], "optiona": 4, "isn": [4, 5, 6, 7, 8, 9, 10, 11], "nestedtensor": 4, "build": [4, 5, 11, 20, 51, 52, 63], "anyth": [4, 40], "els": [4, 5, 7, 8, 9, 10, 11, 40, 56, 59, 60, 61], "b2": 4, "get_non_tensor": [4, 7, 8, 9, 10, 11], "robust": [4, 7, 8, 9, 10, 11], "natur": [4, 7, 8, 9, 10, 11, 54], "scope": [4, 7, 8, 9, 10, 11], "set_non_tensor": [4, 7, 8, 9, 10, 11], "inform": [4, 5, 6, 7, 8, 9, 10, 11, 27, 54], "nontensordata": [4, 7, 8, 9, 10, 11, 54], "half": [4, 5, 7, 8, 9, 10, 11], "insert": [4, 7, 8, 9, 10, 11], "irecv": [4, 7, 8, 9, 10, 11], "src": [4, 5, 7, 8, 9, 10, 11], "return_prematur": [4, 7, 8, 9, 10, 11], "init_tag": [4, 7, 8, 9, 10, 11], "pseudo_rand": [4, 7, 8, 9, 10, 11], "futur": [4, 5, 6, 7, 8, 9, 10, 11], "asynchron": [4, 5, 7, 8, 9, 10, 11], "isend": [4, 7, 8, 9, 10, 11], "sourc": [4, 5, 6, 7, 8, 9, 10, 11, 17, 27, 37, 56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "wait": [4, 5, 7, 8, 9, 10, 11, 60], "complet": [4, 5, 7, 8, 9, 10, 11, 53], "withing": [4, 7, 8, 9, 10, 11], "tag": [4, 7, 8, 9, 10, 11], "pseudo": [4, 7, 8, 9, 10, 11], "random": [4, 5, 7, 8, 9, 10, 11, 20, 60, 65], "overlap": [4, 5, 7, 8, 9, 10, 11], "1e": [4, 5, 7, 8, 9, 10, 11, 28, 30, 56, 59], "sec": [4, 7, 8, 9, 10, 11], "slow": [4, 6, 7, 8, 9, 10, 11], "down": [4, 7, 8, 9, 10, 11], "runtim": [4, 7, 8, 9, 10, 11, 60], "your": [4, 5, 7, 8, 9, 10, 11, 52, 54, 60], "algorithm": [4, 7, 8, 9, 10, 11], "is_contigu": [4, 5, 7, 8, 9, 10, 11], "is_empti": [4, 7, 8, 9, 10, 11], "ad": [4, 5, 7, 8, 9, 10, 11, 60, 61], "__not__": [4, 7, 8, 9, 10, 11, 27], "share_memory_": [4, 5, 7, 8, 9, 10, 11], "eg": [4, 6, 7, 8, 9, 10, 11], "mark": [4, 5, 7, 8, 9, 10, 11], "increment": [4, 7, 8, 9, 10, 11], "queue": [4, 5, 7, 8, 9, 10, 11], "fut": [4, 7, 8, 9, 10, 11], "timeout": [4, 7, 8, 9, 10, 11], "include_nest": [4, 7, 8, 9, 10, 11, 61], "leaves_onli": [4, 7, 8, 9, 10, 11, 61], "leav": [4, 5, 7, 8, 9, 10, 11, 24, 27, 29, 40], "_lazystackedtensordictkeysview": 4, "lazy_stack": 4, "devicetyp": [4, 9, 17, 37, 43], "ordereddict": [4, 7, 8, 9, 10, 11], "strict": [4, 6, 7, 8, 9, 10, 11, 52], "assign": [4, 6, 7, 8, 9, 10, 11, 24, 46, 52, 63, 65], "from_flatten": [4, 6, 7, 8, 9, 10, 11], "format": [4, 5, 7, 8, 9, 10, 11, 43, 52, 54], "strictli": [4, 5, 7, 8, 9, 10, 11, 52], "enforc": [4, 7, 8, 9, 10, 11, 52], "preserv": [4, 5, 7, 8, 9, 10, 11], "while": [4, 5, 7, 8, 9, 10, 11, 20, 23, 52, 54, 60, 62], "assum": [4, 7, 8, 9, 10, 11, 25, 27, 60], "data_zero": [4, 7, 8, 9, 10, 11], "sd": [4, 7, 8, 9, 10, 11], "num_work": [4, 7, 8, 9, 10, 11, 60], "chunksiz": [4, 7, 8, 9, 10, 11], "num_chunk": [4, 7, 8, 9, 10, 11], "pool": [4, 7, 8, 9, 10, 11], "max_tasks_per_child": [4, 7, 8, 9, 10, 11], "callab": [4, 7, 8, 9, 10, 11], "exclus": [4, 7, 8, 9, 10, 11, 12, 40], "avail": [4, 7, 8, 9, 10, 11, 20, 52], "restack": [4, 7, 8, 9, 10, 11], "wherea": [4, 5, 7, 8, 9, 10, 11, 63], "equat": [4, 7, 8, 9, 10, 11], "veri": [4, 7, 8, 9, 10, 11, 56, 59], "larg": [4, 6, 7, 8, 9, 10, 11, 54, 60, 61, 66], "practic": [4, 5, 7, 8, 9, 10, 11], "doabl": [4, 7, 8, 9, 10, 11], "job": [4, 7, 8, 9, 10, 11], "seed": [4, 7, 8, 9, 10, 11], "uniqu": [4, 5, 7, 8, 9, 10, 11], "unseed": [4, 7, 8, 9, 10, 11], "taken": [4, 7, 8, 9, 10, 11], "low": [4, 5, 7, 8, 9, 10, 11], "autocorrel": [4, 7, 8, 9, 10, 11], "experi": [4, 7, 8, 9, 10, 11, 60], "These": [4, 5, 7, 8, 9, 10, 11, 45, 51, 54, 65, 66], "unexpect": [4, 7, 8, 9, 10, 11, 22], "effect": [4, 5, 7, 8, 9, 10, 11], "NOT": [4, 7, 8, 9, 10, 11, 54], "word": [4, 7, 8, 9, 10, 11, 27, 54], "imposs": [4, 7, 8, 9, 10, 11], "pick": [4, 5, 7, 8, 9, 10, 11], "howev": [4, 5, 7, 8, 9, 10, 11, 51, 52, 53, 54, 61, 62, 64, 67], "sure": [4, 7, 8, 9, 10, 11, 52, 63], "uncorrel": [4, 7, 8, 9, 10, 11], "child": [4, 7, 8, 9, 10, 11], "restrict": [4, 7, 8, 9, 10, 11, 24, 52], "process_data": [4, 7, 8, 9, 10, 11], "1_000_000": [4, 6, 7, 8, 9, 10, 11, 53, 54], "virtual": [4, 7, 8, 9, 10, 11], "cost": [4, 5, 7, 8, 9, 10, 11], "tread": [4, 7, 8, 9, 10, 11], "tb": [4, 7, 8, 9, 10, 11], "masked_fil": [4, 5, 7, 8, 9, 10, 11, 60], "masked_fill_": [4, 5, 7, 8, 9, 10, 11], "masked_select": [4, 5, 7, 8, 9, 10, 11], "td_mask": [4, 7, 8, 9, 10, 11], "maybe_dense_stack": 4, "densli": 4, "copy_exist": [4, 5, 6, 7, 8, 9, 10, 11, 54], "num_thread": [4, 6, 7, 8, 9, 10, 11, 54], "return_earli": [4, 6, 7, 8, 9, 10, 11], "except": [4, 5, 6, 7, 8, 9, 10, 11, 23, 27, 31, 53, 54, 65], "associ": [4, 5, 6, 7, 8, 9, 10, 11, 62, 63], "correct": [4, 5, 6, 7, 8, 9, 10, 11, 56, 59], "thread": [4, 6, 7, 8, 9, 10, 11, 54, 60], "throw": [4, 5, 6, 7, 8, 9, 10, 11], "onc": [4, 6, 7, 8, 9, 10, 11, 23, 60, 66], "unlock": [4, 6, 7, 8, 9, 10, 11, 53], "turn": [4, 6, 7, 8, 9, 10, 11, 19, 24, 51], "becaus": [4, 5, 6, 7, 8, 9, 10, 11, 53, 54, 56, 59, 60, 65], "cross": [4, 5, 6, 7, 8, 9, 10, 11, 56, 59], "guarante": [4, 5, 6, 7, 8, 9, 10, 11, 66, 67], "anymor": [4, 6, 7, 8, 9, 10, 11, 54], "tensordictfutur": [4, 6, 7, 8, 9, 10, 11], "fashion": [4, 5, 6, 7, 8, 9, 10, 11, 59, 66], "might": [4, 5, 6, 7, 8, 9, 10, 11], "deepli": [4, 6, 7, 8, 9, 10, 11], "recommend": [4, 5, 6, 7, 8, 9, 10, 11], "insid": [4, 6, 7, 8, 9, 10, 11, 56, 59, 60], "memmap_lik": [4, 6, 7, 8, 9, 10, 11, 54, 62], "contentless": [4, 6, 7, 8, 9, 10, 11], "64": [4, 6, 7, 8, 9, 10, 11, 54, 56, 59, 60], "path": [4, 5, 6, 7, 8, 9, 10, 11, 52, 54, 60, 62], "named_appli": [4, 7, 8, 9, 10, 11], "condit": [4, 5, 7, 8, 9, 10, 11, 25], "atensordict": [4, 7, 8, 9, 10, 11], "full": [4, 5, 7, 8, 9, 10, 11, 24, 52, 53, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "name_filt": [4, 7, 8, 9, 10, 11], "r": [4, 5, 7, 8, 9, 10, 11, 20], "ndim": [4, 5, 7, 8, 9, 10, 11], "numel": [4, 5, 7, 8, 9, 10, 11, 60], "total": [4, 5, 7, 8, 9, 10, 11, 55, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67], "lower": [4, 7, 8, 9, 10, 11], "bound": [4, 5, 7, 8, 9, 10, 11], "therefor": [4, 5, 7, 8, 9, 10, 11, 24], "least": [4, 5, 7, 8, 9, 10, 11], "dims_list": [4, 7, 8, 9, 10, 11], "order": [4, 5, 7, 8, 9, 10, 11, 21, 25, 27, 43, 51, 54, 63, 64], "permutedtensordict": [4, 7, 8, 9, 10, 11], "op": [4, 5, 7, 8, 9, 10, 11, 66], "pin_memori": [4, 5, 7, 8, 9, 10, 11, 60], "pop": [4, 7, 8, 9, 10, 11], "thrown": [4, 5, 7, 8, 9, 10, 11, 52], "look": [4, 5, 7, 8, 9, 10, 11, 20, 25, 64], "popitem": [4, 7, 8, 9, 10, 11], "k": [4, 5, 7, 8, 9, 10, 11, 63], "v": [4, 5, 7, 8, 9, 10, 11, 63], "recv": [4, 7, 8, 9, 10, 11], "reduc": [4, 5, 7, 8, 9, 10, 11], "async_op": [4, 7, 8, 9, 10, 11], "machin": [4, 7, 8, 9, 10, 11], "go": [4, 5, 7, 8, 9, 10, 11, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "special": [4, 5, 7, 8, 9, 10, 11, 46, 63], "lift": [4, 5, 7, 8, 9, 10, 11], "coexist": [4, 5, 7, 8, 9, 10, 11], "nice": [4, 5, 7, 8, 9, 10, 11], "awar": [4, 5, 7, 8, 9, 10, 11], "greedili": [4, 5, 7, 8, 9, 10, 11], "tdr": [4, 7, 8, 9, 10, 11], "rename_map": [4, 5, 7, 8, 9, 10, 11], "abcd": [4, 7, 8, 9, 10, 11], "td_renam": [4, 7, 8, 9, 10, 11], "abgd": [4, 7, 8, 9, 10, 11], "rename_": [4, 5, 7, 8, 9, 10, 11], "rename_key_": [4, 7, 8, 9, 10, 11, 61], "old_kei": [4, 7, 8, 9, 10, 11], "new_kei": [4, 7, 8, 9, 10, 11], "safe": [4, 5, 7, 8, 9, 10, 11, 54], "error": [4, 5, 7, 8, 9, 10, 11, 54, 56, 59], "select": [4, 5, 7, 8, 9, 10, 11, 16, 22, 25, 51, 54, 67], "distant": [4, 7, 8, 9, 10, 11], "occur": [4, 5, 7, 8, 9, 10, 11, 22, 24], "yet": [4, 5, 7, 8, 9, 10, 11, 60], "mismatch": [4, 7, 8, 9, 10, 11], "set_at_": [4, 7, 8, 9, 10, 11], "regist": [4, 5, 7, 8, 9, 10, 11, 20, 23, 24, 63], "setdefault": [4, 7, 8, 9, 10, 11, 61], "Will": [4, 7, 8, 9, 10, 11], "previous": [4, 7, 8, 9, 10, 11], "val": [4, 7, 8, 9, 10, 11, 60], "convers": [4, 5, 7, 8, 9, 10, 11, 24], "share_memori": [4, 7, 8, 9, 10, 11], "sorted_kei": [4, 7, 8, 9, 10, 11], "sort": [4, 5, 7, 8, 9, 10, 11, 27], "alphabet": [4, 7, 8, 9, 10, 11], "extra": [4, 7, 8, 9, 10, 11, 27, 29, 53], "cach": [4, 5, 7, 8, 9, 10, 11], "split_siz": [4, 5, 7, 8, 9, 10, 11], "singleton": [4, 5, 7, 8, 9, 10, 11, 66], "keep_var": [4, 6, 7, 8, 9, 10, 11, 54], "produc": [4, 5, 7, 8, 9, 10, 11, 31], "unless": [4, 5, 7, 8, 9, 10, 11, 19, 24, 40, 45, 54, 63], "rebuild": [4, 7, 8, 9, 10, 11, 54], "compos": [4, 7, 8, 9, 10, 11, 60], "__batch_siz": [4, 7, 8, 9, 10, 11], "__devic": [4, 7, 8, 9, 10, 11], "permit": [4, 5, 7, 8, 9, 10, 11], "whose": [4, 5, 7, 8, 9, 10, 11, 25, 61, 65, 66, 67], "memory_format": [4, 5, 7, 8, 9, 10, 11], "4d": [4, 7, 8, 9, 10, 11], "sinc": [4, 5, 7, 8, 9, 10, 11, 20, 23, 27, 51, 54, 56, 59, 60, 66, 67], "undertook": [4, 7, 8, 9, 10, 11], "data_cuda": [4, 7, 8, 9, 10, 11], "data_int": [4, 7, 8, 9, 10, 11], "data_cuda_int": [4, 7, 8, 9, 10, 11], "to_dict": [4, 7, 8, 9, 10, 11], "to_h5": [4, 7, 8, 9, 10, 11], "filenam": [4, 5, 7, 8, 9, 10, 11], "h5": [4, 7, 8, 9, 10, 11], "backend": [4, 7, 8, 9, 10, 11], "expect": [4, 5, 7, 8, 9, 10, 11, 19, 22, 25, 27, 40], "h5py": [4, 7, 8, 9, 10, 11], "create_dataset": [4, 7, 8, 9, 10, 11], "persitenttensordict": [4, 7, 8, 9, 10, 11], "link": [4, 7, 8, 9, 10, 11], "newli": [4, 7, 8, 9, 10, 11], "tempfil": [4, 5, 7, 8, 9, 10, 11, 54], "timeit": [4, 7, 8, 9, 10, 11], "from_tensor": [4, 5, 7, 8, 9, 10, 11], "namedtemporaryfil": [4, 5, 7, 8, 9, 10, 11], "td_h5": [4, 7, 8, 9, 10, 11], "compress": [4, 5, 7, 8, 9, 10, 11], "gzip": [4, 7, 8, 9, 10, 11], "compression_opt": [4, 7, 8, 9, 10, 11], "1000000": [4, 7, 8, 9, 10, 11], "to_modul": [4, 7, 8, 9, 10, 11, 53], "return_swap": [4, 7, 8, 9, 10, 11], "swap_dest": [4, 7, 8, 9, 10, 11], "memo": [4, 7, 8, 9, 10, 11], "old": [4, 5, 7, 8, 9, 10, 11], "swap": [4, 5, 7, 8, 9, 10, 11, 66], "fetch": [4, 7, 8, 9, 10, 11], "dure": [4, 5, 7, 8, 9, 10, 11, 45, 56, 60, 61, 65], "zero_": [4, 5, 7, 8, 9, 10, 11, 53], "transpos": [4, 5, 7, 8, 9, 10, 11, 45, 63], "dim0": [4, 5, 7, 8, 9, 10, 11], "dim1": [4, 5, 7, 8, 9, 10, 11], "back": [4, 5, 7, 8, 9, 10, 11, 67], "tensordict_transpos": [4, 7, 8, 9, 10, 11], "dst_type": [4, 7, 8, 9, 10, 11], "unflattened_s": [4, 7, 8, 9, 10, 11], "td_unflat": [4, 7, 8, 9, 10, 11], "metadata": [4, 7, 8, 9, 10, 11, 54, 62], "compris": [4, 7, 8, 9, 10, 11], "input_dict_or_td": [4, 7, 8, 9, 10, 11], "keys_to_upd": [4, 7, 8, 9, 10, 11], "being": [4, 5, 7, 8, 9, 10, 11, 27, 39, 40, 52, 54, 62, 66], "key_to_upd": [4, 7, 8, 9, 10, 11], "data_dest": [4, 7, 8, 9, 10, 11], "data_src": [4, 7, 8, 9, 10, 11], "other_td": [4, 7, 8, 9, 10, 11], "though": [4, 5, 7, 8, 9, 10, 11, 51, 52, 60, 66], "unlik": [4, 5, 7, 8, 9, 10, 11, 51, 54, 61, 63], "unknown": [4, 7, 8, 9, 10, 11], "indextyp": [4, 7, 8, 9, 10, 11], "valid_kei": 4, "td_view": [4, 7, 8, 9, 10, 11], "pad": [4, 5, 7, 8, 9, 10, 11, 43], "depend": [4, 5, 7, 8, 9, 10, 11, 25, 40], "booltensor": [4, 5, 7, 8, 9, 10, 11, 67], "nonzero": [4, 5, 7, 8, 9, 10, 11], "yield": [4, 7, 8, 9, 10, 11, 54], "tensor_or_fil": 5, "handler": 5, "resid": 5, "filepath": 5, "undefin": [5, 11, 52], "memmap_tensor": 5, "memmap_tensor_empti": 5, "empty_lik": 5, "memmap_tensor_zero": 5, "ones_lik": 5, "matrix": 5, "conjug": 5, "conj": 5, "matric": 5, "real": [5, 20], "mh": 5, "revers": 5, "deprec": [5, 8, 11, 20], "releas": 5, "mt": 5, "ab": 5, "abs_": 5, "absolut": [5, 30], "alia": [5, 11], "absolute_": 5, "aco": 5, "acos_": 5, "acosh": 5, "acosh_": 5, "add": [5, 11, 28, 60, 61], "alpha": 5, "scale": [5, 20, 25, 28, 29, 32, 51, 60, 63], "broadcast": 5, "add_": 5, "addbmm": 5, "batch1": 5, "batch2": 5, "beta": 5, "addbmm_": 5, "addcdiv": 5, "tensor1": 5, "tensor2": 5, "addcdiv_": 5, "addcmul": 5, "addcmul_": 5, "addmm": 5, "mat1": 5, "mat2": 5, "addmm_": 5, "addmv": 5, "mat": 5, "vec": 5, "addmv_": 5, "addr": 5, "vec1": 5, "vec2": 5, "addr_": 5, "adjoint": 5, "align_a": 5, "explicit": [5, 56, 59], "align": 5, "align_to": 5, "127": 5, "128": [5, 21], "w": [5, 7, 25, 60], "img": [5, 56], "per": 5, "channel": 5, "scale_channel": 5, "num_channel": 5, "more_img": 5, "video": 5, "agnost": 5, "mention": 5, "appear": 5, "python": [5, 21, 56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "liter": 5, "unment": 5, "named_tensor": 5, "move": [5, 11, 42, 60, 62], "front": [5, 56], "rest": 5, "keepdim": 5, "allclos": 5, "rtol": [5, 30], "05": 5, "atol": [5, 30], "08": 5, "equal_nan": 5, "amax": 5, "amin": 5, "aminmax": 5, "min": 5, "max": 5, "angl": 5, "replac": [5, 66], "arcco": 5, "arccos_": 5, "arccosh": 5, "arccosh_": 5, "arcsin": 5, "arcsin_": 5, "arcsinh": 5, "arcsinh_": 5, "arctan": 5, "arctan2": 5, "arctan2_": 5, "atan2_": 5, "arctan_": 5, "arctanh": 5, "arctanh_": 5, "argmax": [5, 56, 59], "longtensor": 5, "argmin": 5, "argsort": 5, "descend": 5, "argwher": 5, "as_strid": 5, "stride": [5, 11], "storage_offset": 5, "as_strided_": 5, "as_strided_scatt": 5, "as_subclass": 5, "cl": [5, 46, 59, 60], "pointer": [5, 53], "mirror": 5, "stai": 5, "attach": 5, "asin": 5, "asin_": 5, "asinh": 5, "asinh_": 5, "atan": 5, "atan2": 5, "atan_": 5, "atanh": 5, "atanh_": 5, "retain_graph": 5, "create_graph": 5, "wrt": 5, "differenti": 5, "rule": [5, 20, 63], "addition": [5, 9, 61], "accumul": 5, "grad": [5, 11], "layout": 5, "stream": 5, "grad_fn": [5, 25], "reli": [5, 51, 52, 54], "http": [5, 32, 59, 60], "github": [5, 60], "com": [5, 59, 60], "pull": 5, "60521": 5, "issuecom": 5, "867061780": 5, "don": [5, 54, 66], "freed": 5, "nearli": 5, "often": 5, "around": [5, 20, 21], "deriv": 5, "higher": 5, "product": 5, "were": 5, "attr": 5, "baddbmm": 5, "baddbmm_": 5, "bernoulli": 5, "texttt": 5, "sampl": [5, 20, 22, 29, 39, 51, 63], "text": [5, 54], "bernoulli_": [5, 60], "p": [5, 11, 24, 64], "draw": 5, "binari": 5, "th": 5, "_tensor": 5, "preserve_format": 5, "bincount": 5, "minlength": 5, "bitwise_and": 5, "bitwise_and_": 5, "bitwise_left_shift": 5, "bitwise_left_shift_": 5, "bitwise_not": 5, "bitwise_not_": 5, "bitwise_or": 5, "bitwise_or_": 5, "bitwise_right_shift": 5, "bitwise_right_shift_": 5, "bitwise_xor": 5, "bitwise_xor_": 5, "bmm": 5, "broadcast_to": 5, "byte": 5, "cauchy_": 5, "median": [5, 20], "sigma": 5, "drawn": [5, 20], "cauchi": 5, "dfrac": 5, "pi": 5, "denot": 5, "cdoubl": 5, "complex128": 5, "ceil": 5, "ceil_": 5, "cfloat": 5, "complex64": 5, "chalf": 5, "complex32": 5, "char": 5, "int8": 5, "choleski": 5, "upper": 5, "cholesky_invers": 5, "cholesky_solv": 5, "input2": 5, "clamp": 5, "clamp_": 5, "clip": 5, "clip_": 5, "coalesc": 5, "uncoalesc": 5, "spars": 5, "coo": 5, "col_indic": 5, "inttensor": 5, "column": 5, "csr": 5, "sparse_csr": 5, "nnz": 5, "int32": 5, "mkl": 5, "routin": 5, "downcast": 5, "potenti": 5, "lose": 5, "ey": 5, "to_sparse_csr": 5, "conj_phys": 5, "conj_physical_": 5, "contiguous_format": 5, "gpu": [5, 60], "respect": [5, 11, 40, 60, 66], "host": [5, 11, 24], "copysign": 5, "copysign_": 5, "corrcoef": 5, "co": 5, "cos_": 5, "cosh": 5, "cosh_": 5, "count_nonzero": 5, "cov": 5, "fweight": 5, "aweight": 5, "crow_indic": 5, "row": [5, 65, 67], "pin": 5, "cummax": 5, "cummin": 5, "cumprod": 5, "cumprod_": 5, "cumsum": 5, "cumsum_": 5, "data_ptr": 5, "address": 5, "deg2rad": 5, "deg2rad_": 5, "dense_dim": 5, "dens": [5, 12], "len": [5, 42, 56, 59, 60, 63, 66], "sparse_dim": 5, "hybrid": 5, "dequant": 5, "det": 5, "never": 5, "mode": [5, 7, 11, 20, 39, 40, 45], "seen": 5, "trigger": [5, 22], "Is": 5, "diag": 5, "diagon": 5, "diag_emb": 5, "offset": 5, "dim2": 5, "diagflat": 5, "diagonal_scatt": 5, "diff": 5, "prepend": [5, 11], "digamma": 5, "digamma_": 5, "dim_ord": 5, "laid": 5, "outermost": 5, "innermost": 5, "channels_last": 5, "div": 5, "rounding_mod": 5, "div_": 5, "divid": 5, "divide_": 5, "dot": 5, "float64": 5, "dsplit": 5, "split_size_or_sect": 5, "element_s": 5, "eq": 5, "eq_": 5, "erf": 5, "erf_": 5, "erfc": 5, "erfc_": 5, "erfinv": 5, "erfinv_": 5, "exp": [5, 28], "exp2": 5, "exp2_": 5, "exp_": 5, "larger": 5, "As": [5, 54, 59, 60, 65, 66, 67], "especi": 5, "vector": [5, 60, 64], "incorrect": 5, "behavior": [5, 11], "pleas": [5, 20, 66], "expand_a": [5, 46, 60], "about": [5, 60], "expm1": 5, "expm1_": 5, "exponential_": 5, "lambd": 5, "pdf": [5, 32], "densiti": 5, "theori": 5, "exponenti": 5, "interv": 5, "inf": 5, "impli": 5, "actual": 5, "fill_diagonal_": 5, "fill_valu": 5, "tall": 5, "fix": [5, 59], "fix_": 5, "flip": [5, 60], "fliplr": 5, "flipud": 5, "float_pow": 5, "expon": 5, "float_power_": 5, "floor": 5, "floor_": 5, "floor_divid": 5, "floor_divide_": 5, "fmax": 5, "fmin": 5, "fmod": 5, "divisor": 5, "fmod_": 5, "frac": 5, "frac_": 5, "frexp": 5, "mantissa": 5, "from_filenam": 5, "from_handl": 5, "existsok": 5, "copy_data": 5, "overwrit": 5, "thown": 5, "prevent": [5, 54, 60], "unadvertedli": 5, "full_lik": 5, "gcd": 5, "gcd_": 5, "ge": 5, "ge_": 5, "geometric_": 5, "geometr": 5, "trial": 5, "success": 5, "henc": [5, 60, 62], "ldot": 5, "geqrf": 5, "ger": 5, "get_devic": 5, "ordin": 5, "greater_": 5, "greater_equ": 5, "greater_equal_": 5, "gt": 5, "gt_": 5, "float16": 5, "hardshrink": 5, "has_nam": 5, "heavisid": 5, "heaviside_": 5, "histc": 5, "bin": 5, "histogram": 5, "hsplit": 5, "hypot": 5, "hypot_": 5, "i0": 5, "i0_": 5, "igamma": 5, "igamma_": 5, "igammac": 5, "igammac_": 5, "imaginari": 5, "3100": 5, "3553j": 5, "5445": 5, "7896j": 5, "6492": 5, "0633j": 5, "0638": 5, "8119j": 5, "3553": 5, "7896": 5, "0633": 5, "8119": 5, "index_add": 5, "index_add_": 5, "j": 5, "subtract": 5, "behav": [5, 23, 31, 66], "nondeterminist": 5, "multipli": 5, "index_copi": 5, "index_copy_": 5, "index_fil": 5, "index_fill_": 5, "index_put": 5, "index_put_": 5, "express": 5, "index_reduce_": 5, "include_self": 5, "reduct": 5, "prod": 5, "treat": 5, "identit": 5, "floattensor": 5, "72": 5, "index_select": 5, "inner": 5, "int_repr": 5, "uint8_t": 5, "invers": [5, 34], "ipu": [5, 11], "is_coalesc": 5, "is_complex": 5, "is_conj": 5, "is_cpu": 5, "is_cuda": 5, "is_floating_point": 5, "is_infer": 5, "is_ipu": 5, "requires_grad": [5, 11], "convent": [5, 22], "retain_grad": 5, "engin": 5, "requires_grad_": [5, 11], "is_meta": 5, "normal": [5, 20, 25, 29, 32, 51, 60, 63], "carri": 5, "is_mp": 5, "is_neg": 5, "neg": [5, 61, 66], "is_pin": 5, "is_quant": 5, "is_set_to": 5, "exact": 5, "is_sign": 5, "sign": 5, "is_spars": 5, "is_sparse_csr": 5, "is_xla": 5, "xla": 5, "is_xpu": 5, "xpu": [5, 11], "isclos": 5, "isfinit": 5, "isinf": 5, "isnan": 5, "isneginf": 5, "isposinf": 5, "isreal": 5, "istft": 5, "n_fft": 5, "hop_length": 5, "win_length": 5, "window": 5, "center": 5, "onesid": 5, "return_complex": 5, "standard": 5, "tolist": 5, "items": 5, "kron": 5, "kthvalu": 5, "lcm": 5, "lcm_": 5, "ldexp": 5, "ldexp_": 5, "le": 5, "le_": 5, "lerp": 5, "end": [5, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "lerp_": 5, "less": [5, 42], "lt": 5, "less_": 5, "less_equ": 5, "less_equal_": 5, "lgamma": 5, "lgamma_": 5, "log": [5, 20, 63], "log10": 5, "log10_": 5, "log1p": 5, "log1p_": 5, "log2": 5, "log2_": 5, "log_": 5, "log_normal_": 5, "std": [5, 28], "parameter": 5, "mu": 5, "deviat": 5, "sqrt": 5, "ln": 5, "logaddexp": 5, "logaddexp2": 5, "logcumsumexp": 5, "logdet": 5, "logical_and": 5, "logical_and_": 5, "logical_not": 5, "logical_not_": 5, "logical_or": 5, "logical_or_": 5, "logical_xor": 5, "logical_xor_": 5, "logit_": 5, "logsumexp": 5, "lt_": 5, "lu": 5, "pivot": 5, "get_info": 5, "lu_solv": 5, "lu_data": 5, "lu_pivot": 5, "map_": 5, "masked_scatt": 5, "masked_scatter_": 5, "posit": [5, 11, 28, 63], "continu": 5, "occurr": 5, "matmul": 5, "matrix_exp": 5, "matrix_pow": 5, "linalg": 5, "minimum": [5, 26, 28], "mm": 5, "moveaxi": 5, "movedim": 5, "msort": 5, "mul_": 5, "multinomi": 5, "num_sampl": 5, "multiply_": 5, "mv": 5, "mvlgamma": 5, "mvlgamma_": 5, "underscor": 5, "furthermor": [5, 61], "valid": [5, 43, 52, 60, 62], "variabl": [5, 63], "nan_to_num": 5, "nan": 5, "posinf": 5, "neginf": 5, "nan_to_num_": 5, "nanmean": 5, "nanmedian": 5, "nanquantil": 5, "q": [5, 63], "interpol": 5, "nansum": 5, "narrow": 5, "narrow_copi": 5, "nbyte": 5, "consum": 5, "defin": [5, 11, 20, 23, 46, 59, 60, 63], "ne": 5, "ne_": 5, "neg_": 5, "negative_": 5, "nelement": 5, "new_empti": 5, "uniniti": 5, "By": [5, 20, 21, 25, 61, 62, 66], "record": [5, 11], "8182e": 5, "5765e": 5, "0545e": 5, "0949e": 5, "4842e": 5, "0000e": 5, "00": [5, 55, 58, 59, 60], "new_empty_strid": 5, "new_ful": 5, "141592": 5, "1416": 5, "new_on": 5, "new_tensor": 5, "numpi": [5, 62], "from_numpi": 5, "whatev": 5, "array_lik": 5, "new_zero": 5, "nextaft": 5, "nextafter_": 5, "nonzero_stat": 5, "count": 5, "truncat": [5, 32], "smaller": [5, 6, 9], "invalid": [5, 11], "input_tensor": 5, "static_s": 5, "norm": 5, "fro": 5, "normal_": 5, "not_equ": 5, "not_equal_": 5, "forc": 5, "ndarrai": 5, "reflect": [5, 51], "vice": 5, "versa": 5, "resolve_conj": 5, "resolve_neg": 5, "won": [5, 9, 11, 40, 45, 54], "shorthand": 5, "orgqr": 5, "ormqr": 5, "input3": 5, "left": [5, 66], "outer": 5, "pinvers": 5, "polygamma": 5, "polygamma_": 5, "pow": 5, "pow_": 5, "put_": 5, "necessarili": [5, 51], "q_per_channel_axi": 5, "affin": 5, "q_per_channel_scal": 5, "q_per_channel_zero_point": 5, "zero_point": 5, "q_scale": 5, "q_zero_point": 5, "qr": 5, "qscheme": 5, "scheme": 5, "qtensor": 5, "quantil": 5, "rad2deg": 5, "rad2deg_": 5, "random_": 5, "discret": [5, 31], "uniform": 5, "unspecifi": 5, "represent": [5, 11, 16], "ravel": 5, "reciproc": 5, "reciprocal_": 5, "record_stream": 5, "dealloc": 5, "reus": 5, "queu": 5, "due": 5, "correctli": [5, 11], "life": 5, "cycl": 5, "But": [5, 60], "unexpectedli": 5, "side": 5, "abl": [5, 40, 52, 54, 60, 66, 67], "think": 5, "carefulli": 5, "safeti": 5, "tradeoff": 5, "gc": 5, "manual": 5, "situat": [5, 53, 54], "lifetim": 5, "event": 5, "poll": 5, "race": 5, "determinist": [5, 20], "fail": [5, 7, 27], "creation": 5, "sync": 5, "suffici": [5, 54], "realloc": 5, "delai": 5, "counterintuit": 5, "observ": 5, "kernel": 5, "progress": 5, "fine": 5, "concret": 5, "s0": 5, "s1": 5, "wait_stream": 5, "some_comm_op": 5, "synchron": 5, "del": [5, 54, 61], "decid": 5, "wouldn": 5, "finish": 5, "typic": [5, 11, 21, 54], "identifi": 5, "profil": 5, "chrome": 5, "export_chrome_trac": 5, "earli": 5, "late": 5, "longer": 5, "guidanc": 5, "post": [5, 11], "fsdp": 5, "cudacachingalloc": 5, "named_img": 5, "register_hook": 5, "rel": [5, 30, 56, 59, 66], "register_post_accumulate_grad_hook": 5, "applic": 5, "no_grad": [5, 56, 59], "enable_grad": 5, "enabl": [5, 51], "lr": [5, 56, 59], "01": [5, 26, 55, 58, 59], "simul": 5, "sgd": [5, 56, 59], "0100": 5, "0200": 5, "0300": 5, "remaind": 5, "remainder_": 5, "There": [5, 54], "usag": [5, 22, 54, 64], "position": 5, "drop": [5, 66, 67], "renamed_img": 5, "height": 5, "width": 5, "renorm": 5, "maxnorm": 5, "renorm_": 5, "tile": 5, "repeat_interleav": 5, "fact": 5, "tell": 5, "begin": 5, "dataload": [5, 54, 60], "preprocess": 5, "sai": [5, 11], "saved_weight": 5, "loaded_weight": 5, "5503": 5, "4926": 5, "1158": 5, "8303": 5, "sum": [5, 56, 59], "1007": 5, "9853": 5, "2316": 5, "6606": 5, "reshape_a": 5, "resize_": 5, "resiz": [5, 60], "reinterpret": 5, "unchang": 5, "custom": [5, 11, 51, 52, 59, 60], "use_deterministic_algorithm": 5, "fill_uninitialized_memori": 5, "unaffect": [5, 66], "resize_as_": 5, "retains_grad": 5, "roll": 5, "shift": [5, 26], "rot90": 5, "round": 5, "decim": 5, "round_": 5, "rsqrt": 5, "rsqrt_": 5, "scatter": 5, "scatter_": 5, "manner": 5, "moreov": [5, 54, 63], "inclus": 5, "arbitrarili": 5, "propag": [5, 25, 45], "scatter_add_": 5, "scatter_reduce_": 5, "dimension": 5, "0000": 5, "4600": 5, "2300": 5, "scatter_add": 5, "scatter_reduc": 5, "select_scatt": 5, "sgn": 5, "sgn_": 5, "untypedstorag": 5, "int16": 5, "sigmoid_": 5, "sign_": 5, "signbit": 5, "sin": 5, "sin_": 5, "sinc_": 5, "sinh": 5, "sinh_": 5, "hold": [5, 11, 24, 56, 59, 60, 67], "slice_scatt": 5, "slogdet": 5, "smm": 5, "sparse_mask": 5, "advis": 5, "nse": 5, "sparse_coo_tensor": 5, "6550": 5, "2397": 5, "1611": 5, "0779": 5, "2326": 5, "0558": 5, "4711": 5, "9678": 5, "5138": 5, "0411": 5, "9417": 5, "5158": 5, "0793": 5, "0036": 5, "2569": 5, "1055": 5, "sparse_coo": 5, "sparse_resize_": 5, "sparse_resize_and_clear_": 5, "sqrt_": 5, "squar": 5, "square_": 5, "squeeze_": 5, "sspaddmm": 5, "stft": 5, "pad_mod": 5, "typedstorag": 5, "untyped_storag": 5, "term": [5, 11, 24], "storage_typ": 5, "jump": 5, "sub_": 5, "subtract_": 5, "sum_to_s": 5, "svd": 5, "compute_uv": 5, "swapax": 5, "axis0": 5, "axis1": 5, "swapaxes_": 5, "swapdim": 5, "swapdims_": 5, "t_": 5, "take_along_dim": 5, "tan": 5, "tan_": 5, "tanh": 5, "tanh_": 5, "tensor_split": 5, "indices_or_sect": 5, "tri": 5, "5044": 5, "0005": 5, "3310": 5, "0584": 5, "cuda0": 5, "to_dens": 5, "masked_grad": 5, "to_mkldnn": 5, "mkldnn": 5, "to_padded_tensor": 5, "to_spars": 5, "sparsedim": 5, "coordin": 5, "blocksiz": 5, "sparse_csc": 5, "sparse_bsr": 5, "sparse_bsc": 5, "bsr": 5, "bsc": 5, "runtimeerror": 5, "evenli": 5, "csc": 5, "minu": 5, "divis": 5, "sparsecsr": 5, "to_sparse_bsc": 5, "row_indic": 5, "ccol_indic": 5, "to_sparse_bsr": 5, "to_sparse_coo": 5, "_nnz": 5, "to_sparse_csc": 5, "2d": 5, "012766935862600803": 5, "5415473580360413": 5, "08909505605697632": 5, "7729271650314331": 5, "topk": 5, "largest": 5, "transpose_": 5, "triangular_solv": 5, "unitriangular": 5, "tril": 5, "tril_": 5, "triu": 5, "triu_": 5, "true_divid": 5, "true_divide_": 5, "trunc": 5, "trunc_": 5, "async": 5, "type_a": 5, "seq": [5, 19, 22, 25], "unfold": 5, "sizedim": 5, "uniform_": 5, "return_invers": 5, "return_count": 5, "unique_consecut": 5, "consecut": 5, "unsafe_chunk": 5, "unsafe_split": 5, "unsqueeze_": 5, "var": [5, 11], "vdot": 5, "subspac": 5, "span": 5, "foral": 5, "unclear": 5, "2nd": 5, "3rd": 5, "proportion": 5, "twice": [5, 42, 54], "ratio": 5, "met": 5, "overload": 5, "torchscript": 5, "9482": 5, "0310": 5, "4999": 5, "5316": 5, "1520": 5, "7472": 5, "5617": 5, "8649": 5, "4724": 5, "0334": 5, "2976": 5, "8499": 5, "2109": 5, "9913": 5, "9607": 5, "6123": 5, "1064483442": 5, "1124191867": 5, "1069546515": 5, "1089989247": 5, "1105482831": 5, "1061112040": 5, "1057999968": 5, "1084397505": 5, "1071760287": 5, "1123489973": 5, "1097310419": 5, "1084649136": 5, "1101533110": 5, "1073668768": 5, "1082790149": 5, "1088634448": 5, "1000000000": 5, "0047": 5, "0310j": 5, "5316j": 5, "7472j": 5, "8649j": 5, "0334j": 5, "8499j": 5, "9913j": 5, "6123j": 5, "202": 5, "154": 5, "182": 5, "243": 5, "253": 5, "188": 5, "185": 5, "252": 5, "191": [5, 60], "63": [5, 56, 59], "240": 5, "227": 5, "165": 5, "190": 5, "146": 5, "203": 5, "106": 5, "93": 5, "205": 5, "192": 5, "112": 5, "206": 5, "189": 5, "95": 5, "152": 5, "147": 5, "89": 5, "246": 5, "87": 5, "235": 5, "226": 5, "254": 5, "111": 5, "117": 5, "177": 5, "view_a": 5, "vsplit": 5, "xlogi": 5, "xlogy_": 5, "from_dict": [6, 7, 9], "determin": [6, 7, 9, 17, 27, 37, 54, 65], "input_dict": [6, 7, 8, 9, 17, 37], "exclusinv": [6, 9], "__maximum__": [6, 9], "sie": [6, 9, 17, 37], "input_td": [6, 9, 17, 37, 51], "from_tensordict": 6, "non_tensordict": 6, "wrapper": [6, 11, 20, 21, 23, 24], "attemptedli": 6, "setattr": 6, "tent": 6, "persist": [7, 11, 54], "close": 7, "materi": 7, "reman": 7, "from_h5": 7, "recur": [7, 8, 9, 10, 11], "_persistenttdkeysview": 7, "public": 8, "_subtensordict": 8, "_tensordictkeysview": [8, 9], "discard_idx_attr": 8, "_run_check": 9, "notabl": 9, "algebra": 9, "expend": 9, "right": [9, 46, 47, 48], "td_unsqueez": 9, "a_view": 9, "td_cpu": 9, "td_or_dict": 9, "old_nam": 9, "new_nam": 9, "tensordict_list": 9, "lsit": 9, "td_unqueez": 9, "hasn": 9, "parent": [10, 11, 24, 54], "no_convert": [11, 24], "expos": [11, 24, 59, 60, 63, 66], "exactli": [11, 23, 24, 51, 66], "named_paramet": [11, 24, 51, 61], "slightli": [11, 24, 60, 63], "augment": [11, 24], "unwant": [11, 24], "signific": [11, 24, 60], "unlock_": [11, 24, 53], "lock_": [11, 24, 53], "custommodul": [11, 24], "add_modul": 11, "submodul": [11, 25], "direct": 11, "member": 11, "xdoctest": 11, "skip": [11, 20, 40, 63], "buf": 11, "20l": 11, "1l": 11, "5l": 11, "children": [11, 22], "__call__": [11, 20, 60, 63], "eval": [11, 56, 59], "certain": 11, "dropout": [11, 63], "batchnorm": 11, "disabl": 11, "comparison": 11, "mechan": 11, "confus": 11, "extra_repr": 11, "line": [11, 54, 66], "multi": 11, "overridden": [11, 20, 23], "recip": [11, 20, 23], "afterward": [11, 20, 23], "care": [11, 20, 23, 40], "silent": [11, 20, 23], "get_buff": 11, "docstr": 11, "get_submodul": 11, "explan": 11, "fulli": [11, 60], "qualifi": 11, "referenc": 11, "attributeerror": 11, "resolv": 11, "get_extra_st": 11, "set_extra_st": 11, "picklabl": 11, "break": [11, 51, 54, 56, 59, 63], "pickl": [11, 52, 54], "form": [11, 19, 42], "get_paramet": 11, "net_b": 11, "net_c": 11, "conv": 11, "conv2d": 11, "kernel_s": 11, "in_featur": [11, 56, 59], "out_featur": [11, 56, 59], "200": 11, "diagram": 11, "against": [11, 60], "named_modul": 11, "o": [11, 60], "transit": 11, "network": [11, 21, 51, 63], "l": 11, "named_buff": 11, "remove_dupl": 11, "running_var": 11, "named_children": 11, "conv4": 11, "conv5": 11, "register_backward_hook": 11, "removablehandl": 11, "favor": 11, "register_full_backward_hook": 11, "register_buff": 11, "running_mean": 11, "part": [11, 51, 54, 60, 63], "alongsid": 11, "num_featur": 11, "register_forward_hook": 11, "with_kwarg": 11, "always_cal": 11, "fire": 11, "global": [11, 20, 40, 63], "register_module_forward_hook": 11, "register_forward_pre_hook": 11, "invok": 11, "And": 11, "forward_pr": 11, "register_module_forward_pre_hook": 11, "grad_input": 11, "grad_output": 11, "technic": 11, "caller": 11, "register_module_full_backward_hook": 11, "register_full_backward_pre_hook": 11, "backward_pr": 11, "register_module_full_backward_pre_hook": 11, "register_get_post_hook": 11, "register_load_state_dict_post_hook": 11, "incompatible_kei": 11, "namedtupl": 11, "consist": [11, 53], "missing_kei": 11, "unexpected_kei": 11, "register_modul": 11, "register_paramet": 11, "register_state_dict_pre_hook": 11, "help": [11, 46, 52, 60], "freez": 11, "finetun": 11, "gan": 11, "to_empti": 11, "set_to_non": 11, "td_list": [12, 54], "obtrain": 12, "infeas": 12, "thu": 12, "assert_allclose_td": 12, "td_lazi": 12, "td_contain": 12, "td_container_clon": 12, "exclusive_field": [12, 66], "push": 12, "reveal": 12, "arg0": 13, "datatyp": [14, 15], "lib": 15, "istanc": 15, "myclass": [15, 52, 54], "incompat": [17, 37], "merg": 18, "num_copi": [19, 51], "parameter_init_funct": 19, "expand_input": 19, "cnn": 19, "mlp": 19, "mod": [19, 22, 25, 51], "mind": [19, 66], "off": 19, "bork": [19, 22], "dork": [19, 22], "next_modul": 19, "spork": 19, "e0": 19, "e1": 19, "probabilist": 20, "parametr": [20, 63], "default_interaction_typ": [20, 63], "interaction_typ": 20, "get_dist": [20, 63], "rsampl": [20, 29], "suppli": 20, "delta": 20, "importantli": 20, "interest": 20, "loc": [20, 25, 28, 29, 32, 51, 60, 63], "default_interaction_mod": 20, "interactiontyp": [20, 39], "randomli": [20, 60], "probabilistictdmodul": [20, 39], "interact": [20, 54], "dictat": 20, "datacollector": 20, "set_interaction_typ": 20, "distribution_class": [20, 25, 51, 63], "distribution_kwarg": 20, "return_log_prob": [20, 25, 51, 63], "log_prob_kei": 20, "log_prob": [20, 29], "sample_log_prob": [20, 25, 29, 51, 63], "cache_dist": 20, "diverg": 20, "action": [20, 51, 53, 62, 63], "ppo": 20, "n_empirical_estim": 20, "empir": 20, "probabilistictensordictsequenti": [20, 25, 51, 63], "normalparamextractor": [20, 25, 63], "functional_modul": [20, 21, 25, 51], "hidden": [20, 21, 25, 51, 63], "grucel": [20, 21, 51, 63], "normal_param": [20, 25], "prob_modul": [20, 51], "td_modul": [20, 21, 23, 25, 44, 51, 63], "funs_to_decor": [20, 33, 36], "td_vmap": [20, 21, 25], "_requires_sampl": 20, "space": [21, 60], "nestedstr": 21, "embed": 21, "neural": [21, 63], "tgt": 21, "td_function": 21, "td_state": 21, "extract_weights_and_buff": 21, "params_repeat": 21, "bias_hh": 21, "bias_ih": 21, "weight_hh": 21, "weight_ih": 21, "character": 22, "tensordict_in": 22, "reset_out_kei": 22, "orign": [22, 54], "select_out_kei": 22, "reset_parameters_recurs": 22, "old_param": 22, "reset_paramet": 22, "rid": 22, "presenc": 22, "out_keys_sourc": 22, "simplest": 22, "rubric": [22, 25, 40], "revert": 22, "tensordictsequenci": 25, "partial_toler": 25, "who": 25, "AND": 25, "scan": 25, "manual_se": 25, "7214": 25, "8748": 25, "1571": 25, "1138": 25, "addbackward0": 25, "tensordictsequ": 25, "net1": 25, "module1": 25, "td_module1": 25, "module2": 25, "td_module2": 25, "absent": 25, "relev": 25, "discard": [25, 54], "pattern": 25, "acord": 25, "idn": 25, "modulelist": [25, 63], "0x126ed1ca0": 25, "0x129efae50": 25, "min_val": 26, "bias": 26, "softplu": [26, 28, 34], "_bia": 26, "dest": [27, 47], "auto_batch_s": 27, "mymodul": [27, 40], "keys_in": 27, "keys_out": 27, "dispatch_kwarg": 27, "mymodulenest": 27, "a_c": 27, "sep": 27, "asepc": 27, "oopsi": 27, "scale_shap": 28, "scale_map": 28, "scale_lb": 28, "0001": 28, "trainabl": 28, "biased_softplus_1": 28, "choic": [28, 54, 59, 60], "varianc": 28, "num_output": 28, "module_norm": 28, "lstm": 28, "distribution_map": 29, "extra_kwarg": 29, "composit": 29, "cdf": 29, "icdf": 29, "incomplet": 29, "built": 29, "batch_shap": [29, 30], "supplementari": 29, "cont": 29, "disc": 29, "categor": [29, 31], "cont_log_prob": 29, "disc_log_prob": 29, "06": [30, 59], "event_shap": 30, "outcom": 30, "prob": 31, "hot": 31, "excacli": 31, "encod": [31, 63], "validate_arg": 32, "peopl": 32, "sc": 32, "fsu": 32, "edu": 32, "jburkardt": 32, "truncated_norm": 32, "invert": 34, "keep_param": 36, "return_param": 36, "belong": 36, "decor": [36, 40, 46, 52], "repopul": 38, "polici": 39, "in_key_attr": 40, "out_key_attr": 40, "skip_exist": 40, "accordingli": 40, "fun": [40, 63], "partial": [40, 54], "intend": 40, "outsid": 40, "hello": 40, "ot": 40, "thing": [40, 61], "mistakenli": 40, "subgraph": 40, "deactiv": 40, "pad_siz": 42, "constant": 42, "padding_left": 42, "padding_right": 42, "padding_top": 42, "padding_bottom": 42, "dim0_left": 42, "dim0_right": 42, "dim1_left": 42, "dim1_right": 42, "padded_td": [42, 43], "list_of_tensordict": 43, "batch_first": 43, "padding_valu": 43, "return_mask": 43, "rnn": 43, "provd": 43, "list_td": 43, "tdgraphmodul": 44, "symbol": 44, "tracer": 44, "dataclass": [46, 59, 60], "mydata": [46, 52], "expand_and_mask": 46, "test": [46, 51, 52, 56, 59, 63, 66], "nestingmydata": 46, "nesting_data": 46, "hint": 46, "_memmaptensor": 47, "flexibl": [51, 54, 60, 63], "ml": 51, "pipelin": [51, 56, 59, 60], "basic": [51, 60], "512": [51, 56, 59], "suffic": 51, "sub_modul": 51, "summari": 51, "statist": 51, "normalparamwrapp": 51, "dedic": [51, 54, 59, 60], "leverag": 51, "extract": [51, 59, 60, 63], "out2": 51, "assert_clos": [51, 66], "distinguish": 51, "pack": [51, 53], "funciton": 51, "get_funct": 51, "approach": [51, 54, 60], "straightforward": 51, "reiniti": 51, "ensemblemodul": 51, "predefin": 52, "__future__": [52, 54], "annot": [52, 54], "floatdata": 52, "intdata": 52, "non_tensordata": 52, "check_nest": 52, "nested_test": 52, "intern": 52, "remain": [52, 61, 65], "test_chang": 52, "repr": 52, "nested_test_chang": 52, "data2": 52, "cat_tc": 52, "catted_tc": 52, "strategi": 52, "json": [52, 54], "deseri": 52, "load_memmap": [52, 54], "environ": [52, 60], "data_load": 52, "inequ": 52, "discrep": 52, "non_tensor": 52, "userwarn": 52, "test_new": 52, "stack_tc": 52, "undon": 53, "temporarili": 53, "is_lock": 53, "primit": 53, "handi": 53, "eas": 53, "de": 53, "plu": 53, "reconstruct": [53, 54], "goe": 53, "my_imag": 53, "unint8": 53, "mini_batch": 53, "imagin": 54, "mainli": 54, "speed": [54, 60], "magnitud": 54, "__faster__": 54, "relianc": 54, "explain": [54, 60], "dump": 54, "mmap": 54, "unsaf": 54, "unpickl": 54, "memorybuff": 54, "amort": 54, "io": 54, "launch": 54, "concurr": 54, "appar": 54, "disadvantag": 54, "Not": 54, "fallback": 54, "four": 54, "core": [54, 60], "weights_disk": 54, "dir": 54, "new_weight": 54, "prealloc": 54, "make_datum": 54, "255": [54, 60], "dataset_s": 54, "datum": 54, "data_disk": 54, "date": 54, "system": 54, "releant": 54, "print_directory_tre": 54, "tc": 54, "temporarydirectori": 54, "tempdir": 54, "loaded_data": 54, "tmpzy1jcaoq": 54, "_tensordict": 54, "tmpdir_0": 54, "tmpdir_1": 54, "td_load": 54, "inadvert": 54, "memorymap": 54, "mainten": 54, "discontinu": 54, "checkpoint": 54, "buit": 54, "huge": 54, "hundr": 54, "gb": 54, "ram": [54, 60], "advanc": 54, "margin": [54, 63], "rememb": 54, "tensordict_sourc": 54, "snapshot": 54, "app_stat": 54, "my": 54, "hood": 54, "tensordict_target": 54, "state_target": 54, "restor": 54, "uuid": 54, "uuid4": 54, "tensordict2": 54, "target_st": 54, "small": 54, "price": 54, "pai": 54, "contrast": 54, "again": [54, 61], "statedict": 54, "explicitli": 54, "my_tensordict_sourc": 54, "implic": 54, "unnot": 54, "td_dest": 54, "saniti": 54, "fairli": 54, "tc_dest": 54, "02": [55, 58, 59], "082": [55, 58], "galleri": [55, 56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "mem": [55, 58], "mb": [55, 58], "tutori": [55, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67], "tensorclass_fashion": [55, 58, 59], "py": [55, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67], "981": [55, 58, 59], "data_fashion": [55, 56, 58], "364": [55, 56, 58], "tensordict_modul": [55, 58, 63], "144": [55, 58, 63], "tensorclass_imagenet": [55, 58, 60], "535": [55, 58, 60], "tensordict_memori": [55, 58, 62], "023": [55, 58, 62], "tensordict_kei": [55, 58, 61], "010": [55, 58, 61], "tensordict_shap": [55, 58, 66], "008": [55, 58, 66], "tensordict_sl": [55, 58, 67], "007": [55, 58, 64, 67], "tensordict_module_funct": [55, 58, 64], "tensordict_prealloc": [55, 58, 65], "003": [55, 58, 65], "download": [56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "transpar": [56, 59, 60], "heavili": [56, 59], "quickstart": [56, 59], "torchvis": [56, 59, 60], "totensor": [56, 59, 60], "is_avail": [56, 59, 60], "conveni": [56, 59, 60, 63], "prepar": [56, 59], "fashionmnist": [56, 59], "cloth": [56, 59], "classifi": [56, 59], "bag": [56, 59], "sneaker": [56, 59], "training_data": [56, 59], "test_data": [56, 59], "repeatedli": [56, 59], "training_data_td": 56, "test_data_td": 56, "Then": 56, "__len__": [56, 59, 60], "__getitem__": [56, 59, 60], "__getitems__": [56, 59, 60], "style": [56, 59, 60], "collat": [56, 59, 60], "collate_fn": [56, 59, 60], "train_dataload": [56, 59, 60], "noqa": [56, 59, 60], "tor401": [56, 59, 60], "test_dataload": [56, 59], "train_dataloader_td": 56, "test_dataloader_td": 56, "linear_relu_stack": [56, 59], "model_td": 56, "784": [56, 59], "optimis": [56, 59], "stochast": [56, 59], "descent": [56, 59], "entropi": [56, 59], "loss_fn": [56, 59], "crossentropyloss": [56, 59], "optimizer_td": 56, "pred": [56, 59], "7f": [56, 59], "5d": [56, 59], "adjust": [56, 59], "unpack": [56, 59], "train_td": 56, "num_batch": [56, 59], "test_loss": [56, 59], "accuraci": [56, 59], "1f": [56, 59], "avg": [56, 59], "8f": [56, 59], "test_td": 56, "epoch": [56, 59, 60], "4f": [56, 59, 60], "297689": 56, "60000": [56, 59], "280892": 56, "6400": [56, 59], "274654": 56, "12800": [56, 59], "279074": 56, "19200": [56, 59], "246684": 56, "25600": [56, 59], "236528": 56, "32000": [56, 59], "231100": 56, "38400": [56, 59], "205158": 56, "44800": [56, 59], "201136": 56, "51200": [56, 59], "183861": 56, "57600": [56, 59], "167354": 56, "171290": 56, "158412": 56, "111888": 56, "133768": 56, "084503": 56, "034350": 56, "050703": 56, "979632": 56, "976614": 56, "923289": 56, "910134": 56, "936399": 56, "905847": 56, "795367": 56, "838003": 56, "743419": 56, "686000": 56, "699681": 56, "603609": 56, "619376": 56, "525605": 56, "61": [56, 59], "536318": 56, "596518": 56, "559388": 56, "415173": 56, "491498": 56, "381014": 56, "365470": 56, "370804": 56, "300947": 56, "330507": 56, "238865": 56, "261017": 56, "331413": 56, "310852": 56, "153299": 56, "264552": 56, "141564": 56, "159877": 56, "169980": 56, "117384": 56, "152227": 56, "074354": 56, "091176": 56, "2466": 56, "302497": 56, "293708": 56, "275291": 56, "277487": 56, "256965": 56, "226137": 56, "235041": 56, "204915": 56, "205817": 56, "175438": 56, "167767": 56, "173955": 56, "167189": 56, "113836": 56, "137049": 56, "091704": 56, "024699": 56, "058104": 56, "987428": 56, "997960": 56, "928781": 56, "920751": 56, "947450": 56, "923763": 56, "809623": 56, "859243": 56, "749499": 56, "684024": 56, "717253": 56, "618240": 56, "651242": 56, "544094": 56, "550630": 56, "611791": 56, "576542": 56, "422823": 56, "509073": 56, "374687": 56, "361015": 56, "386337": 56, "310513": 56, "355154": 56, "253993": 56, "267246": 56, "339752": 56, "319095": 56, "151958": 56, "273998": 56, "129366": 56, "151123": 56, "181103": 56, "123158": 56, "170845": 56, "086041": 56, "65": 56, "093209": 56, "7524": 56, "minut": [56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "jupyt": [56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "notebook": [56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "ipynb": [56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "sphinx": [56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "tutorials_python": 57, "zip": 57, "tutorials_jupyt": 57, "mnist": 59, "s3": 59, "websit": 59, "eu": 59, "central": 59, "amazonaw": 59, "idx3": 59, "ubyt": 59, "gz": 59, "raw": [59, 60], "26421880": 59, "65536": 59, "366529": 59, "78it": 59, "229376": 59, "688397": 59, "37it": 59, "950272": 59, "2208013": 59, "10it": 59, "3768320": 59, "8248474": 59, "55it": 59, "6881280": 59, "13109654": 59, "28it": 59, "12976128": 59, "23117960": 59, "87it": 59, "16187392": 59, "23413161": 59, "19it": 59, "84": 59, "22118400": 59, "29644180": 59, "74it": 59, "96": 59, "25362432": 59, "28040475": 59, "24it": 59, "19497898": 59, "83it": 59, "idx1": 59, "29515": 59, "328895": 59, "32it": 59, "t10k": 59, "4422102": 59, "364322": 59, "80it": 59, "685186": 59, "31it": 59, "819200": 59, "2334471": 59, "1769472": 59, "3764378": 59, "13it": 59, "6119438": 59, "97it": 59, "5148": 59, "72701269": 59, "33it": 59, "good": [59, 60], "encapsul": [59, 60], "logic": [59, 60], "from_dataset": [59, 60], "fashionmnistdata": 59, "incur": 59, "training_data_tc": 59, "test_data_tc": 59, "train_dataloader_tc": [59, 60], "test_dataloader_tc": 59, "model_tc": 59, "optimizer_tc": 59, "train_tc": 59, "test_tc": 59, "310976": 59, "295230": 59, "283326": 59, "278642": 59, "255610": 59, "232225": 59, "231061": 59, "200477": 59, "201424": 59, "166960": 59, "167791": 59, "177774": 59, "166296": 59, "122235": 59, "137978": 59, "079019": 59, "028171": 59, "046031": 59, "973215": 59, "979031": 59, "902367": 59, "911800": 59, "940137": 59, "909616": 59, "814698": 59, "854172": 59, "726293": 59, "688812": 59, "703465": 59, "610862": 59, "633218": 59, "529064": 59, "552986": 59, "612865": 59, "574731": 59, "449299": 59, "519882": 59, "382809": 59, "389852": 59, "397839": 59, "323305": 59, "355896": 59, "258844": 59, "284397": 59, "358123": 59, "332349": 59, "188338": 59, "291905": 59, "153745": 59, "188745": 59, "200132": 59, "134685": 59, "174266": 59, "089714": 59, "110009": 59, "5711": 59, "303066": 59, "290508": 59, "268382": 59, "267677": 59, "243165": 59, "219261": 59, "226329": 59, "190671": 59, "192858": 59, "160490": 59, "155192": 59, "164057": 59, "159464": 59, "098034": 59, "120966": 59, "061083": 59, "001219": 59, "026425": 59, "953357": 59, "962681": 59, "875333": 59, "887924": 59, "922889": 59, "895636": 59, "781903": 59, "824525": 59, "701341": 59, "654470": 59, "671035": 59, "587242": 59, "609092": 59, "483521": 59, "520375": 59, "591304": 59, "553071": 59, "408833": 59, "483236": 59, "347654": 59, "352496": 59, "357938": 59, "298349": 59, "325898": 59, "211882": 59, "250856": 59, "331446": 59, "307861": 59, "147009": 59, "259104": 59, "119098": 59, "154116": 59, "165835": 59, "116898": 59, "149531": 59, "052141": 59, "085073": 59, "1519": 59, "idea": 60, "10x": 60, "speedup": 60, "subset": [60, 61], "imagenet": [60, 62], "transfer": 60, "subdirectori": 60, "os": 60, "distutil": 60, "strtobool": 60, "pathlib": 60, "tqdm": 60, "compon": [60, 63], "overfit": 60, "train_transform": 60, "randomresizedcrop": 60, "224": 60, "randomhorizontalflip": 60, "485": 60, "456": 60, "406": 60, "229": 60, "225": 60, "val_transform": 60, "256": 60, "centercrop": 60, "imagefold": 60, "data_dir": 60, "hymenoptera_data": 60, "train_data": 60, "val_data": 60, "train_data_raw": 60, "piltotensor": 60, "invaffin": 60, "crop": 60, "randomhflip": 60, "randomcrop": 60, "index0": 60, "index1": 60, "principl": 60, "collate_transform": 60, "known": 60, "apriori": 60, "imagenetdata": 60, "dl": 60, "pbar": 60, "_batch": 60, "train_data_tc": 60, "val_data_tc": 60, "helper": 60, "parallel": 60, "essenti": 60, "val_dataload": 60, "val_dataloader_tc": 60, "measur": 60, "rate": 60, "fp": 60, "bigger": 60, "improv": 60, "aw": 60, "ec2": 60, "a100": 60, "media": 60, "png": 60, "alt": 60, "bar": 60, "chart": 60, "__": 60, "better": 60, "blob": 60, "244": 60, "233": 60, "18it": 60, "756": 60, "46it": 60, "153": 60, "86it": 60, "372": 60, "1077": 60, "1951": 60, "2042": 60, "1733": 60, "7566": 60, "1269": 60, "695": 60, "0831": 60, "1856": 60, "18441": 60, "2139": 60, "0070": 60, "author": [61, 62, 65, 66, 67], "tom": [61, 62, 65, 66, 67], "beglei": [61, 62, 65, 66, 67], "accomplish": 61, "request": 61, "banana": 61, "statement": 61, "chosen": 61, "nested_tensordict": 61, "double_nest": 61, "double_nested_a": 61, "nested_a": 61, "top": 61, "lookup": 61, "flattened_tensordict": 61, "particularli": 61, "meth": 61, "omit": 61, "clear_devic": 62, "slowli": 62, "mm_tensordict": 62, "pt": 62, "a_out": 63, "averag": 63, "mergelinear": 63, "in_1": [63, 64], "in_2": 63, "linear_1": [63, 64], "linear_2": [63, 64], "x_1": 63, "x_2": 63, "multiheadlinear": [63, 64], "out_1": [63, 64], "out_2": [63, 64], "splitlinear": [63, 64], "output_1": [63, 64], "output_2": [63, 64], "split_and_merge_linear": 63, "ok": 63, "exploration_mod": 63, "conflict": 63, "preced": 63, "wire": 63, "termin": 63, "extractor": 63, "figur": 63, "classic": 63, "architectur": 63, "vaswani": 63, "et": 63, "al": 63, "2017": 63, "asid": 63, "simplic": 63, "tokenstoqkv": 63, "to_dim": 63, "from_dim": 63, "latent_dim": 63, "x_to": 63, "x_from": 63, "splithead": 63, "num_head": 63, "to_num": 63, "from_num": 63, "d_tensor": 63, "attent": 63, "n_head": 63, "d_in": 63, "attn": 63, "skiplayernorm": 63, "to_len": 63, "layer_norm": 63, "layernorm": 63, "x_0": 63, "ffn": 63, "hidden_dim": 63, "dropout_r": 63, "attentionblock": 63, "tokens_to_qkv": 63, "split_head": 63, "encodertransformerblock": 63, "attention_block": 63, "x_out": 63, "decodertransformerblock": 63, "encoder_block": 63, "transformerencod": 63, "num_block": 63, "decod": 63, "from_len": 63, "attentionblocktensordict": 63, "connect": 63, "to_nam": 63, "from_nam": 63, "thank": 63, "transformerblockencodertensordict": 63, "transformerblockdecodertensordict": 63, "token": 63, "info": 63, "transformerencodertensordict": 63, "transformerdecodertensordict": 63, "transformertensordict": 63, "x_encod": 63, "x_decod": 63, "operar": 63, "td_token": 63, "tdtransform": 63, "t1": 63, "t2": 63, "011106491088867188": 63, "t3": 63, "t4": 63, "006401538848876953": 63, "minim": 63, "introduc": 63, "functionl": 64, "reintroduc": 64, "ordinarili": 64, "make_functional_with_buff": 64, "functionalis": 64, "func": 64, "replica": 64, "params_expand": 64, "buffers_expand": 64, "nativ": 64, "num_model": 64, "result_td": 64, "make_tensordict": 65, "perhap": 65, "initialis": 65, "prepopul": 65, "random_tensordict": 65, "agre": [66, 67], "indexed_tensordict": 66, "reshaped_tensordict": 66, "interpret": 66, "throughout": 66, "conceptu": 66, "demand": 66, "cloned_tensordict": 66, "stacked_tensordict": 66, "recov": 66, "concatenated_tensordict": 66, "exp_tensordict": 66, "_squeezedtensordict": 66, "_unsqueezedtensordict": 66, "squeezed_tensordict": 66, "unsqueezed_tensordict": 66, "benefici": 66, "bear": 66, "ever": 66, "_viewedtensordict": 66, "viewed_tensordict": 66, "untouch": 66, "permuted_tensordict": 66, "gathered_tensordict": 66, "6435": 66, "8054": 66, "9983": 66, "4238": 66, "9842": 66, "4340": 66, "8523": 66, "5265": 66, "1708": 66, "0143": 66, "2981": 66, "9721": 66, "discuss": 67, "simultan": 67, "new_tensordict": 67, "That": 67, "doesn": 67, "get_sub_tensordict": 67, "orgiin": 67}, "objects": {"tensordict": [[4, 0, 1, "", "LazyStackedTensorDict"], [5, 0, 1, "", "MemoryMappedTensor"], [6, 0, 1, "", "NonTensorData"], [7, 0, 1, "", "PersistentTensorDict"], [8, 0, 1, "", "SubTensorDict"], [9, 0, 1, "", "TensorDict"], [10, 0, 1, "", "TensorDictBase"], [11, 0, 1, "", "TensorDictParams"], [12, 0, 1, "", "dense_stack_tds"], [13, 0, 1, "", "is_batchedtensor"], [14, 0, 1, "", "is_memmap"], [15, 0, 1, "", "is_tensor_collection"], [16, 0, 1, "", "lazy_legacy"], [17, 0, 1, "", "make_tensordict"], [18, 0, 1, "", "merge_tensordicts"], [42, 0, 1, "", "pad"], [43, 0, 1, "", "pad_sequence"], [45, 0, 1, "", "set_lazy_legacy"], [46, 0, 1, "", "tensorclass"]], "tensordict.LazyStackedTensorDict": [[4, 1, 1, "", "all"], [4, 1, 1, "", "any"], [4, 1, 1, "", "append"], [4, 1, 1, "", "apply"], [4, 1, 1, "", "apply_"], [4, 1, 1, "", "auto_batch_size_"], [4, 2, 1, "", "batch_dims"], [4, 2, 1, "", "batch_size"], [4, 1, 1, "", "bfloat16"], [4, 1, 1, "", "bool"], [4, 1, 1, "", "chunk"], [4, 1, 1, "", "clear"], [4, 1, 1, "", "clear_device_"], [4, 1, 1, "", "clone"], [4, 1, 1, "", "contiguous"], [4, 1, 1, "", "copy"], [4, 1, 1, "", "copy_"], [4, 1, 1, "", "copy_at_"], [4, 1, 1, "", "cpu"], [4, 1, 1, "", "create_nested"], [4, 1, 1, "", "cuda"], [4, 1, 1, "", "del_"], [4, 1, 1, "", "detach"], [4, 1, 1, "", "detach_"], [4, 2, 1, "", "device"], [4, 1, 1, "", "dim"], [4, 1, 1, "", "double"], [4, 1, 1, "", "empty"], [4, 1, 1, "", "entry_class"], [4, 1, 1, "", "exclude"], [4, 1, 1, "", "expand"], [4, 1, 1, "", "fill_"], [4, 1, 1, "", "filter_non_tensor_data"], [4, 1, 1, "", "flatten"], [4, 1, 1, "", "flatten_keys"], [4, 1, 1, "", "float"], [4, 1, 1, "", "from_module"], [4, 1, 1, "", "gather"], [4, 1, 1, "", "gather_and_stack"], [4, 1, 1, "", "get"], [4, 1, 1, "", "get_at"], [4, 1, 1, "", "get_item_shape"], [4, 1, 1, "", "get_nestedtensor"], [4, 1, 1, "", "get_non_tensor"], [4, 1, 1, "", "half"], [4, 1, 1, "", "insert"], [4, 1, 1, "", "int"], [4, 1, 1, "", "irecv"], [4, 1, 1, "", "is_contiguous"], [4, 1, 1, "", "is_empty"], [4, 1, 1, "", "is_memmap"], [4, 1, 1, "", "is_shared"], [4, 1, 1, "", "isend"], [4, 1, 1, "", "items"], [4, 1, 1, "", "keys"], [4, 1, 1, "", "lazy_stack"], [4, 1, 1, "", "load_state_dict"], [4, 1, 1, "", "map"], [4, 1, 1, "", "masked_fill"], [4, 1, 1, "", "masked_fill_"], [4, 1, 1, "", "masked_select"], [4, 1, 1, "", "maybe_dense_stack"], [4, 1, 1, "", "memmap"], [4, 1, 1, "", "memmap_"], [4, 1, 1, "", "memmap_like"], [4, 1, 1, "", "named_apply"], [4, 2, 1, "", "ndim"], [4, 1, 1, "", "ndimension"], [4, 1, 1, "", "numel"], [4, 1, 1, "", "permute"], [4, 1, 1, "", "pin_memory"], [4, 1, 1, "", "pop"], [4, 1, 1, "", "popitem"], [4, 1, 1, "", "recv"], [4, 1, 1, "", "reduce"], [4, 1, 1, "", "refine_names"], [4, 1, 1, "", "rename"], [4, 1, 1, "", "rename_"], [4, 1, 1, "", "rename_key_"], [4, 1, 1, "", "reshape"], [4, 1, 1, "", "select"], [4, 1, 1, "", "send"], [4, 1, 1, "", "set"], [4, 1, 1, "", "set_"], [4, 1, 1, "", "set_at_"], [4, 1, 1, "", "set_non_tensor"], [4, 1, 1, "", "setdefault"], [4, 2, 1, "", "shape"], [4, 1, 1, "", "share_memory_"], [4, 1, 1, "", "size"], [4, 2, 1, "", "sorted_keys"], [4, 1, 1, "", "split"], [4, 1, 1, "", "squeeze"], [4, 1, 1, "", "state_dict"], [4, 1, 1, "", "to"], [4, 1, 1, "", "to_dict"], [4, 1, 1, "", "to_h5"], [4, 1, 1, "", "to_module"], [4, 1, 1, "", "to_tensordict"], [4, 1, 1, "", "transpose"], [4, 1, 1, "", "type"], [4, 1, 1, "", "unbind"], [4, 1, 1, "", "unflatten"], [4, 1, 1, "", "unflatten_keys"], [4, 1, 1, "", "unsqueeze"], [4, 1, 1, "", "update"], [4, 1, 1, "", "update_"], [4, 1, 1, "", "update_at_"], [4, 1, 1, "", "valid_keys"], [4, 1, 1, "", "values"], [4, 1, 1, "", "view"], [4, 1, 1, "", "where"], [4, 1, 1, "", "zero_"]], "tensordict.MemoryMappedTensor": [[5, 3, 1, "", "H"], [5, 3, 1, "", "T"], [5, 1, 1, "", "abs"], [5, 1, 1, "", "abs_"], [5, 1, 1, "", "absolute"], [5, 1, 1, "", "absolute_"], [5, 1, 1, "", "acos"], [5, 1, 1, "", "acos_"], [5, 1, 1, "", "acosh"], [5, 1, 1, "", "acosh_"], [5, 1, 1, "", "add"], [5, 1, 1, "", "add_"], [5, 1, 1, "", "addbmm"], [5, 1, 1, "", "addbmm_"], [5, 1, 1, "", "addcdiv"], [5, 1, 1, "", "addcdiv_"], [5, 1, 1, "", "addcmul"], [5, 1, 1, "", "addcmul_"], [5, 1, 1, "", "addmm"], [5, 1, 1, "", "addmm_"], [5, 1, 1, "", "addmv"], [5, 1, 1, "", "addmv_"], [5, 1, 1, "", "addr"], [5, 1, 1, "", "addr_"], [5, 1, 1, "", "adjoint"], [5, 1, 1, "", "align_as"], [5, 1, 1, "", "align_to"], [5, 1, 1, "", "all"], [5, 1, 1, "", "allclose"], [5, 1, 1, "", "amax"], [5, 1, 1, "", "amin"], [5, 1, 1, "", "aminmax"], [5, 1, 1, "", "angle"], [5, 1, 1, "", "any"], [5, 1, 1, "", "apply_"], [5, 1, 1, "", "arccos"], [5, 1, 1, "", "arccos_"], [5, 1, 1, "", "arccosh"], [5, 1, 1, "", "arccosh_"], [5, 1, 1, "", "arcsin"], [5, 1, 1, "", "arcsin_"], [5, 1, 1, "", "arcsinh"], [5, 1, 1, "", "arcsinh_"], [5, 1, 1, "", "arctan"], [5, 1, 1, "", "arctan2"], [5, 1, 1, "", "arctan2_"], [5, 1, 1, "", "arctan_"], [5, 1, 1, "", "arctanh"], [5, 1, 1, "", "arctanh_"], [5, 1, 1, "", "argmax"], [5, 1, 1, "", "argmin"], [5, 1, 1, "", "argsort"], [5, 1, 1, "", "argwhere"], [5, 1, 1, "", "as_strided"], [5, 1, 1, "", "as_strided_"], [5, 1, 1, "", "as_strided_scatter"], [5, 1, 1, "", "as_subclass"], [5, 1, 1, "", "asin"], [5, 1, 1, "", "asin_"], [5, 1, 1, "", "asinh"], [5, 1, 1, "", "asinh_"], [5, 1, 1, "", "atan"], [5, 1, 1, "", "atan2"], [5, 1, 1, "", "atan2_"], [5, 1, 1, "", "atan_"], [5, 1, 1, "", "atanh"], [5, 1, 1, "", "atanh_"], [5, 1, 1, "", "backward"], [5, 1, 1, "", "baddbmm"], [5, 1, 1, "", "baddbmm_"], [5, 1, 1, "", "bernoulli"], [5, 1, 1, "", "bernoulli_"], [5, 1, 1, "", "bfloat16"], [5, 1, 1, "", "bincount"], [5, 1, 1, "", "bitwise_and"], [5, 1, 1, "", "bitwise_and_"], [5, 1, 1, "", "bitwise_left_shift"], [5, 1, 1, "", "bitwise_left_shift_"], [5, 1, 1, "", "bitwise_not"], [5, 1, 1, "", "bitwise_not_"], [5, 1, 1, "", "bitwise_or"], [5, 1, 1, "", "bitwise_or_"], [5, 1, 1, "", "bitwise_right_shift"], [5, 1, 1, "", "bitwise_right_shift_"], [5, 1, 1, "", "bitwise_xor"], [5, 1, 1, "", "bitwise_xor_"], [5, 1, 1, "", "bmm"], [5, 1, 1, "", "bool"], [5, 1, 1, "", "broadcast_to"], [5, 1, 1, "", "byte"], [5, 1, 1, "", "cauchy_"], [5, 1, 1, "", "cdouble"], [5, 1, 1, "", "ceil"], [5, 1, 1, "", "ceil_"], [5, 1, 1, "", "cfloat"], [5, 1, 1, "", "chalf"], [5, 1, 1, "", "char"], [5, 1, 1, "", "cholesky"], [5, 1, 1, "", "cholesky_inverse"], [5, 1, 1, "", "cholesky_solve"], [5, 1, 1, "", "chunk"], [5, 1, 1, "", "clamp"], [5, 1, 1, "", "clamp_"], [5, 1, 1, "", "clip"], [5, 1, 1, "", "clip_"], [5, 1, 1, "", "clone"], [5, 1, 1, "", "coalesce"], [5, 1, 1, "", "col_indices"], [5, 1, 1, "", "conj"], [5, 1, 1, "", "conj_physical"], [5, 1, 1, "", "conj_physical_"], [5, 1, 1, "", "contiguous"], [5, 1, 1, "", "copy_"], [5, 1, 1, "", "copysign"], [5, 1, 1, "", "copysign_"], [5, 1, 1, "", "corrcoef"], [5, 1, 1, "", "cos"], [5, 1, 1, "", "cos_"], [5, 1, 1, "", "cosh"], [5, 1, 1, "", "cosh_"], [5, 1, 1, "", "count_nonzero"], [5, 1, 1, "", "cov"], [5, 1, 1, "", "cpu"], [5, 1, 1, "", "cross"], [5, 1, 1, "", "crow_indices"], [5, 1, 1, "", "cuda"], [5, 1, 1, "", "cummax"], [5, 1, 1, "", "cummin"], [5, 1, 1, "", "cumprod"], [5, 1, 1, "", "cumprod_"], [5, 1, 1, "", "cumsum"], [5, 1, 1, "", "cumsum_"], [5, 1, 1, "", "data_ptr"], [5, 1, 1, "", "deg2rad"], [5, 1, 1, "", "deg2rad_"], [5, 1, 1, "", "dense_dim"], [5, 1, 1, "", "dequantize"], [5, 1, 1, "", "det"], [5, 1, 1, "", "detach"], [5, 1, 1, "", "detach_"], [5, 3, 1, "", "device"], [5, 1, 1, "", "diag"], [5, 1, 1, "", "diag_embed"], [5, 1, 1, "", "diagflat"], [5, 1, 1, "", "diagonal"], [5, 1, 1, "", "diagonal_scatter"], [5, 1, 1, "", "diff"], [5, 1, 1, "", "digamma"], [5, 1, 1, "", "digamma_"], [5, 1, 1, "", "dim"], [5, 1, 1, "", "dim_order"], [5, 1, 1, "", "dist"], [5, 1, 1, "", "div"], [5, 1, 1, "", "div_"], [5, 1, 1, "", "divide"], [5, 1, 1, "", "divide_"], [5, 1, 1, "", "dot"], [5, 1, 1, "", "double"], [5, 1, 1, "", "dsplit"], [5, 1, 1, "", "element_size"], [5, 1, 1, "", "empty"], [5, 1, 1, "", "empty_like"], [5, 1, 1, "", "eq"], [5, 1, 1, "", "eq_"], [5, 1, 1, "", "equal"], [5, 1, 1, "", "erf"], [5, 1, 1, "", "erf_"], [5, 1, 1, "", "erfc"], [5, 1, 1, "", "erfc_"], [5, 1, 1, "", "erfinv"], [5, 1, 1, "", "erfinv_"], [5, 1, 1, "", "exp"], [5, 1, 1, "", "exp2"], [5, 1, 1, "", "exp2_"], [5, 1, 1, "", "exp_"], [5, 1, 1, "", "expand"], [5, 1, 1, "", "expand_as"], [5, 1, 1, "", "expm1"], [5, 1, 1, "", "expm1_"], [5, 1, 1, "", "exponential_"], [5, 2, 1, "", "filename"], [5, 1, 1, "", "fill_"], [5, 1, 1, "", "fill_diagonal_"], [5, 1, 1, "", "fix"], [5, 1, 1, "", "fix_"], [5, 1, 1, "", "flatten"], [5, 1, 1, "", "flip"], [5, 1, 1, "", "fliplr"], [5, 1, 1, "", "flipud"], [5, 1, 1, "", "float"], [5, 1, 1, "", "float_power"], [5, 1, 1, "", "float_power_"], [5, 1, 1, "", "floor"], [5, 1, 1, "", "floor_"], [5, 1, 1, "", "floor_divide"], [5, 1, 1, "", "floor_divide_"], [5, 1, 1, "", "fmax"], [5, 1, 1, "", "fmin"], [5, 1, 1, "", "fmod"], [5, 1, 1, "", "fmod_"], [5, 1, 1, "", "frac"], [5, 1, 1, "", "frac_"], [5, 1, 1, "", "frexp"], [5, 1, 1, "", "from_filename"], [5, 1, 1, "", "from_handler"], [5, 1, 1, "", "from_tensor"], [5, 1, 1, "", "full"], [5, 1, 1, "", "full_like"], [5, 1, 1, "", "gather"], [5, 1, 1, "", "gcd"], [5, 1, 1, "", "gcd_"], [5, 1, 1, "", "ge"], [5, 1, 1, "", "ge_"], [5, 1, 1, "", "geometric_"], [5, 1, 1, "", "geqrf"], [5, 1, 1, "", "ger"], [5, 1, 1, "", "get_device"], [5, 3, 1, "", "grad"], [5, 1, 1, "", "greater"], [5, 1, 1, "", "greater_"], [5, 1, 1, "", "greater_equal"], [5, 1, 1, "", "greater_equal_"], [5, 1, 1, "", "gt"], [5, 1, 1, "", "gt_"], [5, 1, 1, "", "half"], [5, 1, 1, "", "hardshrink"], [5, 1, 1, "", "has_names"], [5, 1, 1, "", "heaviside"], [5, 1, 1, "", "heaviside_"], [5, 1, 1, "", "histc"], [5, 1, 1, "", "histogram"], [5, 1, 1, "", "hsplit"], [5, 1, 1, "", "hypot"], [5, 1, 1, "", "hypot_"], [5, 1, 1, "", "i0"], [5, 1, 1, "", "i0_"], [5, 1, 1, "", "igamma"], [5, 1, 1, "", "igamma_"], [5, 1, 1, "", "igammac"], [5, 1, 1, "", "igammac_"], [5, 3, 1, "", "imag"], [5, 1, 1, "", "index_add"], [5, 1, 1, "", "index_add_"], [5, 1, 1, "", "index_copy"], [5, 1, 1, "", "index_copy_"], [5, 1, 1, "", "index_fill"], [5, 1, 1, "", "index_fill_"], [5, 1, 1, "", "index_put"], [5, 1, 1, "", "index_put_"], [5, 1, 1, "", "index_reduce_"], [5, 1, 1, "", "index_select"], [5, 1, 1, "", "indices"], [5, 1, 1, "", "inner"], [5, 1, 1, "", "int"], [5, 1, 1, "", "int_repr"], [5, 1, 1, "", "inverse"], [5, 1, 1, "", "ipu"], [5, 1, 1, "", "is_coalesced"], [5, 1, 1, "", "is_complex"], [5, 1, 1, "", "is_conj"], [5, 1, 1, "", "is_contiguous"], [5, 3, 1, "", "is_cpu"], [5, 3, 1, "", "is_cuda"], [5, 1, 1, "", "is_floating_point"], [5, 1, 1, "", "is_inference"], [5, 3, 1, "", "is_ipu"], [5, 3, 1, "", "is_leaf"], [5, 3, 1, "", "is_meta"], [5, 3, 1, "", "is_mps"], [5, 1, 1, "", "is_neg"], [5, 1, 1, "", "is_pinned"], [5, 3, 1, "", "is_quantized"], [5, 1, 1, "", "is_set_to"], [5, 1, 1, "", "is_shared"], [5, 1, 1, "", "is_signed"], [5, 3, 1, "", "is_sparse"], [5, 3, 1, "", "is_sparse_csr"], [5, 3, 1, "", "is_xla"], [5, 3, 1, "", "is_xpu"], [5, 1, 1, "", "isclose"], [5, 1, 1, "", "isfinite"], [5, 1, 1, "", "isinf"], [5, 1, 1, "", "isnan"], [5, 1, 1, "", "isneginf"], [5, 1, 1, "", "isposinf"], [5, 1, 1, "", "isreal"], [5, 1, 1, "", "istft"], [5, 1, 1, "", "item"], [5, 3, 1, "", "itemsize"], [5, 1, 1, "", "kron"], [5, 1, 1, "", "kthvalue"], [5, 1, 1, "", "lcm"], [5, 1, 1, "", "lcm_"], [5, 1, 1, "", "ldexp"], [5, 1, 1, "", "ldexp_"], [5, 1, 1, "", "le"], [5, 1, 1, "", "le_"], [5, 1, 1, "", "lerp"], [5, 1, 1, "", "lerp_"], [5, 1, 1, "", "less"], [5, 1, 1, "", "less_"], [5, 1, 1, "", "less_equal"], [5, 1, 1, "", "less_equal_"], [5, 1, 1, "", "lgamma"], [5, 1, 1, "", "lgamma_"], [5, 1, 1, "", "log"], [5, 1, 1, "", "log10"], [5, 1, 1, "", "log10_"], [5, 1, 1, "", "log1p"], [5, 1, 1, "", "log1p_"], [5, 1, 1, "", "log2"], [5, 1, 1, "", "log2_"], [5, 1, 1, "", "log_"], [5, 1, 1, "", "log_normal_"], [5, 1, 1, "", "logaddexp"], [5, 1, 1, "", "logaddexp2"], [5, 1, 1, "", "logcumsumexp"], [5, 1, 1, "", "logdet"], [5, 1, 1, "", "logical_and"], [5, 1, 1, "", "logical_and_"], [5, 1, 1, "", "logical_not"], [5, 1, 1, "", "logical_not_"], [5, 1, 1, "", "logical_or"], [5, 1, 1, "", "logical_or_"], [5, 1, 1, "", "logical_xor"], [5, 1, 1, "", "logical_xor_"], [5, 1, 1, "", "logit"], [5, 1, 1, "", "logit_"], [5, 1, 1, "", "logsumexp"], [5, 1, 1, "", "long"], [5, 1, 1, "", "lt"], [5, 1, 1, "", "lt_"], [5, 1, 1, "", "lu"], [5, 1, 1, "", "lu_solve"], [5, 3, 1, "", "mH"], [5, 3, 1, "", "mT"], [5, 1, 1, "", "map_"], [5, 1, 1, "", "masked_fill"], [5, 1, 1, "", "masked_fill_"], [5, 1, 1, "", "masked_scatter"], [5, 1, 1, "", "masked_scatter_"], [5, 1, 1, "", "masked_select"], [5, 1, 1, "", "matmul"], [5, 1, 1, "", "matrix_exp"], [5, 1, 1, "", "matrix_power"], [5, 1, 1, "", "max"], [5, 1, 1, "", "maximum"], [5, 1, 1, "", "mean"], [5, 1, 1, "", "median"], [5, 1, 1, "", "min"], [5, 1, 1, "", "minimum"], [5, 1, 1, "", "mm"], [5, 1, 1, "", "mode"], [5, 1, 1, "", "moveaxis"], [5, 1, 1, "", "movedim"], [5, 1, 1, "", "msort"], [5, 1, 1, "", "mul"], [5, 1, 1, "", "mul_"], [5, 1, 1, "", "multinomial"], [5, 1, 1, "", "multiply"], [5, 1, 1, "", "multiply_"], [5, 1, 1, "", "mv"], [5, 1, 1, "", "mvlgamma"], [5, 1, 1, "", "mvlgamma_"], [5, 3, 1, "", "names"], [5, 1, 1, "", "nan_to_num"], [5, 1, 1, "", "nan_to_num_"], [5, 1, 1, "", "nanmean"], [5, 1, 1, "", "nanmedian"], [5, 1, 1, "", "nanquantile"], [5, 1, 1, "", "nansum"], [5, 1, 1, "", "narrow"], [5, 1, 1, "", "narrow_copy"], [5, 3, 1, "", "nbytes"], [5, 3, 1, "", "ndim"], [5, 1, 1, "", "ndimension"], [5, 1, 1, "", "ne"], [5, 1, 1, "", "ne_"], [5, 1, 1, "", "neg"], [5, 1, 1, "", "neg_"], [5, 1, 1, "", "negative"], [5, 1, 1, "", "negative_"], [5, 1, 1, "", "nelement"], [5, 1, 1, "", "new_empty"], [5, 1, 1, "", "new_empty_strided"], [5, 1, 1, "", "new_full"], [5, 1, 1, "", "new_ones"], [5, 1, 1, "", "new_tensor"], [5, 1, 1, "", "new_zeros"], [5, 1, 1, "", "nextafter"], [5, 1, 1, "", "nextafter_"], [5, 1, 1, "", "nonzero"], [5, 1, 1, "", "nonzero_static"], [5, 1, 1, "", "norm"], [5, 1, 1, "", "normal_"], [5, 1, 1, "", "not_equal"], [5, 1, 1, "", "not_equal_"], [5, 1, 1, "", "numel"], [5, 1, 1, "", "numpy"], [5, 1, 1, "", "ones"], [5, 1, 1, "", "ones_like"], [5, 1, 1, "", "orgqr"], [5, 1, 1, "", "ormqr"], [5, 1, 1, "", "outer"], [5, 1, 1, "", "permute"], [5, 1, 1, "", "pin_memory"], [5, 1, 1, "", "pinverse"], [5, 1, 1, "", "polygamma"], [5, 1, 1, "", "polygamma_"], [5, 1, 1, "", "positive"], [5, 1, 1, "", "pow"], [5, 1, 1, "", "pow_"], [5, 1, 1, "", "prod"], [5, 1, 1, "", "put"], [5, 1, 1, "", "put_"], [5, 1, 1, "", "q_per_channel_axis"], [5, 1, 1, "", "q_per_channel_scales"], [5, 1, 1, "", "q_per_channel_zero_points"], [5, 1, 1, "", "q_scale"], [5, 1, 1, "", "q_zero_point"], [5, 1, 1, "", "qr"], [5, 1, 1, "", "qscheme"], [5, 1, 1, "", "quantile"], [5, 1, 1, "", "rad2deg"], [5, 1, 1, "", "rad2deg_"], [5, 1, 1, "", "random_"], [5, 1, 1, "", "ravel"], [5, 3, 1, "", "real"], [5, 1, 1, "", "reciprocal"], [5, 1, 1, "", "reciprocal_"], [5, 1, 1, "", "record_stream"], [5, 1, 1, "", "refine_names"], [5, 1, 1, "", "register_hook"], [5, 1, 1, "", "register_post_accumulate_grad_hook"], [5, 1, 1, "", "remainder"], [5, 1, 1, "", "remainder_"], [5, 1, 1, "", "rename"], [5, 1, 1, "", "rename_"], [5, 1, 1, "", "renorm"], [5, 1, 1, "", "renorm_"], [5, 1, 1, "", "repeat"], [5, 1, 1, "", "repeat_interleave"], [5, 3, 1, "", "requires_grad"], [5, 1, 1, "", "requires_grad_"], [5, 1, 1, "", "reshape"], [5, 1, 1, "", "reshape_as"], [5, 1, 1, "", "resize_"], [5, 1, 1, "", "resize_as_"], [5, 1, 1, "", "resolve_conj"], [5, 1, 1, "", "resolve_neg"], [5, 1, 1, "", "retain_grad"], [5, 3, 1, "", "retains_grad"], [5, 1, 1, "", "roll"], [5, 1, 1, "", "rot90"], [5, 1, 1, "", "round"], [5, 1, 1, "", "round_"], [5, 1, 1, "", "rsqrt"], [5, 1, 1, "", "rsqrt_"], [5, 1, 1, "", "scatter"], [5, 1, 1, "", "scatter_"], [5, 1, 1, "", "scatter_add"], [5, 1, 1, "", "scatter_add_"], [5, 1, 1, "", "scatter_reduce"], [5, 1, 1, "", "scatter_reduce_"], [5, 1, 1, "", "select"], [5, 1, 1, "", "select_scatter"], [5, 1, 1, "", "set_"], [5, 1, 1, "", "sgn"], [5, 1, 1, "", "sgn_"], [5, 3, 1, "", "shape"], [5, 1, 1, "", "share_memory_"], [5, 1, 1, "", "short"], [5, 1, 1, "", "sigmoid"], [5, 1, 1, "", "sigmoid_"], [5, 1, 1, "", "sign"], [5, 1, 1, "", "sign_"], [5, 1, 1, "", "signbit"], [5, 1, 1, "", "sin"], [5, 1, 1, "", "sin_"], [5, 1, 1, "", "sinc"], [5, 1, 1, "", "sinc_"], [5, 1, 1, "", "sinh"], [5, 1, 1, "", "sinh_"], [5, 1, 1, "", "size"], [5, 1, 1, "", "slice_scatter"], [5, 1, 1, "", "slogdet"], [5, 1, 1, "", "smm"], [5, 1, 1, "", "softmax"], [5, 1, 1, "", "sort"], [5, 1, 1, "", "sparse_dim"], [5, 1, 1, "", "sparse_mask"], [5, 1, 1, "", "sparse_resize_"], [5, 1, 1, "", "sparse_resize_and_clear_"], [5, 1, 1, "", "sqrt"], [5, 1, 1, "", "sqrt_"], [5, 1, 1, "", "square"], [5, 1, 1, "", "square_"], [5, 1, 1, "", "squeeze"], [5, 1, 1, "", "squeeze_"], [5, 1, 1, "", "sspaddmm"], [5, 1, 1, "", "std"], [5, 1, 1, "", "stft"], [5, 1, 1, "", "storage"], [5, 1, 1, "", "storage_offset"], [5, 1, 1, "", "storage_type"], [5, 1, 1, "", "stride"], [5, 1, 1, "", "sub"], [5, 1, 1, "", "sub_"], [5, 1, 1, "", "subtract"], [5, 1, 1, "", "subtract_"], [5, 1, 1, "", "sum"], [5, 1, 1, "", "sum_to_size"], [5, 1, 1, "", "svd"], [5, 1, 1, "", "swapaxes"], [5, 1, 1, "", "swapaxes_"], [5, 1, 1, "", "swapdims"], [5, 1, 1, "", "swapdims_"], [5, 1, 1, "", "t"], [5, 1, 1, "", "t_"], [5, 1, 1, "", "take"], [5, 1, 1, "", "take_along_dim"], [5, 1, 1, "", "tan"], [5, 1, 1, "", "tan_"], [5, 1, 1, "", "tanh"], [5, 1, 1, "", "tanh_"], [5, 1, 1, "", "tensor_split"], [5, 1, 1, "", "tile"], [5, 1, 1, "", "to"], [5, 1, 1, "", "to_dense"], [5, 1, 1, "", "to_mkldnn"], [5, 1, 1, "", "to_padded_tensor"], [5, 1, 1, "", "to_sparse"], [5, 1, 1, "", "to_sparse_bsc"], [5, 1, 1, "", "to_sparse_bsr"], [5, 1, 1, "", "to_sparse_coo"], [5, 1, 1, "", "to_sparse_csc"], [5, 1, 1, "", "to_sparse_csr"], [5, 1, 1, "", "tolist"], [5, 1, 1, "", "topk"], [5, 1, 1, "", "trace"], [5, 1, 1, "", "transpose"], [5, 1, 1, "", "transpose_"], [5, 1, 1, "", "triangular_solve"], [5, 1, 1, "", "tril"], [5, 1, 1, "", "tril_"], [5, 1, 1, "", "triu"], [5, 1, 1, "", "triu_"], [5, 1, 1, "", "true_divide"], [5, 1, 1, "", "true_divide_"], [5, 1, 1, "", "trunc"], [5, 1, 1, "", "trunc_"], [5, 1, 1, "", "type"], [5, 1, 1, "", "type_as"], [5, 1, 1, "", "unbind"], [5, 1, 1, "", "unflatten"], [5, 1, 1, "", "unfold"], [5, 1, 1, "", "uniform_"], [5, 1, 1, "", "unique"], [5, 1, 1, "", "unique_consecutive"], [5, 1, 1, "", "unsafe_chunk"], [5, 1, 1, "", "unsafe_split"], [5, 1, 1, "", "unsqueeze"], [5, 1, 1, "", "unsqueeze_"], [5, 1, 1, "", "untyped_storage"], [5, 1, 1, "", "values"], [5, 1, 1, "", "var"], [5, 1, 1, "", "vdot"], [5, 1, 1, "", "view"], [5, 1, 1, "", "view_as"], [5, 1, 1, "", "vsplit"], [5, 1, 1, "", "where"], [5, 1, 1, "", "xlogy"], [5, 1, 1, "", "xlogy_"], [5, 1, 1, "", "xpu"], [5, 1, 1, "", "zero_"], [5, 1, 1, "", "zeros"], [5, 1, 1, "", "zeros_like"]], "tensordict.NonTensorData": [[6, 2, 1, "", "batch_size"], [6, 2, 1, "", "device"], [6, 1, 1, "", "from_dict"], [6, 1, 1, "", "from_tensordict"], [6, 1, 1, "", "get"], [6, 1, 1, "", "load_state_dict"], [6, 1, 1, "", "memmap"], [6, 1, 1, "", "memmap_"], [6, 1, 1, "", "memmap_like"], [6, 1, 1, "", "set"], [6, 1, 1, "", "state_dict"], [6, 1, 1, "", "to_tensordict"], [6, 1, 1, "", "unbind"]], "tensordict.PersistentTensorDict": [[7, 1, 1, "", "all"], [7, 1, 1, "", "any"], [7, 1, 1, "", "apply"], [7, 1, 1, "", "apply_"], [7, 1, 1, "", "auto_batch_size_"], [7, 2, 1, "", "batch_dims"], [7, 2, 1, "", "batch_size"], [7, 1, 1, "", "bfloat16"], [7, 1, 1, "", "bool"], [7, 1, 1, "", "chunk"], [7, 1, 1, "", "clear"], [7, 1, 1, "", "clear_device_"], [7, 1, 1, "", "clone"], [7, 1, 1, "", "close"], [7, 1, 1, "", "contiguous"], [7, 1, 1, "", "copy"], [7, 1, 1, "", "copy_"], [7, 1, 1, "", "copy_at_"], [7, 1, 1, "", "cpu"], [7, 1, 1, "", "create_nested"], [7, 1, 1, "", "cuda"], [7, 1, 1, "", "del_"], [7, 1, 1, "", "detach"], [7, 1, 1, "", "detach_"], [7, 2, 1, "", "device"], [7, 1, 1, "", "dim"], [7, 1, 1, "", "double"], [7, 1, 1, "", "empty"], [7, 1, 1, "", "entry_class"], [7, 1, 1, "", "exclude"], [7, 1, 1, "", "expand"], [7, 1, 1, "", "fill_"], [7, 1, 1, "", "filter_non_tensor_data"], [7, 1, 1, "", "flatten"], [7, 1, 1, "", "flatten_keys"], [7, 1, 1, "", "float"], [7, 1, 1, "", "from_dict"], [7, 1, 1, "", "from_h5"], [7, 1, 1, "", "from_module"], [7, 1, 1, "", "gather"], [7, 1, 1, "", "gather_and_stack"], [7, 1, 1, "", "get"], [7, 1, 1, "", "get_at"], [7, 1, 1, "", "get_item_shape"], [7, 1, 1, "", "get_non_tensor"], [7, 1, 1, "", "half"], [7, 1, 1, "", "int"], [7, 1, 1, "", "irecv"], [7, 1, 1, "", "is_contiguous"], [7, 1, 1, "", "is_empty"], [7, 1, 1, "", "is_memmap"], [7, 1, 1, "", "is_shared"], [7, 1, 1, "", "isend"], [7, 1, 1, "", "items"], [7, 1, 1, "", "keys"], [7, 1, 1, "", "load_state_dict"], [7, 1, 1, "", "map"], [7, 1, 1, "", "masked_fill"], [7, 1, 1, "", "masked_fill_"], [7, 1, 1, "", "masked_select"], [7, 1, 1, "", "memmap"], [7, 1, 1, "", "memmap_"], [7, 1, 1, "", "memmap_like"], [7, 1, 1, "", "named_apply"], [7, 2, 1, "", "ndim"], [7, 1, 1, "", "ndimension"], [7, 1, 1, "", "numel"], [7, 1, 1, "", "permute"], [7, 1, 1, "", "pin_memory"], [7, 1, 1, "", "pop"], [7, 1, 1, "", "popitem"], [7, 1, 1, "", "recv"], [7, 1, 1, "", "reduce"], [7, 1, 1, "", "refine_names"], [7, 1, 1, "", "rename"], [7, 1, 1, "", "rename_"], [7, 1, 1, "", "rename_key_"], [7, 1, 1, "", "reshape"], [7, 1, 1, "", "select"], [7, 1, 1, "", "send"], [7, 1, 1, "", "set"], [7, 1, 1, "", "set_"], [7, 1, 1, "", "set_at_"], [7, 1, 1, "", "set_non_tensor"], [7, 1, 1, "", "setdefault"], [7, 2, 1, "", "shape"], [7, 1, 1, "", "share_memory_"], [7, 1, 1, "", "size"], [7, 2, 1, "", "sorted_keys"], [7, 1, 1, "", "split"], [7, 1, 1, "", "squeeze"], [7, 1, 1, "", "state_dict"], [7, 1, 1, "", "to"], [7, 1, 1, "", "to_dict"], [7, 1, 1, "", "to_h5"], [7, 1, 1, "", "to_module"], [7, 1, 1, "", "to_tensordict"], [7, 1, 1, "", "transpose"], [7, 1, 1, "", "type"], [7, 1, 1, "", "unbind"], [7, 1, 1, "", "unflatten"], [7, 1, 1, "", "unflatten_keys"], [7, 1, 1, "", "unsqueeze"], [7, 1, 1, "", "update"], [7, 1, 1, "", "update_"], [7, 1, 1, "", "update_at_"], [7, 1, 1, "", "values"], [7, 1, 1, "", "view"], [7, 1, 1, "", "where"], [7, 1, 1, "", "zero_"]], "tensordict.SubTensorDict": [[8, 1, 1, "", "all"], [8, 1, 1, "", "any"], [8, 1, 1, "", "apply"], [8, 1, 1, "", "apply_"], [8, 1, 1, "", "auto_batch_size_"], [8, 2, 1, "", "batch_dims"], [8, 2, 1, "", "batch_size"], [8, 1, 1, "", "bfloat16"], [8, 1, 1, "", "bool"], [8, 1, 1, "", "chunk"], [8, 1, 1, "", "clear"], [8, 1, 1, "", "clear_device_"], [8, 1, 1, "", "clone"], [8, 1, 1, "", "contiguous"], [8, 1, 1, "", "copy"], [8, 1, 1, "", "copy_"], [8, 1, 1, "", "copy_at_"], [8, 1, 1, "", "cpu"], [8, 1, 1, "", "create_nested"], [8, 1, 1, "", "cuda"], [8, 1, 1, "", "del_"], [8, 1, 1, "", "detach"], [8, 1, 1, "", "detach_"], [8, 2, 1, "", "device"], [8, 1, 1, "", "dim"], [8, 1, 1, "", "double"], [8, 1, 1, "", "empty"], [8, 1, 1, "", "entry_class"], [8, 1, 1, "", "exclude"], [8, 1, 1, "", "expand"], [8, 1, 1, "", "fill_"], [8, 1, 1, "", "filter_non_tensor_data"], [8, 1, 1, "", "flatten"], [8, 1, 1, "", "flatten_keys"], [8, 1, 1, "", "float"], [8, 1, 1, "", "from_module"], [8, 1, 1, "", "gather"], [8, 1, 1, "", "gather_and_stack"], [8, 1, 1, "", "get"], [8, 1, 1, "", "get_at"], [8, 1, 1, "", "get_item_shape"], [8, 1, 1, "", "get_non_tensor"], [8, 1, 1, "", "half"], [8, 1, 1, "", "int"], [8, 1, 1, "", "irecv"], [8, 1, 1, "", "is_contiguous"], [8, 1, 1, "", "is_empty"], [8, 1, 1, "", "is_memmap"], [8, 1, 1, "", "is_shared"], [8, 1, 1, "", "isend"], [8, 1, 1, "", "items"], [8, 1, 1, "", "keys"], [8, 1, 1, "", "load_state_dict"], [8, 1, 1, "", "map"], [8, 1, 1, "", "masked_fill"], [8, 1, 1, "", "masked_fill_"], [8, 1, 1, "", "masked_select"], [8, 1, 1, "", "memmap"], [8, 1, 1, "", "memmap_"], [8, 1, 1, "", "memmap_like"], [8, 1, 1, "", "named_apply"], [8, 2, 1, "", "ndim"], [8, 1, 1, "", "ndimension"], [8, 1, 1, "", "numel"], [8, 1, 1, "", "permute"], [8, 1, 1, "", "pin_memory"], [8, 1, 1, "", "pop"], [8, 1, 1, "", "popitem"], [8, 1, 1, "", "recv"], [8, 1, 1, "", "reduce"], [8, 1, 1, "", "refine_names"], [8, 1, 1, "", "rename"], [8, 1, 1, "", "rename_"], [8, 1, 1, "", "rename_key_"], [8, 1, 1, "", "reshape"], [8, 1, 1, "", "select"], [8, 1, 1, "", "send"], [8, 1, 1, "", "set"], [8, 1, 1, "", "set_"], [8, 1, 1, "", "set_at_"], [8, 1, 1, "", "set_non_tensor"], [8, 1, 1, "", "setdefault"], [8, 2, 1, "", "shape"], [8, 1, 1, "", "share_memory_"], [8, 1, 1, "", "size"], [8, 2, 1, "", "sorted_keys"], [8, 1, 1, "", "split"], [8, 1, 1, "", "squeeze"], [8, 1, 1, "", "state_dict"], [8, 1, 1, "", "to"], [8, 1, 1, "", "to_dict"], [8, 1, 1, "", "to_h5"], [8, 1, 1, "", "to_module"], [8, 1, 1, "", "to_tensordict"], [8, 1, 1, "", "transpose"], [8, 1, 1, "", "type"], [8, 1, 1, "", "unbind"], [8, 1, 1, "", "unflatten"], [8, 1, 1, "", "unflatten_keys"], [8, 1, 1, "", "unsqueeze"], [8, 1, 1, "", "update"], [8, 1, 1, "", "update_"], [8, 1, 1, "", "update_at_"], [8, 1, 1, "", "values"], [8, 1, 1, "", "view"], [8, 1, 1, "", "where"], [8, 1, 1, "", "zero_"]], "tensordict.TensorDict": [[9, 1, 1, "", "all"], [9, 1, 1, "", "any"], [9, 1, 1, "", "apply"], [9, 1, 1, "", "apply_"], [9, 1, 1, "", "auto_batch_size_"], [9, 2, 1, "", "batch_dims"], [9, 2, 1, "", "batch_size"], [9, 1, 1, "", "bfloat16"], [9, 1, 1, "", "bool"], [9, 1, 1, "", "chunk"], [9, 1, 1, "", "clear"], [9, 1, 1, "", "clear_device_"], [9, 1, 1, "", "clone"], [9, 1, 1, "", "contiguous"], [9, 1, 1, "", "copy"], [9, 1, 1, "", "copy_"], [9, 1, 1, "", "copy_at_"], [9, 1, 1, "", "cpu"], [9, 1, 1, "", "create_nested"], [9, 1, 1, "", "cuda"], [9, 1, 1, "", "del_"], [9, 1, 1, "", "detach"], [9, 1, 1, "", "detach_"], [9, 2, 1, "", "device"], [9, 1, 1, "", "dim"], [9, 1, 1, "", "double"], [9, 1, 1, "", "empty"], [9, 1, 1, "", "entry_class"], [9, 1, 1, "", "exclude"], [9, 1, 1, "", "expand"], [9, 1, 1, "", "fill_"], [9, 1, 1, "", "filter_non_tensor_data"], [9, 1, 1, "", "flatten"], [9, 1, 1, "", "flatten_keys"], [9, 1, 1, "", "float"], [9, 1, 1, "", "from_dict"], [9, 1, 1, "", "from_module"], [9, 1, 1, "", "gather"], [9, 1, 1, "", "gather_and_stack"], [9, 1, 1, "", "get"], [9, 1, 1, "", "get_at"], [9, 1, 1, "", "get_item_shape"], [9, 1, 1, "", "get_non_tensor"], [9, 1, 1, "", "half"], [9, 1, 1, "", "int"], [9, 1, 1, "", "irecv"], [9, 1, 1, "", "is_contiguous"], [9, 1, 1, "", "is_empty"], [9, 1, 1, "", "is_memmap"], [9, 1, 1, "", "is_shared"], [9, 1, 1, "", "isend"], [9, 1, 1, "", "items"], [9, 1, 1, "", "keys"], [9, 1, 1, "", "load_state_dict"], [9, 1, 1, "", "map"], [9, 1, 1, "", "masked_fill"], [9, 1, 1, "", "masked_fill_"], [9, 1, 1, "", "masked_select"], [9, 1, 1, "", "memmap"], [9, 1, 1, "", "memmap_"], [9, 1, 1, "", "memmap_like"], [9, 1, 1, "", "named_apply"], [9, 2, 1, "", "ndim"], [9, 1, 1, "", "ndimension"], [9, 1, 1, "", "numel"], [9, 1, 1, "", "permute"], [9, 1, 1, "", "pin_memory"], [9, 1, 1, "", "pop"], [9, 1, 1, "", "popitem"], [9, 1, 1, "", "recv"], [9, 1, 1, "", "reduce"], [9, 1, 1, "", "refine_names"], [9, 1, 1, "", "rename"], [9, 1, 1, "", "rename_"], [9, 1, 1, "", "rename_key_"], [9, 1, 1, "", "reshape"], [9, 1, 1, "", "select"], [9, 1, 1, "", "send"], [9, 1, 1, "", "set"], [9, 1, 1, "", "set_"], [9, 1, 1, "", "set_at_"], [9, 1, 1, "", "set_non_tensor"], [9, 1, 1, "", "setdefault"], [9, 2, 1, "", "shape"], [9, 1, 1, "", "share_memory_"], [9, 1, 1, "", "size"], [9, 2, 1, "", "sorted_keys"], [9, 1, 1, "", "split"], [9, 1, 1, "", "squeeze"], [9, 1, 1, "", "state_dict"], [9, 1, 1, "", "to"], [9, 1, 1, "", "to_dict"], [9, 1, 1, "", "to_h5"], [9, 1, 1, "", "to_module"], [9, 1, 1, "", "to_tensordict"], [9, 1, 1, "", "transpose"], [9, 1, 1, "", "type"], [9, 1, 1, "", "unbind"], [9, 1, 1, "", "unflatten"], [9, 1, 1, "", "unflatten_keys"], [9, 1, 1, "", "unsqueeze"], [9, 1, 1, "", "update"], [9, 1, 1, "", "update_"], [9, 1, 1, "", "update_at_"], [9, 1, 1, "", "values"], [9, 1, 1, "", "view"], [9, 1, 1, "", "where"], [9, 1, 1, "", "zero_"]], "tensordict.TensorDictBase": [[10, 1, 1, "", "all"], [10, 1, 1, "", "any"], [10, 1, 1, "", "apply"], [10, 1, 1, "", "apply_"], [10, 1, 1, "", "auto_batch_size_"], [10, 2, 1, "", "batch_dims"], [10, 2, 1, "", "batch_size"], [10, 1, 1, "", "bfloat16"], [10, 1, 1, "", "bool"], [10, 1, 1, "", "chunk"], [10, 1, 1, "", "clear"], [10, 1, 1, "", "clear_device_"], [10, 1, 1, "", "clone"], [10, 1, 1, "", "contiguous"], [10, 1, 1, "", "copy"], [10, 1, 1, "", "copy_"], [10, 1, 1, "", "copy_at_"], [10, 1, 1, "", "cpu"], [10, 1, 1, "", "create_nested"], [10, 1, 1, "", "cuda"], [10, 1, 1, "", "del_"], [10, 1, 1, "", "detach"], [10, 1, 1, "", "detach_"], [10, 2, 1, "", "device"], [10, 1, 1, "", "dim"], [10, 1, 1, "", "double"], [10, 1, 1, "", "empty"], [10, 1, 1, "", "entry_class"], [10, 1, 1, "", "exclude"], [10, 1, 1, "", "expand"], [10, 1, 1, "", "fill_"], [10, 1, 1, "", "filter_non_tensor_data"], [10, 1, 1, "", "flatten"], [10, 1, 1, "", "flatten_keys"], [10, 1, 1, "", "float"], [10, 1, 1, "", "from_module"], [10, 1, 1, "", "gather"], [10, 1, 1, "", "gather_and_stack"], [10, 1, 1, "", "get"], [10, 1, 1, "", "get_at"], [10, 1, 1, "", "get_item_shape"], [10, 1, 1, "", "get_non_tensor"], [10, 1, 1, "", "half"], [10, 1, 1, "", "int"], [10, 1, 1, "", "irecv"], [10, 1, 1, "", "is_contiguous"], [10, 1, 1, "", "is_empty"], [10, 1, 1, "", "is_memmap"], [10, 1, 1, "", "is_shared"], [10, 1, 1, "", "isend"], [10, 1, 1, "", "items"], [10, 1, 1, "", "keys"], [10, 1, 1, "", "load_state_dict"], [10, 1, 1, "", "map"], [10, 1, 1, "", "masked_fill"], [10, 1, 1, "", "masked_fill_"], [10, 1, 1, "", "masked_select"], [10, 1, 1, "", "memmap"], [10, 1, 1, "", "memmap_"], [10, 1, 1, "", "memmap_like"], [10, 1, 1, "", "named_apply"], [10, 2, 1, "", "ndim"], [10, 1, 1, "", "ndimension"], [10, 1, 1, "", "numel"], [10, 1, 1, "", "permute"], [10, 1, 1, "", "pin_memory"], [10, 1, 1, "", "pop"], [10, 1, 1, "", "popitem"], [10, 1, 1, "", "recv"], [10, 1, 1, "", "reduce"], [10, 1, 1, "", "refine_names"], [10, 1, 1, "", "rename"], [10, 1, 1, "", "rename_"], [10, 1, 1, "", "rename_key_"], [10, 1, 1, "", "reshape"], [10, 1, 1, "", "select"], [10, 1, 1, "", "send"], [10, 1, 1, "", "set"], [10, 1, 1, "", "set_"], [10, 1, 1, "", "set_at_"], [10, 1, 1, "", "set_non_tensor"], [10, 1, 1, "", "setdefault"], [10, 2, 1, "", "shape"], [10, 1, 1, "", "share_memory_"], [10, 1, 1, "", "size"], [10, 2, 1, "", "sorted_keys"], [10, 1, 1, "", "split"], [10, 1, 1, "", "squeeze"], [10, 1, 1, "", "state_dict"], [10, 1, 1, "", "to"], [10, 1, 1, "", "to_dict"], [10, 1, 1, "", "to_h5"], [10, 1, 1, "", "to_module"], [10, 1, 1, "", "to_tensordict"], [10, 1, 1, "", "transpose"], [10, 1, 1, "", "type"], [10, 1, 1, "", "unbind"], [10, 1, 1, "", "unflatten"], [10, 1, 1, "", "unflatten_keys"], [10, 1, 1, "", "unsqueeze"], [10, 1, 1, "", "update"], [10, 1, 1, "", "update_"], [10, 1, 1, "", "update_at_"], [10, 1, 1, "", "values"], [10, 1, 1, "", "view"], [10, 1, 1, "", "where"], [10, 1, 1, "", "zero_"]], "tensordict.TensorDictParams": [[11, 1, 1, "", "add_module"], [11, 1, 1, "", "all"], [11, 1, 1, "", "any"], [11, 1, 1, "", "apply"], [11, 1, 1, "", "apply_"], [11, 1, 1, "", "auto_batch_size_"], [11, 2, 1, "", "batch_dims"], [11, 2, 1, "", "batch_size"], [11, 1, 1, "", "bfloat16"], [11, 1, 1, "", "bool"], [11, 1, 1, "", "buffers"], [11, 1, 1, "", "children"], [11, 1, 1, "", "chunk"], [11, 1, 1, "", "clear"], [11, 1, 1, "", "clear_device_"], [11, 1, 1, "", "clone"], [11, 1, 1, "", "compile"], [11, 1, 1, "", "contiguous"], [11, 1, 1, "", "copy"], [11, 1, 1, "", "copy_"], [11, 1, 1, "", "copy_at_"], [11, 1, 1, "", "cpu"], [11, 1, 1, "", "create_nested"], [11, 1, 1, "", "cuda"], [11, 1, 1, "", "del_"], [11, 1, 1, "", "detach"], [11, 1, 1, "", "detach_"], [11, 2, 1, "", "device"], [11, 1, 1, "", "dim"], [11, 1, 1, "", "double"], [11, 1, 1, "", "empty"], [11, 1, 1, "", "entry_class"], [11, 1, 1, "", "eval"], [11, 1, 1, "", "exclude"], [11, 1, 1, "", "expand"], [11, 1, 1, "", "extra_repr"], [11, 1, 1, "", "fill_"], [11, 1, 1, "", "filter_non_tensor_data"], [11, 1, 1, "", "flatten"], [11, 1, 1, "", "flatten_keys"], [11, 1, 1, "", "float"], [11, 1, 1, "", "forward"], [11, 1, 1, "", "from_module"], [11, 1, 1, "", "gather"], [11, 1, 1, "", "gather_and_stack"], [11, 1, 1, "", "get"], [11, 1, 1, "", "get_at"], [11, 1, 1, "", "get_buffer"], [11, 1, 1, "", "get_extra_state"], [11, 1, 1, "", "get_item_shape"], [11, 1, 1, "", "get_non_tensor"], [11, 1, 1, "", "get_parameter"], [11, 1, 1, "", "get_submodule"], [11, 1, 1, "", "half"], [11, 1, 1, "", "int"], [11, 1, 1, "", "ipu"], [11, 1, 1, "", "irecv"], [11, 1, 1, "", "is_contiguous"], [11, 1, 1, "", "is_empty"], [11, 2, 1, "", "is_memmap"], [11, 2, 1, "", "is_shared"], [11, 1, 1, "", "isend"], [11, 1, 1, "", "items"], [11, 1, 1, "", "keys"], [11, 1, 1, "", "load_state_dict"], [11, 1, 1, "", "map"], [11, 1, 1, "", "masked_fill"], [11, 1, 1, "", "masked_fill_"], [11, 1, 1, "", "masked_select"], [11, 1, 1, "", "memmap"], [11, 1, 1, "", "memmap_"], [11, 1, 1, "", "memmap_like"], [11, 1, 1, "", "modules"], [11, 1, 1, "", "named_apply"], [11, 1, 1, "", "named_buffers"], [11, 1, 1, "", "named_children"], [11, 1, 1, "", "named_modules"], [11, 1, 1, "", "named_parameters"], [11, 2, 1, "", "ndim"], [11, 1, 1, "", "ndimension"], [11, 1, 1, "", "numel"], [11, 1, 1, "", "parameters"], [11, 1, 1, "", "permute"], [11, 1, 1, "", "pin_memory"], [11, 1, 1, "", "pop"], [11, 1, 1, "", "popitem"], [11, 1, 1, "", "recv"], [11, 1, 1, "", "reduce"], [11, 1, 1, "", "refine_names"], [11, 1, 1, "", "register_backward_hook"], [11, 1, 1, "", "register_buffer"], [11, 1, 1, "", "register_forward_hook"], [11, 1, 1, "", "register_forward_pre_hook"], [11, 1, 1, "", "register_full_backward_hook"], [11, 1, 1, "", "register_full_backward_pre_hook"], [11, 1, 1, "", "register_get_post_hook"], [11, 1, 1, "", "register_load_state_dict_post_hook"], [11, 1, 1, "", "register_module"], [11, 1, 1, "", "register_parameter"], [11, 1, 1, "", "register_state_dict_pre_hook"], [11, 1, 1, "", "rename"], [11, 1, 1, "", "rename_"], [11, 1, 1, "", "rename_key_"], [11, 1, 1, "", "requires_grad_"], [11, 1, 1, "", "reshape"], [11, 1, 1, "", "select"], [11, 1, 1, "", "send"], [11, 1, 1, "", "set"], [11, 1, 1, "", "set_"], [11, 1, 1, "", "set_at_"], [11, 1, 1, "", "set_extra_state"], [11, 1, 1, "", "set_non_tensor"], [11, 1, 1, "", "setdefault"], [11, 2, 1, "", "shape"], [11, 1, 1, "", "share_memory"], [11, 1, 1, "", "share_memory_"], [11, 1, 1, "", "size"], [11, 2, 1, "", "sorted_keys"], [11, 1, 1, "", "split"], [11, 1, 1, "", "squeeze"], [11, 1, 1, "", "state_dict"], [11, 1, 1, "", "to"], [11, 1, 1, "", "to_dict"], [11, 1, 1, "", "to_empty"], [11, 1, 1, "", "to_h5"], [11, 1, 1, "", "to_module"], [11, 1, 1, "", "to_tensordict"], [11, 1, 1, "", "train"], [11, 1, 1, "", "transpose"], [11, 1, 1, "", "type"], [11, 1, 1, "", "unbind"], [11, 1, 1, "", "unflatten"], [11, 1, 1, "", "unflatten_keys"], [11, 1, 1, "", "unsqueeze"], [11, 1, 1, "", "update"], [11, 1, 1, "", "update_"], [11, 1, 1, "", "update_at_"], [11, 1, 1, "", "values"], [11, 1, 1, "", "view"], [11, 1, 1, "", "where"], [11, 1, 1, "", "xpu"], [11, 1, 1, "", "zero_"], [11, 1, 1, "", "zero_grad"]], "tensordict.nn": [[19, 0, 1, "", "EnsembleModule"], [20, 0, 1, "", "ProbabilisticTensorDictModule"], [21, 0, 1, "", "TensorDictModule"], [22, 0, 1, "", "TensorDictModuleBase"], [23, 0, 1, "", "TensorDictModuleWrapper"], [24, 0, 1, "", "TensorDictParams"], [25, 0, 1, "", "TensorDictSequential"], [26, 0, 1, "", "biased_softplus"], [27, 0, 1, "", "dispatch"], [33, 4, 1, "", "get_functional"], [34, 4, 1, "", "inv_softplus"], [35, 4, 1, "", "is_functional"], [36, 4, 1, "", "make_functional"], [37, 4, 1, "", "make_tensordict"], [38, 4, 1, "", "repopulate_module"], [39, 0, 1, "", "set_interaction_type"], [40, 0, 1, "", "set_skip_existing"], [41, 4, 1, "", "skip_existing"]], "tensordict.nn.ProbabilisticTensorDictModule": [[20, 1, 1, "", "forward"], [20, 1, 1, "", "get_dist"], [20, 1, 1, "", "log_prob"]], "tensordict.nn.TensorDictModule": [[21, 1, 1, "", "forward"]], "tensordict.nn.TensorDictModuleBase": [[22, 1, 1, "", "reset_out_keys"], [22, 1, 1, "", "reset_parameters_recursive"], [22, 1, 1, "", "select_out_keys"]], "tensordict.nn.TensorDictModuleWrapper": [[23, 1, 1, "", "forward"]], "tensordict.nn.TensorDictSequential": [[25, 1, 1, "", "forward"], [25, 1, 1, "", "select_subsequence"]], "tensordict.nn.distributions": [[28, 0, 1, "", "AddStateIndependentNormalScale"], [29, 0, 1, "", "CompositeDistribution"], [30, 0, 1, "", "Delta"], [31, 0, 1, "", "OneHotCategorical"], [32, 0, 1, "", "TruncatedNormal"]], "tensordict.prototype": [[44, 4, 1, "", "symbolic_trace"]], "tensordict.utils": [[47, 0, 1, "", "expand_as_right"], [48, 0, 1, "", "expand_right"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:property", "3": "py:attribute", "4": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "property", "Python property"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "function", "Python function"]}, "titleterms": {"tensordict": [0, 2, 3, 9, 19, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 44, 51, 53, 54, 56, 61, 62, 65, 66], "distribut": [0, 28, 29, 30, 31, 32, 51], "set": [0, 61, 67], "creat": 0, "memori": [0, 53, 54, 62, 65], "map": [0, 53, 54, 62], "oper": 0, "tensor": [0, 53, 62], "across": 0, "node": 0, "trace": [1, 51], "tensordictmodul": [1, 3, 21, 63, 64], "tensordictsequenti": [1, 25, 63], "welcom": 2, "document": 2, "tutori": 2, "basic": 2, "nn": [2, 19, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 51], "dataload": [2, 56, 59], "content": [2, 61], "indic": 2, "tabl": 2, "overview": 3, "motiv": 3, "featur": 3, "name": 3, "dimens": [3, 66], "nest": [3, 61], "lazi": 3, "evalu": 3, "pre": [3, 65], "alloc": [3, 65], "function": [3, 51, 64], "program": 3, "lazystackedtensordict": 4, "memorymappedtensor": [5, 54], "nontensordata": 6, "persistenttensordict": 7, "subtensordict": [8, 67], "tensordictbas": 10, "tensordictparam": [11, 24], "dense_stack_td": 12, "is_batchedtensor": 13, "is_memmap": 14, "is_tensor_collect": 15, "lazy_legaci": 16, "make_tensordict": [17, 37], "merge_tensordict": 18, "ensemblemodul": 19, "probabilistictensordictmodul": [20, 63], "tensordictmodulebas": 22, "tensordictmodulewrapp": 23, "biased_softplu": 26, "dispatch": 27, "addstateindependentnormalscal": 28, "compositedistribut": 29, "delta": 30, "onehotcategor": 31, "truncatednorm": 32, "get_funct": 33, "inv_softplu": 34, "is_funct": 35, "make_funct": 36, "repopulate_modul": 38, "set_interaction_typ": 39, "set_skip_exist": 40, "skip_exist": 41, "pad": 42, "pad_sequ": 43, "prototyp": 44, "symbolic_trac": 44, "set_lazy_legaci": 45, "tensorclass": [46, 52, 54, 59, 60], "expand_as_right": 47, "expand_right": 48, "readm": [49, 57], "tuto": [49, 57], "api": 50, "refer": 50, "packag": [51, 53], "ensembl": 51, "compil": 51, "util": [51, 53], "serial": 52, "edg": 52, "case": [52, 54], "context": 53, "manag": [53, 62], "save": 54, "object": 54, "memmori": 54, "handl": 54, "exist": [54, 61], "torchsnapshot": 54, "compat": 54, "gener": 54, "us": [54, 56, 59, 63], "load": [54, 60], "big": 54, "dataset": [54, 56, 59], "comput": [55, 58], "time": [55, 58], "model": [56, 59], "optim": [56, 59], "paramet": [56, 59], "batch": [60, 66], "data": 60, "manipul": [61, 66], "kei": 61, "get": 61, "renam": 61, "updat": 61, "multipl": [61, 63], "valu": [61, 66, 67], "iter": 61, "over": 61, "s": [61, 63], "check": 61, "flatten": 61, "unflatten": 61, "select": 61, "exclud": 61, "simplifi": 62, "pytorch": 62, "devic": 62, "exampl": 63, "1": 63, "simpl": 63, "usag": 63, "2": 63, "input": 63, "3": 63, "output": 63, "4": 63, "combin": 63, "do": 63, "don": 63, "t": 63, "showcas": 63, "implement": 63, "transform": 63, "benchmark": 63, "shape": 66, "index": [66, 67], "reshap": 66, "split": 66, "unbind": 66, "stack": 66, "concaten": 66, "expand": 66, "squeez": 66, "unsqueez": 66, "view": 66, "permut": 66, "gather": 66, "slice": 67, "mask": 67}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx": 56}})
\ No newline at end of file
+Search.setIndex({"docnames": ["distributed", "fx", "index", "overview", "reference/generated/tensordict.LazyStackedTensorDict", "reference/generated/tensordict.MemoryMappedTensor", "reference/generated/tensordict.NonTensorData", "reference/generated/tensordict.PersistentTensorDict", "reference/generated/tensordict.SubTensorDict", "reference/generated/tensordict.TensorDict", "reference/generated/tensordict.TensorDictBase", "reference/generated/tensordict.TensorDictParams", "reference/generated/tensordict.dense_stack_tds", "reference/generated/tensordict.is_batchedtensor", "reference/generated/tensordict.is_memmap", "reference/generated/tensordict.is_tensor_collection", "reference/generated/tensordict.lazy_legacy", "reference/generated/tensordict.make_tensordict", "reference/generated/tensordict.merge_tensordicts", "reference/generated/tensordict.nn.EnsembleModule", "reference/generated/tensordict.nn.ProbabilisticTensorDictModule", "reference/generated/tensordict.nn.TensorDictModule", "reference/generated/tensordict.nn.TensorDictModuleBase", "reference/generated/tensordict.nn.TensorDictModuleWrapper", "reference/generated/tensordict.nn.TensorDictParams", "reference/generated/tensordict.nn.TensorDictSequential", "reference/generated/tensordict.nn.biased_softplus", "reference/generated/tensordict.nn.dispatch", "reference/generated/tensordict.nn.distributions.AddStateIndependentNormalScale", "reference/generated/tensordict.nn.distributions.CompositeDistribution", "reference/generated/tensordict.nn.distributions.Delta", "reference/generated/tensordict.nn.distributions.OneHotCategorical", "reference/generated/tensordict.nn.distributions.TruncatedNormal", "reference/generated/tensordict.nn.get_functional", "reference/generated/tensordict.nn.inv_softplus", "reference/generated/tensordict.nn.is_functional", "reference/generated/tensordict.nn.make_functional", "reference/generated/tensordict.nn.make_tensordict", "reference/generated/tensordict.nn.repopulate_module", "reference/generated/tensordict.nn.set_interaction_type", "reference/generated/tensordict.nn.set_skip_existing", "reference/generated/tensordict.nn.skip_existing", "reference/generated/tensordict.pad", "reference/generated/tensordict.pad_sequence", "reference/generated/tensordict.prototype.symbolic_trace", "reference/generated/tensordict.set_lazy_legacy", "reference/generated/tensordict.tensorclass", "reference/generated/tensordict.utils.expand_as_right", "reference/generated/tensordict.utils.expand_right", "reference/generated/tutorials/README", "reference/index", "reference/nn", "reference/tensorclass", "reference/tensordict", "saving", "sg_execution_times", "tutorials/data_fashion", "tutorials/index", "tutorials/sg_execution_times", "tutorials/tensorclass_fashion", "tutorials/tensorclass_imagenet", "tutorials/tensordict_keys", "tutorials/tensordict_memory", "tutorials/tensordict_module", "tutorials/tensordict_module_functional", "tutorials/tensordict_preallocation", "tutorials/tensordict_shapes", "tutorials/tensordict_slicing"], "filenames": ["distributed.rst", "fx.rst", "index.rst", "overview.rst", "reference/generated/tensordict.LazyStackedTensorDict.rst", "reference/generated/tensordict.MemoryMappedTensor.rst", "reference/generated/tensordict.NonTensorData.rst", "reference/generated/tensordict.PersistentTensorDict.rst", "reference/generated/tensordict.SubTensorDict.rst", "reference/generated/tensordict.TensorDict.rst", "reference/generated/tensordict.TensorDictBase.rst", "reference/generated/tensordict.TensorDictParams.rst", "reference/generated/tensordict.dense_stack_tds.rst", "reference/generated/tensordict.is_batchedtensor.rst", "reference/generated/tensordict.is_memmap.rst", "reference/generated/tensordict.is_tensor_collection.rst", "reference/generated/tensordict.lazy_legacy.rst", "reference/generated/tensordict.make_tensordict.rst", "reference/generated/tensordict.merge_tensordicts.rst", "reference/generated/tensordict.nn.EnsembleModule.rst", "reference/generated/tensordict.nn.ProbabilisticTensorDictModule.rst", "reference/generated/tensordict.nn.TensorDictModule.rst", "reference/generated/tensordict.nn.TensorDictModuleBase.rst", "reference/generated/tensordict.nn.TensorDictModuleWrapper.rst", "reference/generated/tensordict.nn.TensorDictParams.rst", "reference/generated/tensordict.nn.TensorDictSequential.rst", "reference/generated/tensordict.nn.biased_softplus.rst", "reference/generated/tensordict.nn.dispatch.rst", "reference/generated/tensordict.nn.distributions.AddStateIndependentNormalScale.rst", "reference/generated/tensordict.nn.distributions.CompositeDistribution.rst", "reference/generated/tensordict.nn.distributions.Delta.rst", "reference/generated/tensordict.nn.distributions.OneHotCategorical.rst", "reference/generated/tensordict.nn.distributions.TruncatedNormal.rst", "reference/generated/tensordict.nn.get_functional.rst", "reference/generated/tensordict.nn.inv_softplus.rst", "reference/generated/tensordict.nn.is_functional.rst", "reference/generated/tensordict.nn.make_functional.rst", "reference/generated/tensordict.nn.make_tensordict.rst", "reference/generated/tensordict.nn.repopulate_module.rst", "reference/generated/tensordict.nn.set_interaction_type.rst", "reference/generated/tensordict.nn.set_skip_existing.rst", "reference/generated/tensordict.nn.skip_existing.rst", "reference/generated/tensordict.pad.rst", "reference/generated/tensordict.pad_sequence.rst", "reference/generated/tensordict.prototype.symbolic_trace.rst", "reference/generated/tensordict.set_lazy_legacy.rst", "reference/generated/tensordict.tensorclass.rst", "reference/generated/tensordict.utils.expand_as_right.rst", "reference/generated/tensordict.utils.expand_right.rst", "reference/generated/tutorials/README.rst", "reference/index.rst", "reference/nn.rst", "reference/tensorclass.rst", "reference/tensordict.rst", "saving.rst", "sg_execution_times.rst", "tutorials/data_fashion.rst", "tutorials/index.rst", "tutorials/sg_execution_times.rst", "tutorials/tensorclass_fashion.rst", "tutorials/tensorclass_imagenet.rst", "tutorials/tensordict_keys.rst", "tutorials/tensordict_memory.rst", "tutorials/tensordict_module.rst", "tutorials/tensordict_module_functional.rst", "tutorials/tensordict_preallocation.rst", "tutorials/tensordict_shapes.rst", "tutorials/tensordict_slicing.rst"], "titles": ["TensorDict in distributed settings", "Tracing TensorDictModule", "Welcome to the TensorDict Documentation!", "Overview", "LazyStackedTensorDict", "MemoryMappedTensor", "NonTensorData", "PersistentTensorDict", "SubTensorDict", "TensorDict", "TensorDictBase", "TensorDictParams", "dense_stack_tds", "is_batchedtensor", "is_memmap", "is_tensor_collection", "lazy_legacy", "make_tensordict", "merge_tensordicts", "tensordict.nn.EnsembleModule", "ProbabilisticTensorDictModule", "TensorDictModule", "TensorDictModuleBase", "TensorDictModuleWrapper", "tensordict.nn.TensorDictParams", "TensorDictSequential", "tensordict.nn.biased_softplus", "tensordict.nn.dispatch", "tensordict.nn.distributions.AddStateIndependentNormalScale", "tensordict.nn.distributions.CompositeDistribution", "tensordict.nn.distributions.Delta", "tensordict.nn.distributions.OneHotCategorical", "tensordict.nn.distributions.TruncatedNormal", "tensordict.nn.get_functional", "tensordict.nn.inv_softplus", "tensordict.nn.is_functional", "tensordict.nn.make_functional", "tensordict.nn.make_tensordict", "tensordict.nn.repopulate_module", "tensordict.nn.set_interaction_type", "tensordict.nn.set_skip_existing", "tensordict.nn.skip_existing", "pad", "pad_sequence", "tensordict.prototype.symbolic_trace", "set_lazy_legacy", "tensorclass", "expand_as_right", "expand_right", "README Tutos", "API Reference", "tensordict.nn package", "tensorclass", "tensordict package", "Saving TensorDict and tensorclass objects", "Computation times", "Using TensorDict for datasets", "README Tutos", "Computation times", "Using tensorclasses for datasets", "Batched data loading with tensorclasses", "Manipulating the keys of a TensorDict", "Simplifying PyTorch Memory Management with TensorDict", "TensorDictModule", "Functionalizing TensorDictModule", "Pre-allocating memory with TensorDict", "Manipulating the shape of a TensorDict", "Slicing, Indexing, and Masking"], "terms": {"can": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 22, 24, 25, 27, 28, 33, 37, 40, 45, 46, 51, 52, 53, 54, 56, 59, 60, 61, 62, 63, 64, 66, 67], "us": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 16, 17, 20, 21, 22, 24, 25, 27, 28, 29, 33, 37, 39, 40, 46, 51, 52, 53, 55, 57, 58, 60, 61, 62, 64, 65, 66, 67], "pass": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 15, 20, 21, 23, 25, 26, 27, 51, 53, 54, 56, 59, 62], "from": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 17, 19, 20, 21, 22, 24, 25, 27, 28, 29, 37, 40, 42, 46, 51, 52, 53, 54, 55, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67], "one": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 22, 23, 27, 28, 31, 40, 51, 52, 53, 54, 56, 59, 60, 61, 62, 63, 64, 66, 67], "anoth": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 21, 27, 47, 54, 61, 66], "If": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 26, 27, 36, 37, 40, 53, 54, 62, 63, 66], "two": [0, 3, 4, 5, 7, 8, 9, 10, 11, 20, 42, 54, 56, 59, 60, 63, 64, 67], "have": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 24, 25, 27, 37, 40, 51, 52, 53, 54, 62, 63, 65, 66, 67], "access": [0, 3, 5, 7, 11, 22, 53, 54, 61, 66], "share": [0, 4, 5, 6, 7, 8, 9, 10, 11, 64, 66, 67], "physic": [0, 5, 53, 60], "storag": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 46, 53, 60], "effici": [0, 3, 5, 53, 56, 59, 60, 61], "data": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 15, 17, 19, 21, 37, 43, 46, 51, 52, 53, 54, 55, 56, 57, 58, 59, 64], "run": [0, 5, 11, 20, 23, 25, 27, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "process": [0, 3, 4, 6, 7, 8, 9, 10, 11, 45, 53, 60], "here": [0, 3, 5, 51, 52, 54, 59, 60], "we": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 19, 20, 21, 22, 25, 37, 51, 53, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "provid": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 25, 27, 43, 47, 51, 52, 56, 59, 60, 61, 62, 63], "some": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 25, 42, 45, 46, 54, 59, 60, 63], "detail": [0, 5, 11], "how": [0, 4, 5, 7, 8, 9, 10, 11, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "thi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 22, 23, 24, 25, 27, 29, 31, 33, 37, 40, 45, 51, 52, 53, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "achiev": [0, 4, 11, 52, 61, 63], "rpc": [0, 5], "For": [0, 2, 3, 4, 5, 7, 8, 9, 10, 11, 29, 36, 42, 51, 60, 61, 62, 63, 64, 67], "more": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 21, 28, 52, 54, 56, 59, 60, 63, 66], "check": [0, 1, 4, 5, 7, 8, 9, 10, 11, 15, 35, 40, 52, 54, 60, 62], "offici": 0, "pytorch": [0, 2, 3, 5, 7, 51, 53, 54, 55, 56, 57, 58, 59, 60], "document": [0, 11, 52, 54], "arrai": [0, 5, 53, 60, 65], "great": 0, "advantag": [0, 3, 5, 7, 51, 53, 54, 60, 65], "thei": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 24, 40, 51, 54, 59, 60, 62, 63, 65, 66], "store": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 22, 46, 53, 54, 56, 59, 61, 62, 65], "amount": 0, "allow": [0, 3, 4, 5, 7, 8, 9, 10, 11, 27, 40, 51, 52, 53, 54, 56, 59, 60, 62, 63], "slice": [0, 2, 3, 4, 5, 7, 8, 9, 10, 11, 55, 57, 58, 66], "readili": 0, "without": [0, 2, 3, 4, 5, 7, 8, 9, 10, 11, 54], "read": [0, 1, 2, 3, 5, 7, 9, 20, 21, 22, 25, 27, 31, 51, 53, 54, 63, 64], "whole": [0, 54], "file": [0, 4, 5, 6, 7, 8, 9, 10, 11, 53, 54, 55, 58, 60, 62], "offer": [0, 3, 53, 54, 56, 59, 60], "an": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 17, 19, 20, 21, 22, 25, 27, 37, 51, 52, 53, 54, 56, 59, 60, 61, 62, 63, 65, 66], "interfac": [0, 7, 29, 63], "between": [0, 4, 5, 7, 8, 9, 10, 11, 20, 63], "torch": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 17, 19, 20, 21, 22, 24, 25, 27, 28, 29, 30, 31, 32, 34, 36, 37, 40, 42, 43, 46, 47, 48, 51, 52, 53, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "class": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 39, 40, 42, 43, 45, 46, 47, 48, 51, 52, 53, 54, 56, 59, 60, 62, 63, 64], "name": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 21, 24, 27, 29, 40, 51, 63], "memmaptensor": [0, 14, 54], "instanc": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 20, 21, 23, 24, 25, 27, 29, 43, 46, 51, 52, 53, 54, 60, 63, 66], "object": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 20, 21, 23, 24, 52, 53, 56, 59, 63, 66], "repres": [0, 3, 4, 5, 7, 8, 9, 10, 11, 20, 24, 54, 60, 63, 67], "big": [0, 2, 4, 7, 8, 9, 10, 11, 53], "dataset": [0, 2, 3, 4, 6, 7, 8, 9, 10, 11, 53, 55, 57, 58, 60], "disk": [0, 4, 5, 6, 7, 8, 9, 10, 11, 53, 54, 56, 59, 60, 62], "easili": [0, 2, 3, 51, 54], "batch": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 27, 29, 30, 37, 42, 54, 55, 56, 57, 58, 59, 62, 64, 67], "wai": [0, 3, 4, 5, 7, 8, 9, 10, 11, 51, 53, 60, 61, 66, 67], "A": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 21, 22, 25, 26, 28, 29, 40, 42, 44, 46, 51, 60], "simpli": [0, 1, 3, 6, 54, 60, 61, 64, 66], "via": [0, 3, 5, 9, 22, 52], "1": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 19, 21, 22, 24, 25, 26, 27, 28, 42, 46, 51, 52, 54, 56, 59, 60, 61, 65, 66, 67], "popul": [0, 3, 5, 9, 21, 51, 53, 54, 56, 62, 65], "2": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 19, 21, 22, 25, 27, 28, 42, 43, 46, 51, 52, 54, 56, 59, 60, 61, 64, 65, 66, 67], "call": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 20, 21, 23, 25, 27, 29, 35, 39, 40, 45, 51, 53, 54, 63, 64, 65, 66], "memmap_": [0, 4, 6, 7, 8, 9, 10, 11, 54, 60, 62], "put": [0, 4, 5, 7, 8, 9, 10, 11, 54], "One": [0, 3, 5, 21, 31, 51, 52, 54, 60, 63], "queri": [0, 3, 4, 6, 7, 8, 9, 10, 11, 25, 63], "is_memmap": [0, 4, 7, 8, 9, 10, 11, 60], "itself": [0, 5, 11, 22, 62], "done": [0, 3, 4, 5, 7, 8, 9, 10, 11, 24, 51, 52, 53, 56, 59, 60, 66], "sever": [0, 11, 51, 53, 54], "firstli": 0, "empti": [0, 3, 4, 5, 7, 8, 9, 10, 11, 53, 56, 59, 60, 65], "shape": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 21, 22, 24, 25, 28, 29, 30, 37, 40, 42, 43, 47, 48, 51, 52, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67], "size": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 27, 28, 29, 30, 37, 40, 42, 43, 46, 47, 48, 51, 52, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "3": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 28, 29, 37, 42, 43, 46, 47, 48, 51, 52, 53, 54, 56, 59, 60, 61, 64, 65, 66, 67], "4": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 24, 25, 28, 29, 37, 42, 43, 46, 47, 48, 51, 52, 54, 56, 59, 60, 64, 65, 66, 67], "5": [0, 3, 4, 5, 7, 8, 9, 10, 11, 19, 47, 48, 52, 56, 59, 63, 64, 66, 67], "prefix": [0, 4, 6, 7, 8, 9, 10, 11, 54, 62], "tmp": [0, 54], "randn": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 19, 20, 21, 24, 25, 28, 29, 37, 51, 52, 54, 63, 64], "The": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 42, 51, 52, 53, 54, 56, 59, 60, 61, 62, 63, 66, 67], "attribut": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 22, 24, 27, 40, 52, 59, 62, 63, 66], "indic": [0, 4, 5, 6, 7, 8, 9, 10, 11, 22, 26, 27, 29, 40, 54, 56, 59, 63, 67], "where": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 22, 27, 29, 43, 51, 53, 54, 62, 63, 66], "temporari": [0, 62], "ha": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 35, 42, 45, 51, 53, 54, 60, 61, 63, 64, 65, 66], "It": [0, 3, 4, 5, 7, 8, 9, 10, 11, 20, 22, 43, 46, 51, 52, 63, 66], "crucial": 0, "directori": [0, 4, 6, 7, 8, 9, 10, 11, 52, 54, 62], "everi": [0, 4, 5, 7, 8, 9, 10, 11, 20, 23, 54], "option": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 20, 22, 25, 27, 28, 30, 36, 37, 40, 42, 43, 46, 52, 54], "exist": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 40, 41, 66], "former": [0, 3, 11, 20, 23], "method": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 16, 20, 21, 22, 23, 25, 27, 29, 36, 40, 45, 51, 52, 54, 56, 59, 60, 61, 62, 63, 66], "prefer": [0, 4, 7, 8, 9, 10, 11, 27, 62], "when": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 21, 22, 24, 25, 26, 27, 39, 40, 54, 59, 60, 61, 62, 63, 66, 67], "ar": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 40, 46, 51, 52, 53, 54, 59, 60, 61, 62, 63, 65, 66, 67], "do": [0, 3, 4, 5, 7, 8, 9, 10, 11, 40, 54, 60, 61], "fit": [0, 4, 5, 7, 8, 9, 10, 11, 53, 54], "suitabl": [0, 5, 54], "extrem": [0, 54], "serv": 0, "common": [0, 4, 7, 8, 9, 10, 11, 27, 60, 66, 67], "could": [0, 4, 5, 7, 8, 9, 10, 11, 54, 60, 61, 67], "would": [0, 3, 5, 11, 12, 53, 62, 63, 64, 67], "singl": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 21, 25, 27, 54, 60, 63, 64, 65, 66], "differ": [0, 4, 5, 6, 7, 8, 9, 10, 11, 17, 24, 25, 37, 52, 53, 54, 60, 62, 66], "much": [0, 3, 4, 5, 7, 8, 9, 10, 11, 53, 59, 60, 61, 66], "faster": [0, 3, 4, 7, 8, 9, 10, 11, 53], "than": [0, 3, 4, 5, 7, 8, 9, 10, 11, 21, 28, 42, 53, 54, 56, 59, 60, 63, 66], "each": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 25, 36, 46, 51, 54, 56, 59, 60, 61, 63, 66, 67], "had": [0, 66], "load": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 53, 55, 56, 57, 58, 59, 62], "independ": [0, 4, 5, 7, 8, 9, 10, 11, 28, 53, 54], "imag": [0, 3, 5, 53, 54, 56, 59, 60], "50000": 0, "480": [0, 53], "mask": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 43, 51, 55, 57, 58], "dtype": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 29, 37, 40, 43, 46, 51, 52, 53, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "bool": [0, 4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 24, 25, 27, 32, 36, 40, 43, 45, 46, 52, 60], "label": [0, 54, 56, 59], "uint8": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 60], "batch_siz": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 15, 17, 19, 20, 21, 22, 24, 25, 29, 37, 40, 42, 43, 46, 51, 52, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "devic": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 29, 37, 40, 43, 46, 51, 52, 54, 56, 59, 60, 61, 63, 64, 65, 66, 67], "cpu": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 21, 22, 24, 25, 29, 37, 40, 43, 51, 52, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "idx": [0, 3, 4, 5, 7, 8, 9, 10, 11, 60], "5020": 0, "34572": 0, "11200": 0, "clone": [0, 4, 5, 7, 8, 9, 10, 11, 12, 21, 22, 52, 53, 66], "field": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 29, 37, 40, 43, 51, 54, 56, 61, 62, 63, 64, 65, 66, 67], "float32": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 29, 37, 40, 43, 46, 51, 52, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "is_shar": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 29, 37, 40, 43, 46, 51, 52, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "fals": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 17, 19, 20, 21, 22, 24, 25, 29, 36, 37, 40, 43, 46, 51, 52, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "notic": [0, 3, 4, 7, 8, 9, 10, 11], "syntax": [0, 3, 61, 67], "sugar": 0, "directli": [0, 4, 5, 7, 8, 9, 10, 11, 12, 21, 54, 56, 59, 60, 61], "need": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 23, 27, 51, 52, 53, 54, 56, 59, 60, 63, 66, 67], "consider": 0, "take": [0, 3, 5, 7, 11, 19, 20, 23, 25, 28, 40, 51, 54, 56, 59, 60, 63, 64, 65], "account": 0, "current": [0, 3, 4, 5, 7, 8, 9, 10, 11, 51, 56, 59, 62], "compat": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 37, 43, 51, 63, 67], "autograd": [0, 4, 5, 7, 8, 9, 10, 11], "simpl": [0, 3, 4, 5, 7, 8, 9, 10, 11, 20, 56, 59, 64], "exampl": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 17, 19, 20, 21, 22, 24, 25, 27, 28, 29, 37, 40, 42, 43, 46, 47, 48, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 64, 65, 66, 67], "script": [0, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "send": [0, 3, 4, 7, 8, 9, 10, 11, 62], "its": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 19, 20, 21, 22, 36, 37, 38, 51, 52, 53, 54, 59, 63, 66], "refer": [0, 2, 4, 5, 7, 8, 9, 10, 11, 53, 55, 60, 67], "worker": [0, 3, 4, 5, 7, 8, 9, 10, 11, 53, 60], "respons": [0, 7, 63], "updat": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 22, 54, 60, 63, 65, 66, 67], "you": [0, 1, 3, 5, 11, 19, 52, 53, 54, 59, 61, 62, 63, 64, 65, 66, 67], "find": [0, 63], "benchmark": [0, 60], "In": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 21, 25, 27, 29, 51, 53, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "short": [0, 5], "our": [0, 3, 56, 59, 60, 63], "goal": [0, 4, 7, 8, 9, 10, 11], "show": [0, 11, 12, 51, 60, 63, 64], "handl": [0, 2, 3, 4, 5, 7, 8, 9, 10, 11, 51, 53, 56, 59], "write": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 25, 51, 54, 59, 60, 63, 64], "step": [0, 2, 3, 5, 20, 56, 59, 60, 65, 66], "involv": 0, "local": [0, 11], "remot": [0, 5], "execut": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 25, 40, 45, 46, 53, 54, 55, 58, 63, 64], "command": [0, 54], "first": [0, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 27, 42, 51, 52, 53, 54, 56, 60, 63, 65, 66, 67], "function": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 23, 25, 27, 28, 33, 34, 36, 37, 50, 52, 53, 55, 56, 57, 58, 59, 63, 65, 66, 67], "specif": [0, 5, 21], "fill": [0, 4, 5, 7, 8, 9, 10, 11, 42, 65], "def": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 20, 21, 24, 25, 27, 40, 46, 51, 52, 54, 56, 59, 60, 63, 64, 65], "fill_tensordict": 0, "memmap": [0, 4, 6, 7, 8, 9, 10, 11, 52, 54, 56, 59, 62], "ones": [0, 3, 4, 5, 7, 8, 9, 10, 11, 21, 22, 27, 42, 46, 52, 61, 67], "640": 0, "return": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 20, 21, 22, 25, 26, 27, 28, 29, 33, 36, 37, 40, 41, 42, 43, 46, 47, 48, 51, 52, 54, 56, 59, 60, 61, 63, 64, 65, 66, 67], "fill_tensordict_cp": 0, "cloudpicklewrapp": 0, "ensur": [0, 5, 11, 60], "serializ": [0, 4, 7, 8, 9, 10, 11], "next": [0, 5, 60, 66], "make": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 51, 52, 54, 60, 61, 63, 64, 67], "point": [0, 3, 4, 5, 7, 8, 9, 10, 11, 27, 29, 51], "hard": 0, "through": [0, 3, 4, 5, 7, 8, 9, 10, 11, 20, 25, 26, 27, 51, 60, 63, 65], "regular": [0, 3, 4, 6, 7, 8, 9, 10, 11, 20, 21, 53, 54, 60, 63, 64, 66, 67], "tensorpip": 0, "1000": [0, 3, 20], "final": [0, 3, 4, 6, 7, 8, 9, 10, 11, 51, 54], "still": [0, 4, 5, 7, 8, 9, 10, 11, 22, 36, 61, 62], "main": [0, 2, 5, 20, 53, 54, 60], "been": [0, 4, 5, 7, 8, 9, 10, 11, 35, 45, 51, 54, 61, 62, 65], "written": [0, 3, 4, 6, 7, 8, 9, 10, 11, 20, 21, 22, 27, 43, 54, 63, 65, 67], "6": [0, 3, 4, 5, 7, 8, 9, 10, 11, 30, 42, 52, 56, 63, 66, 67], "7": [0, 4, 5, 7, 8, 9, 10, 11, 56, 59], "998": 0, "t0": [0, 56, 59, 60], "time": [0, 3, 4, 5, 7, 8, 9, 10, 11, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "out": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 21, 37, 40, 43, 46, 51, 60, 63], "rpc_sync": 0, "worker_info": 0, "arg": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 19, 20, 21, 22, 23, 25, 40, 51], "print": [0, 1, 3, 4, 6, 7, 8, 9, 10, 11, 17, 20, 21, 24, 25, 27, 28, 29, 37, 40, 42, 43, 46, 47, 48, 51, 52, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "elaps": 0, "all": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 20, 23, 25, 27, 28, 29, 39, 40, 42, 51, 52, 53, 54, 55, 57, 61, 62, 63, 65, 66, 67], "although": [0, 4, 7, 8, 9, 10, 11, 20, 23, 46], "entir": [0, 1, 4, 7, 8, 9, 10, 11, 54, 59, 60], "origin": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 22, 51, 53, 54, 61, 62, 66, 67], "snippet": 0, "fast": [0, 7, 54, 62], "even": [0, 3, 4, 5, 7, 8, 9, 10, 11, 21, 42, 52, 60, 66], "so": [0, 4, 5, 6, 7, 8, 9, 10, 11, 25, 42, 54, 56, 59, 60, 61, 66, 67], "locat": [0, 4, 5, 6, 7, 8, 9, 10, 11, 54, 62], "alreadi": [0, 4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 40, 54, 56, 59, 61], "beforehand": 0, "see": [0, 4, 5, 7, 8, 9, 10, 11, 40, 59, 60, 61, 62, 63, 66], "torchrl": [0, 3, 19, 51], "s": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 25, 40, 51, 54, 56, 59, 60, 66], "replai": 0, "buffer": [0, 4, 6, 7, 8, 9, 10, 11, 21, 24, 25, 51, 53, 64], "learn": [0, 60, 61, 62, 63, 64, 65, 66, 67], "contain": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 15, 21, 23, 24, 27, 29, 43, 51, 53, 54, 56, 59, 60, 61, 63, 65, 66], "addit": [0, 3, 4, 5, 7, 8, 9, 10, 11, 51, 60, 66], "configur": [0, 4, 7, 8, 9, 10, 11], "beyond": 0, "purpos": [0, 2, 3, 5, 51, 54], "support": [1, 3, 4, 5, 7, 8, 9, 10, 11, 21, 22, 24, 25, 52, 54, 60, 62, 63, 66], "creat": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 23, 25, 37, 43, 45, 46, 52, 54, 56, 59, 60, 61, 62, 63, 64, 66, 67], "fx": 1, "graph": [1, 3, 5, 22, 40, 51], "import": [1, 3, 4, 7, 8, 9, 10, 11, 12, 19, 20, 21, 22, 24, 25, 28, 40, 42, 46, 51, 52, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "symbolic_trac": [1, 51], "tensordict": [1, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 25, 42, 43, 45, 46, 47, 48, 50, 52, 55, 57, 58, 59, 60, 63, 64, 67], "prototyp": [1, 51, 52, 54, 59, 60], "instead": [1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 23, 27, 52, 60, 63, 66, 67], "highli": [1, 2], "experiment": [1, 5, 20], "subject": [1, 5], "chang": [1, 4, 5, 7, 8, 9, 10, 11, 22, 24, 25, 40, 45, 52, 61], "caution": [1, 4, 7, 8, 9, 10, 11], "rais": [1, 4, 5, 6, 7, 8, 9, 10, 11, 54], "issu": [1, 52], "try": [1, 6, 27, 66], "encount": 1, "problem": [1, 3, 51], "ll": [1, 56, 59, 60, 64], "illustr": [1, 54], "overview": [1, 2], "inspect": 1, "gener": [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 27, 55, 56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "code": [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 25, 40, 45, 51, 54, 56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "nn": [1, 3, 4, 5, 7, 8, 9, 10, 11, 20, 21, 22, 23, 25, 43, 50, 52, 54, 56, 59, 60, 61, 63, 64], "net": [1, 3, 11, 19, 20, 22, 51, 56, 59, 63], "modul": [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 33, 35, 36, 38, 40, 41, 51, 53, 54, 56, 59, 60, 61, 63, 64], "__init__": [1, 3, 11, 24, 51, 56, 59, 60, 63, 64], "self": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 22, 24, 27, 40, 46, 51, 52, 56, 59, 60, 63, 64], "super": [1, 3, 11, 24, 51, 56, 59, 60, 63, 64], "linear": [1, 3, 4, 5, 7, 8, 9, 10, 11, 19, 22, 24, 25, 28, 51, 56, 59, 61, 63, 64], "lazylinear": [1, 3], "forward": [1, 3, 5, 11, 20, 21, 22, 23, 25, 27, 36, 40, 42, 51, 56, 59, 60, 63, 64], "x": [1, 3, 4, 5, 7, 8, 9, 10, 11, 21, 22, 25, 46, 51, 52, 53, 54, 56, 59, 60, 63, 64], "logit": [1, 3, 5, 29, 31, 56, 59], "sigmoid": [1, 3, 5], "in_kei": [1, 3, 19, 20, 21, 22, 25, 27, 40, 51, 63, 64], "input": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 17, 19, 20, 21, 22, 25, 27, 29, 37, 40, 47, 51, 59, 64], "out_kei": [1, 3, 19, 20, 21, 22, 25, 27, 40, 51, 63, 64], "output": [1, 3, 4, 5, 7, 8, 9, 10, 11, 20, 21, 22, 25, 27, 40, 43, 51, 52, 64], "probabl": [1, 3, 4, 5, 7, 8, 9, 10, 11, 20, 51, 63], "graph_modul": 1, "user": [1, 3, 4, 5, 7, 8, 9, 10, 11, 40, 51, 52, 54, 63], "placehold": 1, "target": [1, 4, 5, 7, 8, 9, 10, 11, 47, 48, 51, 56, 59, 60], "getitem": 1, "call_funct": 1, "oper": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 21, 23, 24, 46, 52, 54, 60, 61, 63, 64, 66], "kwarg": [1, 3, 4, 5, 7, 8, 9, 10, 11, 17, 19, 20, 21, 22, 23, 25, 27, 31, 37, 40, 51], "call_modul": 1, "none": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 24, 25, 29, 30, 31, 32, 33, 36, 37, 39, 40, 43, 46, 51, 52, 54, 59, 60, 61, 62, 63, 64, 65, 66, 67], "result": [1, 4, 5, 6, 7, 8, 9, 10, 11, 24, 25, 27, 29, 52, 53, 54, 60, 65, 66], "same": [1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 22, 40, 52, 53, 54, 56, 59, 60, 61, 62, 63, 65, 66, 67], "32": [1, 3, 4, 5, 7, 8, 9, 10, 11, 19, 51, 54, 56, 59, 60], "100": [1, 3, 5, 11, 51, 56, 59, 60, 61], "module_out": 1, "tensordict_out": [1, 20, 21, 22, 25, 63], "graph_module_out": 1, "assert": [1, 3, 4, 5, 7, 8, 9, 10, 11, 21, 24, 27, 28, 46, 52, 53, 54, 61, 63, 65, 66, 67], "also": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 22, 24, 25, 27, 37, 40, 46, 51, 52, 54, 56, 59, 60, 61, 62, 63, 64, 66, 67], "case": [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 21, 25, 50, 59, 60, 61, 63, 66, 67], "elimin": [1, 5, 60], "intermedi": [1, 3, 22, 51], "demonstr": [1, 56, 59, 60, 63, 65], "sequenti": [1, 3, 4, 7, 8, 9, 10, 11, 19, 22, 24, 25, 51, 56, 59, 60, 61, 63], "input_s": [1, 3, 51], "hidden_s": [1, 3, 51], "50": [1, 3, 4, 7, 8, 9, 10, 11, 51, 56, 61], "output_s": [1, 3, 5, 51], "10": [1, 3, 4, 5, 7, 8, 9, 10, 11, 19, 29, 51, 52, 53, 54, 55, 56, 58, 59, 61, 62, 63, 64, 65], "fc1": [1, 3, 51], "fc2": [1, 3, 51], "relu": [1, 3, 19, 22, 28, 51, 56, 59, 63], "masker": [1, 3, 51], "softmax": [1, 3, 5, 51, 63], "dim": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 37, 51, 52, 63, 66], "_0_fc1": 1, "getattr": [1, 4, 6, 7, 8, 9, 10, 11], "0": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 20, 21, 22, 24, 25, 26, 28, 42, 43, 51, 52, 54, 55, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67], "_0_fc2": 1, "getitem_1": 1, "mul": [1, 5], "bit": [1, 3, 5, 56], "complic": [1, 22, 63], "visual": 1, "follow": [1, 3, 5, 6, 11, 22, 25, 40, 51, 52, 54, 60, 62, 63, 67], "requir": [1, 3, 4, 5, 7, 8, 9, 10, 11, 21, 24, 25, 53, 54, 62, 63, 64], "pydot": 1, "visualis": 1, "graph_draw": 1, "fxgraphdraw": 1, "g": [1, 4, 5, 7, 8, 9, 10, 11, 19, 20, 56, 59], "open": 1, "svg": 1, "wb": 1, "f": [1, 4, 5, 7, 8, 9, 10, 11, 54, 56, 59, 60, 61, 63], "get_dot_graph": 1, "create_svg": 1, "which": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 20, 25, 27, 42, 51, 52, 53, 54, 61, 62, 63, 64, 65, 66, 67], "dictionari": [2, 3, 4, 6, 7, 8, 9, 10, 11, 17, 20, 21, 29, 37, 53, 61], "like": [2, 3, 4, 5, 7, 8, 9, 10, 11, 52, 53, 56, 59, 60, 61, 62, 66], "inherit": [2, 52, 53], "properti": [2, 4, 5, 6, 7, 8, 9, 10, 11, 45, 63], "tensor": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 37, 40, 42, 43, 46, 47, 48, 50, 51, 52, 54, 56, 59, 60, 61, 63, 64, 65, 66, 67], "index": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 24, 46, 52, 53, 55, 57, 58, 62], "cast": [2, 4, 5, 7, 8, 9, 10, 11, 46], "etc": [2, 9, 11, 29, 54, 56, 59], "base": [2, 3, 4, 7, 8, 9, 10, 11, 22, 51, 52, 56, 59, 60], "readabl": 2, "modular": [2, 25], "abstract": [2, 10], "awai": 2, "tailor": 2, "i": [2, 3, 4, 5, 7, 8, 9, 10, 11, 20, 28, 54, 56, 59, 60, 63, 65], "enumer": [2, 3, 11, 56, 59, 60], "model": [2, 3, 4, 7, 8, 9, 10, 11, 38, 51, 53, 54, 60, 64], "loss": [2, 3, 56, 59], "loss_modul": [2, 3], "backward": [2, 3, 5, 11, 56, 59], "optim": [2, 3, 11, 54], "zero_grad": [2, 3, 11, 56, 59], "With": [2, 3], "level": [2, 3, 5, 51, 61], "recycl": 2, "train": [2, 3, 4, 6, 7, 8, 9, 10, 11, 56, 59, 60], "loop": [2, 3, 4, 6, 7, 8, 9, 10, 11, 56, 59, 60, 65], "heterogen": [2, 4], "task": [2, 3], "individu": [2, 5, 11, 56, 59], "collect": [2, 3, 4, 7, 8, 9, 10, 11, 36, 60, 62], "transform": [2, 4, 7, 8, 9, 10, 11, 21, 26, 45, 51, 54, 56, 59, 60], "predict": [2, 5, 51, 59], "comput": [2, 3, 4, 5, 11, 20, 23, 25, 26, 41, 51, 60, 66], "hand": [2, 54], "impact": [2, 4, 7, 8, 9, 10, 11, 24, 61], "other": [2, 3, 4, 5, 7, 8, 9, 10, 11, 22, 24, 27, 28, 46, 52, 54, 60, 63, 66], "abov": [2, 5, 11, 54, 60, 62, 65], "across": [2, 3, 4, 5, 7, 8, 9, 10, 11, 27, 53], "classif": 2, "segment": 2, "among": [2, 12], "mani": [2, 3, 4, 5, 7, 8, 9, 10, 11, 46, 52, 66, 67], "manipul": [2, 3, 55, 57, 58, 67], "kei": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 20, 21, 22, 24, 25, 27, 29, 37, 40, 51, 53, 54, 55, 56, 57, 58, 63, 64, 65, 66], "pre": [2, 11, 46, 52, 54, 55, 56, 57, 58, 59, 60], "alloc": [2, 4, 5, 6, 7, 8, 9, 10, 11, 52, 54, 55, 57, 58], "memori": [2, 4, 5, 6, 7, 8, 9, 10, 11, 50, 52, 55, 56, 57, 58, 59, 60], "simplifi": [2, 53, 55, 57, 58], "manag": [2, 5, 40, 50, 55, 56, 57, 58, 59, 63], "tensordictmodul": [2, 19, 20, 22, 23, 25, 27, 44, 50, 51, 55, 57, 58], "tensorclass": [2, 4, 6, 7, 8, 9, 10, 11, 15, 50, 55, 57, 58], "motiv": 2, "featur": [2, 4, 7, 8, 9, 10, 11, 20, 21, 22, 51, 53, 54, 63], "dimens": [2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 27, 29, 42, 65, 67], "nest": [2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 25, 27, 29, 36, 37, 38, 46, 52, 54, 66], "lazi": [2, 4, 12, 16, 25, 45, 54, 66], "evalu": [2, 11], "program": [2, 5, 51], "distribut": [2, 3, 4, 5, 7, 8, 9, 10, 11, 20, 25, 50, 53, 60, 63], "set": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 24, 25, 33, 39, 40, 45, 52, 53, 54, 60, 62], "map": [2, 4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 25, 28, 29, 50, 52, 56, 59, 60, 63, 64], "node": [2, 3, 4, 5, 7, 8, 9, 10, 11, 40, 51], "trace": [2, 5, 50], "tensordictsequenti": [2, 3, 19, 22, 50, 51], "save": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 52, 56, 59, 60, 62], "memmori": 2, "memorymappedtensor": [2, 4, 7, 8, 9, 10, 11, 53, 56, 59, 60, 62], "torchsnapshot": 2, "api": [2, 3, 4, 5, 7, 8, 9, 10, 11, 21, 51, 54], "packag": [2, 3, 50], "tensordictbas": [2, 4, 7, 8, 9, 11, 12, 15, 20, 21, 22, 23, 24, 25, 27, 29, 43, 47, 50, 54], "subtensordict": [2, 50], "lazystackedtensordict": [2, 12, 50, 54, 66], "persistenttensordict": [2, 4, 8, 9, 10, 11, 50], "tensordictparam": [2, 4, 7, 8, 9, 10, 50], "context": [2, 4, 5, 7, 8, 9, 10, 11, 40, 50, 60, 63], "util": [2, 5, 11, 43, 47, 48, 50, 54, 56, 59, 60, 62, 64], "tensordictmodulebas": [2, 40, 50], "probabilistictensordictmodul": [2, 25, 50, 51], "tensordictmodulewrapp": [2, 50], "ensembl": [2, 3, 19, 50], "compil": [2, 11, 50], "serial": [2, 5, 11, 50, 53, 54], "edg": [2, 50], "search": 2, "page": [2, 3], "easi": [3, 7, 21, 60], "organis": 3, "reusabl": [3, 63], "develop": 3, "ve": [3, 63], "spun": 3, "separ": [3, 4, 7, 8, 9, 10, 11, 27, 54, 61, 64], "librari": [3, 54], "primarili": 3, "multipl": [3, 4, 5, 7, 8, 9, 10, 11, 51, 52, 53, 54, 60, 65, 66, 67], "mostli": 3, "relat": [3, 59, 60], "design": 3, "serialis": [3, 4, 6, 7, 8, 9, 10, 11], "transmit": 3, "ship": 3, "own": [3, 11, 54], "functorch": [3, 51, 63, 64], "aim": [3, 4, 7, 8, 9, 10, 11], "paramet": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 34, 36, 37, 38, 39, 40, 42, 43, 47, 48, 51, 53, 61, 63, 64], "easier": [3, 54], "On": [3, 54], "give": [3, 4, 5, 7, 8, 9, 10, 11, 60], "what": [3, 22, 27, 51, 54, 63, 65], "re": [3, 4, 5, 7, 8, 9, 10, 11, 20, 41, 51, 54, 63], "usabl": 3, "paradigm": 3, "most": [3, 4, 5, 7, 8, 9, 10, 11, 51], "sl": 3, "ssl": 3, "ul": 3, "rl": 3, "tool": [3, 54], "littl": [3, 4, 7, 8, 9, 10, 11, 60], "effort": [3, 56], "multiprocess": [3, 4, 7, 8, 9, 10, 11, 53], "seamlessli": [3, 4, 7, 8, 9, 10, 11], "dispatch": [3, 4, 7, 8, 9, 10, 11, 21, 22], "datapoint": [3, 54], "split": [3, 4, 5, 7, 8, 9, 10, 11, 52], "arang": [3, 4, 5, 7, 8, 9, 10, 11, 60, 66], "rang": [3, 4, 5, 7, 8, 9, 10, 11, 54, 56, 59, 63, 65], "pipe": 3, "tree_map": 3, "too": [3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 22, 37, 54], "greater": [3, 5], "degre": [3, 11], "complex": [3, 4, 5, 7, 8, 9, 10, 11, 51, 54, 60, 63], "td": [3, 4, 6, 7, 8, 9, 10, 11, 12, 17, 20, 21, 22, 25, 37, 42, 51, 54, 63], "11": [3, 4, 5, 7, 8, 9, 10, 11, 51], "b": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 22, 25, 27, 32, 37, 42, 51, 54, 61, 62, 63, 65, 66, 67], "regular_dict": 3, "td0": [3, 4, 7, 8, 9, 10, 11, 12, 54], "td1": [3, 4, 7, 8, 9, 10, 11, 12, 54], "td2": [3, 4, 7, 8, 9, 10, 11, 67], "unbind": [3, 4, 5, 6, 7, 8, 9, 10, 11], "similar": [3, 4, 5, 7, 8, 9, 10, 11, 20, 54, 56, 59, 63, 66], "structur": [3, 4, 6, 7, 8, 9, 10, 11, 12, 51, 54, 59, 60, 61, 62, 66, 67], "pytre": 3, "lambda": [3, 4, 5, 7, 8, 9, 10, 11, 21, 22, 25, 56, 59, 64], "regular_dict1": 3, "regular_dict2": 3, "regular_dict3": 3, "compel": 3, "c": [3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 22, 25, 27, 37, 54, 61, 62], "decompos": [3, 27], "three": [3, 54], "similarli": [3, 11, 25, 54, 61, 63], "after": [3, 4, 5, 7, 8, 9, 10, 11, 24, 53, 54, 60, 63, 65, 66], "appli": [3, 4, 5, 7, 8, 9, 10, 11, 20, 60, 64, 66, 67], "quickli": 3, "becom": [3, 5], "significantli": 3, "cumbersom": 3, "work": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 22, 24, 27, 37, 51, 52, 53, 54, 60, 61, 63, 66, 67], "naiv": 3, "want": [3, 5, 22, 25, 27, 40, 59, 61, 62, 65, 66, 67], "rather": [3, 7, 54, 56, 59, 60], "unbound": [3, 4, 6, 7, 8, 9, 10, 11], "dict": [3, 4, 6, 7, 8, 9, 10, 11, 17, 20, 21, 29, 37, 54, 61], "To": [3, 4, 5, 7, 8, 9, 10, 11, 19, 40, 42, 52, 54, 61, 62, 63], "instanti": [3, 4, 6, 61, 62], "must": [3, 4, 5, 7, 8, 9, 10, 11, 20, 21, 27, 29, 36, 42, 60, 61, 62, 63, 66, 67], "specifi": [3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 28, 37, 54, 59, 60, 61, 62, 63, 65, 66, 67], "valu": [3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 22, 24, 25, 26, 28, 34, 40, 42, 43, 52, 53, 62, 63, 65], "pair": [3, 4, 5, 6, 7, 8, 9, 10, 11, 20], "well": [3, 5, 11, 56, 59, 60, 63], "lead": [3, 6, 9, 17, 27, 37, 66, 67], "ani": [3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 21, 22, 23, 24, 25, 29, 52, 53, 54, 60, 61, 66], "zero": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 21, 22, 25, 26, 27, 40, 43, 46, 47, 48, 54, 60, 61, 63, 65, 67], "retriev": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 20, 56, 59, 61], "along": [3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 42, 51, 66, 67], "possibl": [3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 29, 37, 46, 51, 52, 53, 54, 61, 63], "obtain": [3, 5, 54, 60, 61, 67], "congruent": 3, "just": [3, 4, 5, 7, 8, 9, 10, 11, 25, 51, 53, 54, 56, 59, 60, 63, 66], "few": [3, 54, 60], "charact": [3, 4, 5, 7, 8, 9, 10, 11], "nth": 3, "ellipsi": [3, 4, 5, 7, 8, 9, 10, 11, 67], "sub_tensordict": 3, "inplac": [3, 4, 6, 7, 8, 9, 10, 11, 61], "true": [3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 19, 20, 22, 24, 25, 27, 36, 40, 43, 51, 54, 56, 59, 60, 61, 62, 63], "set_": [3, 4, 5, 7, 8, 9, 10, 11, 61], "content": [3, 4, 5, 6, 7, 8, 9, 10, 11, 24, 52, 53, 54, 59, 60, 62, 66], "fault": 3, "toler": [3, 4, 6, 7, 8, 9, 10, 11, 30], "version": [3, 4, 5, 7, 8, 9, 10, 11, 33], "latter": [3, 11, 20, 21, 23], "match": [3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 19, 20, 21, 27, 29, 30, 37, 47, 48, 51, 52, 63], "found": [3, 4, 6, 7, 8, 9, 10, 11, 20, 22, 25, 60, 61, 63], "new": [3, 4, 5, 6, 7, 8, 9, 10, 11, 22, 25, 42, 54, 61, 62, 63, 67], "now": [3, 5, 12, 51, 54, 60, 61, 63, 64], "place": [3, 4, 5, 6, 7, 8, 9, 10, 11, 22, 29, 33, 36, 51, 54, 62, 63, 65], "onto": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 28, 54, 62], "particular": [3, 5, 11, 61, 66], "cuda": [3, 4, 5, 7, 8, 9, 10, 11, 56, 59, 60, 62], "reshap": [3, 4, 5, 7, 8, 9, 10, 11, 46, 52, 63], "includ": [3, 4, 5, 7, 8, 9, 10, 11, 45, 53, 61], "squeez": [3, 4, 5, 7, 8, 9, 10, 11, 45, 52, 56, 59, 60], "unsqueez": [3, 4, 5, 7, 8, 9, 10, 11, 45, 46, 60], "view": [3, 4, 5, 7, 8, 9, 10, 11, 45, 54, 60, 67], "permut": [3, 4, 5, 7, 8, 9, 10, 11, 45], "stack": [3, 4, 7, 8, 9, 10, 11, 12, 19, 25, 43, 52, 54, 60, 64], "cat": [3, 4, 5, 7, 8, 9, 10, 11, 52, 66], "present": [3, 4, 5, 6, 7, 8, 9, 10, 11, 21, 24, 25, 32, 38, 40], "usual": [3, 5], "solut": 3, "wa": [3, 4, 5, 7, 8, 9, 10, 11, 22, 29], "given": [3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 21, 25, 61, 63, 67], "construct": [3, 4, 5, 11, 20, 24, 51, 53, 63], "refin": [3, 4, 5, 7, 8, 9, 10, 11], "later": [3, 5, 20, 52, 54, 56, 60], "semant": [3, 5], "refine_nam": [3, 4, 5, 7, 8, 9, 10, 11], "z": [3, 4, 5, 7, 8, 10, 11, 21, 22, 46], "y": [3, 4, 5, 7, 8, 9, 10, 11, 21, 22, 46, 52, 53, 54, 56, 59], "renam": [3, 4, 5, 6, 7, 8, 9, 10, 11], "m": [3, 11, 20, 24], "n": [3, 4, 5, 7, 8, 9, 10, 11, 20, 56, 59, 61, 65, 66], "h": [3, 5, 60], "themselv": [3, 61], "below": [3, 40, 66], "convert": [3, 4, 5, 6, 7, 8, 9, 10, 11, 24, 33, 36, 51, 54, 60, 62, 66], "rand": [3, 5, 29, 51, 54, 61, 62, 65, 66], "28": [3, 4, 5, 7, 8, 9, 10, 11, 56, 59], "randint": [3, 4, 5, 7, 8, 9, 10, 11, 51, 52, 54, 60, 66], "tupl": [3, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 27, 28, 61, 66, 67], "string": [3, 4, 5, 7, 8, 9, 10, 11, 22, 27, 36, 61], "get": [3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 22, 25, 42, 51, 52, 60, 63, 65, 66], "altern": [3, 4, 7, 8, 9, 10, 11, 12, 17, 37, 51, 62], "defer": 3, "until": [3, 4, 5, 7, 8, 9, 10, 11, 60], "item": [3, 4, 5, 7, 8, 9, 10, 11, 46, 52, 54, 56, 59, 61, 66], "immedi": [3, 5, 11], "perform": [3, 4, 5, 7, 8, 9, 10, 11, 20, 23, 24, 40, 52, 56, 60, 61, 66], "lazili": [3, 66], "lot": 3, "unnecessari": 3, "calcul": 3, "should": [3, 4, 5, 7, 8, 9, 10, 11, 19, 20, 21, 22, 23, 27, 41, 53, 60, 61, 62], "_": [3, 4, 7, 8, 9, 10, 11, 20, 21, 24, 25, 27, 40, 63], "happen": [3, 5, 66], "stacked_a": 3, "zeros_lik": [3, 4, 5, 7, 8, 9, 10, 11, 64], "caveat": 3, "expens": [3, 4, 7, 8, 9, 10, 11, 60], "repeat": [3, 5, 19, 56, 60, 66], "mai": [3, 4, 5, 7, 8, 9, 10, 11, 22, 52, 54, 66], "caus": [3, 4, 5, 7, 8, 9, 10, 11], "overhead": [3, 4, 7, 8, 9, 10, 11, 54, 59, 60, 63], "avoid": [3, 4, 5, 7, 8, 9, 10, 11, 21, 24, 52, 60, 63], "contigu": [3, 4, 5, 7, 8, 9, 10, 11, 43, 53, 56, 59, 60, 62, 66, 67], "further": [3, 5], "mitig": 3, "come": [3, 4, 5, 7, 8, 9, 10, 11, 51, 60], "meta": [3, 4, 5, 7, 8, 9, 10, 11, 52, 53, 54, 62], "metatensor": 3, "keep": [3, 4, 5, 7, 8, 9, 10, 11, 36], "track": [3, 5], "type": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 17, 20, 29, 37, 39, 43, 46, 52, 54, 56, 59, 60], "entri": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 22, 25, 29, 40, 41, 43, 52, 54, 61, 62, 63, 66, 67], "suppos": [3, 63, 65], "foo": 3, "someth": [3, 11], "automat": [3, 5, 7, 12, 27], "subsequ": [3, 9, 11, 25, 65], "iter": [3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 21, 24, 25, 33, 36, 37, 56, 60, 65], "integr": [3, 5], "wrap": [3, 5, 11, 19, 21, 23, 24, 27, 51], "accept": [3, 5, 11, 61, 63, 64, 66], "underli": [3, 5], "reason": [3, 11], "high": [3, 5, 51], "section": [3, 5], "facilit": 3, "adopt": 3, "ident": [3, 4, 6, 7, 8, 9, 10, 11, 52, 56, 59, 63], "previou": [3, 5, 19, 54, 63], "box": [3, 46], "pain": [3, 51], "inabl": [3, 51], "solv": [3, 51], "sequenc": [3, 4, 5, 7, 8, 9, 10, 11, 12, 17, 22, 25, 27, 30, 37, 42, 43, 48, 51, 63], "know": [3, 4, 5, 7, 8, 9, 10, 11, 51, 54], "mean": [3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 51, 54, 60, 66, 67], "ignor": [3, 4, 5, 7, 8, 9, 10, 11, 20, 23, 40, 51, 63], "predecessor": [3, 51], "necessari": [3, 5, 7, 25, 27, 51, 54], "intermediate_x": 3, "second": [3, 19, 53, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "combin": [3, 5, 27, 54, 60], "under": [3, 11, 54, 60, 61, 65], "bunch": [3, 53], "list": [3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 22, 25, 27, 40, 43, 51, 52, 63, 66], "ask": [3, 4, 7, 8, 9, 10, 11], "sub": [3, 4, 5, 25, 27, 45, 51, 54, 67], "select_subsequ": [3, 25, 51], "desir": [3, 4, 5, 7, 8, 9, 10, 11, 20, 39, 48, 62], "onli": [3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 21, 22, 25, 27, 40, 42, 54, 60, 61, 63, 66], "indispens": 3, "satisfi": [3, 5], "those": [3, 4, 5, 7, 8, 9, 10, 11, 12, 20, 25, 29, 62, 66, 67], "vmap": [3, 20, 21, 25, 51, 63, 64], "capabl": [3, 51, 54], "conjunct": [3, 61, 64, 66], "concaten": [3, 25, 52], "weight": [3, 4, 5, 7, 8, 9, 10, 11, 22, 24, 54, 61], "make_funct": [3, 20, 25, 35, 51, 64], "layer1": [3, 51], "layer2": [3, 51], "hierarch": 3, "weights1": 3, "state_dict": [3, 4, 6, 7, 8, 9, 10, 11, 51, 54], "unflatten_kei": [3, 4, 7, 8, 9, 10, 11, 51, 61], "weights2": 3, "param": [3, 4, 5, 7, 8, 9, 10, 11, 20, 21, 22, 24, 25, 29, 30, 36, 51, 53, 61, 64], "let": [3, 5, 11, 40, 63, 64, 65], "last": [3, 4, 5, 7, 8, 9, 10, 11, 20, 51], "params_stack": 3, "d": [3, 4, 5, 7, 8, 9, 10, 11, 20, 22, 25, 27, 29, 56, 59], "compar": [3, 60], "functionalmodul": 3, "implement": [3, 4, 5, 7, 11, 51, 52, 54, 56, 59, 60], "t": [4, 5, 6, 7, 8, 9, 10, 11, 18, 40, 42, 43, 45, 46, 54, 56, 59, 60, 66, 67], "stack_dim": [4, 12, 66], "int": [4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 28, 30, 37, 42, 48, 60], "hook_out": 4, "callabl": [4, 5, 7, 8, 9, 10, 11, 19, 21], "hook_in": 4, "togeth": [4, 18, 19, 27, 29, 43, 51, 60, 63], "default": [4, 5, 6, 7, 8, 9, 10, 11, 20, 24, 26, 27, 28, 30, 36, 40, 42, 43, 61, 62, 65, 66], "behaviour": [4, 5, 22, 40, 45, 52, 54], "them": [4, 5, 7, 8, 9, 10, 11, 12, 20, 23, 43, 52, 53, 60, 63, 66], "affect": [4, 5, 11, 25], "ndimens": [4, 5, 7, 8, 9, 10, 11], "befor": [4, 5, 7, 8, 9, 10, 11, 45, 60, 61, 63, 64, 66], "td_stack": [4, 12], "non": [4, 5, 6, 7, 8, 9, 10, 11, 20, 24, 25, 52, 54, 60, 63, 66, 67], "null": [4, 7, 8, 9, 10, 11], "boolean": [4, 5, 7, 8, 9, 10, 11, 52], "whether": [4, 5, 7, 8, 9, 10, 11, 19, 41], "integ": [4, 5, 7, 8, 9, 10, 11], "upon": [4, 7, 8, 9, 10, 11], "append": [4, 5], "analog": [4, 5], "noth": 4, "fn": [4, 7, 8, 9, 10, 11, 28], "str": [4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 27, 28, 33, 36, 37, 40, 46, 52, 54], "_no_default_": [4, 6, 7, 8, 9, 10, 11], "constructor_kwarg": [4, 7, 8, 9, 10, 11], "signatur": [4, 5, 7, 8, 9, 10, 11, 21, 22, 40, 51], "union": [4, 5, 6, 7, 8, 9, 10, 11, 28, 54], "argument": [4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 22, 24, 27, 29, 37, 51, 54, 61, 62, 63, 66], "receiv": [4, 7, 8, 9, 10, 11], "unnam": [4, 5, 7, 8, 9, 10, 11, 27], "number": [4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 21, 27, 28, 30, 32, 42, 43, 56, 59, 60, 61, 66], "miss": [4, 7, 8, 9, 10, 11, 25, 54], "keyword": [4, 5, 6, 7, 8, 9, 10, 11, 17, 20, 21, 24, 27, 29, 37, 51, 61, 62, 63], "modifi": [4, 5, 7, 8, 9, 10, 11, 22, 29, 51, 53, 54, 56, 59, 63, 64], "made": [4, 7, 8, 9, 10, 11, 36], "keyerror": [4, 7, 8, 9, 10, 11], "constructor": [4, 7, 8, 9, 10, 11, 27, 63], "transformed_in": [4, 7, 8, 9, 10, 11], "td_1": [4, 7, 8, 9, 10, 11], "td_2": [4, 7, 8, 9, 10, 11], "filter": [4, 5, 7, 8, 9, 10, 11], "int64": [4, 5, 6, 7, 8, 9, 10, 11, 29, 51, 52, 56, 59, 60], "regardless": [4, 7, 8, 9, 10, 11], "apply_": [4, 5, 7, 8, 9, 10, 11], "copi": [4, 5, 6, 7, 8, 9, 10, 11, 19, 51, 54, 62], "auto_batch_size_": [4, 7, 8, 9, 10, 11], "batch_dim": [4, 6, 7, 8, 9, 10, 11, 66, 67], "maximum": [4, 5, 6, 7, 8, 9, 10, 11, 17, 27, 37], "up": [4, 5, 7, 8, 9, 10, 11, 40, 54, 56, 61, 63], "long": [4, 5, 6, 7, 8, 9, 10, 11, 17, 37, 53, 60, 67], "length": [4, 5, 7, 8, 9, 10, 11, 21, 67], "describ": [4, 5, 7, 8, 9, 10, 11], "correspond": [4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 36, 43, 54, 61, 66, 67], "arbitrari": [4, 5, 7, 8, 9, 10, 11, 54], "control": [4, 7, 8, 9, 10, 11, 21, 54, 62], "initi": [4, 5, 6, 7, 8, 9, 10, 11, 19, 52], "ie": [4, 6, 7, 8, 9, 10, 11, 21, 22, 25, 45, 54], "infer": [4, 5, 7, 8, 9, 10, 11, 63], "edit": [4, 7, 8, 9, 10, 11], "dynam": [4, 7, 8, 9, 10, 11, 45], "alwai": [4, 5, 7, 8, 9, 10, 11, 22, 66], "reset": [4, 7, 8, 9, 10, 11, 22, 52, 53], "bfloat16": [4, 5, 7, 8, 9, 10, 11], "chunk": [4, 5, 7, 8, 9, 10, 11, 54, 66], "24": [4, 7, 8, 9, 10, 11, 21], "8": [4, 5, 7, 8, 9, 10, 11, 20, 21, 25, 51, 56, 59, 60, 63], "9": [4, 5, 7, 8, 9, 10, 11, 56], "16": [4, 5, 7, 8, 9, 10, 11], "17": [4, 7, 8, 9, 10, 11], "18": [4, 5, 7, 8, 9, 10, 11], "19": [4, 7, 8, 9, 10, 11], "clear": [4, 7, 8, 9, 10, 11], "remov": [4, 5, 6, 7, 8, 9, 10, 11, 62, 66], "clear_device_": [4, 7, 8, 9, 10, 11], "recurs": [4, 7, 8, 9, 10, 11, 22, 61], "subclass": [4, 5, 7, 8, 9, 10, 11, 14, 15, 20, 22, 23], "subtyp": [4, 7, 8, 9, 10, 11, 54], "to_tensordict": [4, 6, 7, 8, 9, 10, 11, 12, 66], "otherwis": [4, 5, 6, 7, 8, 9, 10, 11, 15, 22, 27, 54], "tree": [4, 6, 7, 8, 9, 10, 11, 54, 60], "shallow": [4, 7, 8, 9, 10, 11], "equival": [4, 5, 6, 7, 8, 9, 10, 11, 27, 61], "copy_": [4, 5, 7, 8, 9, 10, 11], "non_block": [4, 5, 7, 8, 9, 10, 11], "update_": [4, 7, 8, 9, 10, 11], "block": [4, 5, 7, 8, 9, 10, 11, 51, 63], "copy_at_": [4, 7, 8, 9, 10, 11], "update_at_": [4, 7, 8, 9, 10, 11], "create_nest": [4, 7, 8, 9, 10, 11], "overwritten": [4, 7, 8, 9, 10, 11, 23, 40, 54, 61], "lock": [4, 6, 7, 8, 9, 10, 11, 24, 53, 60], "root": [4, 7, 8, 9, 10, 11, 29, 56, 59, 60, 62, 66], "del_": [4, 7, 8, 9, 10, 11, 61], "delet": [4, 7, 8, 9, 10, 11, 61], "nestedkei": [4, 7, 8, 9, 10, 11, 20, 21, 25, 29], "detach": [4, 5, 7, 8, 9, 10, 11], "gradient": [4, 5, 7, 8, 9, 10, 11, 56, 59], "detach_": [4, 5, 7, 8, 9, 10, 11], "incl": [4, 7, 8, 10, 11], "live": [4, 5, 7, 8, 10, 11, 54], "doe": [4, 5, 6, 7, 8, 9, 10, 11, 25, 40, 51, 52, 53, 54, 61], "appropri": [4, 5, 7, 8, 10, 11, 46], "doubl": [4, 5, 7, 8, 9, 10, 11], "reproduc": [4, 7, 8, 9, 10, 11], "duplic": [4, 5, 7, 8, 9, 10, 11, 19, 51], "entry_class": [4, 7, 8, 9, 10, 11], "isinst": [4, 7, 8, 9, 10, 11, 24, 46, 52, 54, 61, 66], "whenev": [4, 7, 8, 9, 10, 11, 22, 40, 66], "exclud": [4, 7, 8, 9, 10, 11], "modif": [4, 5, 7, 8, 9, 10, 11, 24], "either": [4, 5, 7, 8, 9, 10, 11, 12, 27, 52, 61, 62, 66], "both": [4, 5, 7, 8, 9, 10, 11, 53, 60, 63, 65, 66], "prune": [4, 7, 8, 9, 10, 11], "expand": [4, 5, 6, 7, 8, 9, 10, 11, 12, 19, 20, 21, 25, 47, 48, 54, 60, 64], "accord": [4, 5, 6, 7, 8, 9, 10, 11], "td_expand": [4, 7, 8, 9, 10, 11], "fill_": [4, 5, 7, 8, 9, 10, 11, 67], "float": [4, 5, 7, 8, 9, 10, 11, 26, 30, 34, 42, 43, 56, 59], "scalar": [4, 5, 7, 8, 9, 10, 11, 26], "filter_non_tensor_data": [4, 7, 8, 9, 10, 11], "flatten": [4, 5, 6, 7, 8, 9, 10, 11, 51, 56, 59], "start_dim": [4, 5, 7, 8, 9, 10, 11, 56, 59], "end_dim": [4, 5, 7, 8, 9, 10, 11, 56, 59], "60": [4, 7, 8, 9, 10, 11], "12": [4, 5, 7, 8, 9, 10, 11, 59, 66], "td_flat": [4, 7, 8, 9, 10, 11], "13": [4, 7, 8, 9, 10, 11, 63], "14": [4, 5, 7, 8, 9, 10, 11], "15": [4, 5, 7, 8, 9, 10, 11], "20": [4, 5, 7, 8, 9, 10, 11], "21": [4, 7, 8, 9, 10, 11, 59], "22": [4, 5, 7, 8, 9, 10, 11], "23": [4, 5, 7, 8, 9, 10, 11], "25": [4, 5, 7, 8, 9, 10, 11, 60], "26": [4, 7, 8, 9, 10, 11, 59, 60], "27": [4, 5, 7, 8, 9, 10, 11], "29": [4, 7, 8, 9, 10, 11], "30": [4, 5, 7, 8, 9, 10, 11], "31": [4, 7, 8, 9, 10, 11], "33": [4, 7, 8, 9, 10, 11], "34": [4, 7, 8, 9, 10, 11], "35": [4, 7, 8, 9, 10, 11], "36": [4, 5, 7, 8, 9, 10, 11], "37": [4, 7, 8, 9, 10, 11], "38": [4, 7, 8, 9, 10, 11, 59], "39": [4, 7, 8, 9, 10, 11], "40": [4, 7, 8, 9, 10, 11], "41": [4, 5, 7, 8, 9, 10, 11, 56], "42": [4, 7, 8, 9, 10, 11, 60], "43": [4, 5, 7, 8, 9, 10, 11], "44": [4, 5, 7, 8, 9, 10, 11], "45": [4, 7, 8, 9, 10, 11], "46": [4, 7, 8, 9, 10, 11], "47": [4, 7, 8, 9, 10, 11], "48": [4, 7, 8, 9, 10, 11, 59], "49": [4, 7, 8, 9, 10, 11, 55, 56, 58], "51": [4, 7, 8, 9, 10, 11], "52": [4, 7, 8, 9, 10, 11, 60], "53": [4, 5, 7, 8, 9, 10, 11, 59], "54": [4, 7, 8, 9, 10, 11], "55": [4, 7, 8, 9, 10, 11], "56": [4, 7, 8, 9, 10, 11, 56], "57": [4, 7, 8, 9, 10, 11], "58": [4, 7, 8, 9, 10, 11, 55, 56, 58, 59], "59": [4, 5, 7, 8, 9, 10, 11, 55, 58], "flatten_kei": [4, 7, 8, 9, 10, 11, 24, 51, 61], "is_leaf": [4, 5, 7, 8, 9, 10, 11], "flat": [4, 7, 8, 9, 10, 11], "lost": [4, 7, 8, 9, 10, 11], "over": [4, 5, 7, 8, 9, 10, 11, 24, 25, 52, 56, 59, 60, 64], "consid": [4, 5, 6, 7, 8, 9, 10, 11, 25, 30, 52, 60, 66], "leaf": [4, 5, 7, 8, 9, 10, 11, 20], "e": [4, 5, 7, 8, 9, 10, 11, 19, 20, 25, 28, 56, 59], "particularili": [4, 7, 8, 9, 10, 11], "state": [4, 7, 8, 9, 10, 11, 21, 28, 33, 36, 54], "mimic": [4, 6, 7, 8, 9, 10, 11, 54, 61, 62], "ddp_model": [4, 7, 8, 9, 10, 11], "ao": [4, 7, 8, 9, 10, 11], "quantiz": [4, 5, 7, 8, 9, 10, 11], "quantwrapp": [4, 7, 8, 9, 10, 11], "bia": [4, 7, 8, 9, 10, 11, 24, 26, 28, 34, 56, 59, 61], "model_state_dict": [4, 7, 8, 9, 10, 11], "load_state_dict": [4, 6, 7, 8, 9, 10, 11, 54], "classmethod": [4, 5, 6, 7, 8, 9, 10, 11, 59, 60], "from_modul": [4, 7, 8, 9, 10, 11, 20, 21, 22, 24, 25, 53, 54], "as_modul": [4, 7, 8, 9, 10, 11], "use_state_dict": [4, 7, 8, 9, 10, 11], "within": [4, 5, 7, 8, 9, 10, 11, 20, 23, 24, 27, 46, 51], "unflatten": [4, 5, 7, 8, 9, 10, 11], "note": [4, 5, 6, 7, 8, 9, 10, 11, 12, 20, 52, 56, 59, 60, 63, 66], "hook": [4, 5, 7, 8, 9, 10, 11, 20, 23, 51], "transformerdecod": [4, 7, 8, 9, 10, 11, 63], "decoder_lay": [4, 7, 8, 9, 10, 11], "transformerdecoderlay": [4, 7, 8, 9, 10, 11], "nhead": [4, 7, 8, 9, 10, 11], "d_model": [4, 7, 8, 9, 10, 11], "num_lay": [4, 7, 8, 9, 10, 11], "layer": [4, 7, 8, 9, 10, 11, 60, 63, 64], "linear1": [4, 7, 8, 9, 10, 11], "2048": [4, 7, 8, 9, 10, 11], "gather": [4, 5, 7, 8, 9, 10, 11, 60, 63], "axi": [4, 5, 7, 8, 9, 10, 11], "element": [4, 5, 7, 8, 9, 10, 11, 12, 20, 21, 27, 66], "Its": [4, 7, 8, 9, 10, 11, 21], "destin": [4, 5, 6, 7, 8, 9, 10, 11, 43, 54], "td_gather": [4, 7, 8, 9, 10, 11], "gather_and_stack": [4, 7, 8, 9, 10, 11], "dst": [4, 7, 8, 9, 10, 11], "group": [4, 5, 7, 8, 9, 10, 11, 29, 64], "dist": [4, 5, 7, 8, 9, 10, 11, 20, 29, 63], "processgroup": [4, 7, 8, 9, 10, 11], "variou": [4, 7, 8, 9, 10, 11], "rank": [4, 5, 7, 8, 9, 10, 11], "commun": [4, 5, 7, 8, 9, 10, 11], "mp": [4, 5, 7, 8, 9, 10, 11], "client": [4, 7, 8, 9, 10, 11], "init_process_group": [4, 7, 8, 9, 10, 11], "gloo": [4, 7, 8, 9, 10, 11], "world_siz": [4, 7, 8, 9, 10, 11], "init_method": [4, 7, 8, 9, 10, 11], "tcp": [4, 7, 8, 9, 10, 11], "localhost": [4, 7, 8, 9, 10, 11], "10003": [4, 7, 8, 9, 10, 11], "sent": [4, 7, 8, 9, 10, 11, 62], "server": [4, 7, 8, 9, 10, 11], "equal": [4, 5, 7, 8, 9, 10, 11, 42, 52], "yuppi": [4, 7, 8, 9, 10, 11], "__name__": [4, 7, 8, 9, 10, 11, 60], "__main__": [4, 7, 8, 9, 10, 11, 60], "set_start_method": [4, 7, 8, 9, 10, 11], "spawn": [4, 7, 8, 9, 10, 11], "main_work": [4, 7, 8, 9, 10, 11], "secondary_work": [4, 7, 8, 9, 10, 11], "start": [4, 5, 7, 8, 9, 10, 11, 42, 60], "join": [4, 7, 8, 9, 10, 11], "compatibletyp": [4, 7, 8, 9, 10, 11, 17, 37], "chain": [4, 5, 6, 7, 8, 9, 10, 11, 19, 25], "get_at": [4, 7, 8, 9, 10, 11], "get_item_shap": [4, 7, 8, 9, 10, 11], "ineffici": [4, 66], "attempt": 4, "get_nestedtensor": 4, "cannot": [4, 5, 7, 8, 9, 10, 11, 27, 60], "optiona": 4, "isn": [4, 5, 6, 7, 8, 9, 10, 11], "nestedtensor": 4, "build": [4, 5, 11, 20, 51, 52, 63], "anyth": [4, 40], "els": [4, 5, 7, 8, 9, 10, 11, 40, 56, 59, 60, 61], "b2": 4, "get_non_tensor": [4, 7, 8, 9, 10, 11], "robust": [4, 7, 8, 9, 10, 11], "natur": [4, 7, 8, 9, 10, 11, 54], "scope": [4, 7, 8, 9, 10, 11], "set_non_tensor": [4, 7, 8, 9, 10, 11], "inform": [4, 5, 6, 7, 8, 9, 10, 11, 27, 54], "nontensordata": [4, 7, 8, 9, 10, 11, 54], "half": [4, 5, 7, 8, 9, 10, 11], "insert": [4, 7, 8, 9, 10, 11], "irecv": [4, 7, 8, 9, 10, 11], "src": [4, 5, 7, 8, 9, 10, 11], "return_prematur": [4, 7, 8, 9, 10, 11], "init_tag": [4, 7, 8, 9, 10, 11], "pseudo_rand": [4, 7, 8, 9, 10, 11], "futur": [4, 5, 6, 7, 8, 9, 10, 11], "asynchron": [4, 5, 7, 8, 9, 10, 11], "isend": [4, 7, 8, 9, 10, 11], "sourc": [4, 5, 6, 7, 8, 9, 10, 11, 17, 27, 37, 56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "wait": [4, 5, 7, 8, 9, 10, 11, 60], "complet": [4, 5, 7, 8, 9, 10, 11, 53], "withing": [4, 7, 8, 9, 10, 11], "tag": [4, 7, 8, 9, 10, 11], "pseudo": [4, 7, 8, 9, 10, 11], "random": [4, 5, 7, 8, 9, 10, 11, 20, 60, 65], "overlap": [4, 5, 7, 8, 9, 10, 11], "1e": [4, 5, 7, 8, 9, 10, 11, 28, 30, 56, 59], "sec": [4, 7, 8, 9, 10, 11], "slow": [4, 6, 7, 8, 9, 10, 11], "down": [4, 7, 8, 9, 10, 11], "runtim": [4, 7, 8, 9, 10, 11, 60], "your": [4, 5, 7, 8, 9, 10, 11, 52, 54, 60], "algorithm": [4, 7, 8, 9, 10, 11], "is_contigu": [4, 5, 7, 8, 9, 10, 11], "is_empti": [4, 7, 8, 9, 10, 11], "ad": [4, 5, 7, 8, 9, 10, 11, 60, 61], "__not__": [4, 7, 8, 9, 10, 11, 27], "share_memory_": [4, 5, 7, 8, 9, 10, 11], "eg": [4, 6, 7, 8, 9, 10, 11], "mark": [4, 5, 7, 8, 9, 10, 11], "increment": [4, 7, 8, 9, 10, 11], "queue": [4, 5, 7, 8, 9, 10, 11], "fut": [4, 7, 8, 9, 10, 11], "timeout": [4, 7, 8, 9, 10, 11], "include_nest": [4, 7, 8, 9, 10, 11, 61], "leaves_onli": [4, 7, 8, 9, 10, 11, 61], "leav": [4, 5, 7, 8, 9, 10, 11, 24, 27, 29, 40], "_lazystackedtensordictkeysview": 4, "lazy_stack": 4, "devicetyp": [4, 9, 17, 37, 43], "ordereddict": [4, 7, 8, 9, 10, 11], "strict": [4, 6, 7, 8, 9, 10, 11, 52], "assign": [4, 6, 7, 8, 9, 10, 11, 24, 46, 52, 63, 65], "from_flatten": [4, 6, 7, 8, 9, 10, 11], "format": [4, 5, 7, 8, 9, 10, 11, 43, 52, 54], "strictli": [4, 5, 7, 8, 9, 10, 11, 52], "enforc": [4, 7, 8, 9, 10, 11, 52], "preserv": [4, 5, 7, 8, 9, 10, 11], "while": [4, 5, 7, 8, 9, 10, 11, 20, 23, 52, 54, 60, 62], "assum": [4, 7, 8, 9, 10, 11, 25, 27, 60], "data_zero": [4, 7, 8, 9, 10, 11], "sd": [4, 7, 8, 9, 10, 11], "num_work": [4, 7, 8, 9, 10, 11, 60], "chunksiz": [4, 7, 8, 9, 10, 11], "num_chunk": [4, 7, 8, 9, 10, 11], "pool": [4, 7, 8, 9, 10, 11], "max_tasks_per_child": [4, 7, 8, 9, 10, 11], "callab": [4, 7, 8, 9, 10, 11], "exclus": [4, 7, 8, 9, 10, 11, 12, 40], "avail": [4, 7, 8, 9, 10, 11, 20, 52], "restack": [4, 7, 8, 9, 10, 11], "wherea": [4, 5, 7, 8, 9, 10, 11, 63], "equat": [4, 7, 8, 9, 10, 11], "veri": [4, 7, 8, 9, 10, 11, 56, 59], "larg": [4, 6, 7, 8, 9, 10, 11, 54, 60, 61, 66], "practic": [4, 5, 7, 8, 9, 10, 11], "doabl": [4, 7, 8, 9, 10, 11], "job": [4, 7, 8, 9, 10, 11], "seed": [4, 7, 8, 9, 10, 11], "uniqu": [4, 5, 7, 8, 9, 10, 11], "unseed": [4, 7, 8, 9, 10, 11], "taken": [4, 7, 8, 9, 10, 11], "low": [4, 5, 7, 8, 9, 10, 11], "autocorrel": [4, 7, 8, 9, 10, 11], "experi": [4, 7, 8, 9, 10, 11, 60], "These": [4, 5, 7, 8, 9, 10, 11, 45, 51, 54, 65, 66], "unexpect": [4, 7, 8, 9, 10, 11, 22], "effect": [4, 5, 7, 8, 9, 10, 11], "NOT": [4, 7, 8, 9, 10, 11, 54], "word": [4, 7, 8, 9, 10, 11, 27, 54], "imposs": [4, 7, 8, 9, 10, 11], "pick": [4, 5, 7, 8, 9, 10, 11], "howev": [4, 5, 7, 8, 9, 10, 11, 51, 52, 53, 54, 61, 62, 64, 67], "sure": [4, 7, 8, 9, 10, 11, 52, 63], "uncorrel": [4, 7, 8, 9, 10, 11], "child": [4, 7, 8, 9, 10, 11], "restrict": [4, 7, 8, 9, 10, 11, 24, 52], "process_data": [4, 7, 8, 9, 10, 11], "1_000_000": [4, 6, 7, 8, 9, 10, 11, 53, 54], "virtual": [4, 7, 8, 9, 10, 11], "cost": [4, 5, 7, 8, 9, 10, 11], "tread": [4, 7, 8, 9, 10, 11], "tb": [4, 7, 8, 9, 10, 11], "masked_fil": [4, 5, 7, 8, 9, 10, 11, 60], "masked_fill_": [4, 5, 7, 8, 9, 10, 11], "masked_select": [4, 5, 7, 8, 9, 10, 11], "td_mask": [4, 7, 8, 9, 10, 11], "maybe_dense_stack": 4, "densli": 4, "copy_exist": [4, 5, 6, 7, 8, 9, 10, 11, 54], "num_thread": [4, 6, 7, 8, 9, 10, 11, 54], "return_earli": [4, 6, 7, 8, 9, 10, 11], "except": [4, 5, 6, 7, 8, 9, 10, 11, 23, 27, 31, 53, 54, 65], "associ": [4, 5, 6, 7, 8, 9, 10, 11, 62, 63], "correct": [4, 5, 6, 7, 8, 9, 10, 11, 56, 59], "thread": [4, 6, 7, 8, 9, 10, 11, 54, 60], "throw": [4, 5, 6, 7, 8, 9, 10, 11], "onc": [4, 6, 7, 8, 9, 10, 11, 23, 60, 66], "unlock": [4, 6, 7, 8, 9, 10, 11, 53], "turn": [4, 6, 7, 8, 9, 10, 11, 19, 24, 51], "becaus": [4, 5, 6, 7, 8, 9, 10, 11, 53, 54, 56, 59, 60, 65], "cross": [4, 5, 6, 7, 8, 9, 10, 11, 56, 59], "guarante": [4, 5, 6, 7, 8, 9, 10, 11, 66, 67], "anymor": [4, 6, 7, 8, 9, 10, 11, 54], "tensordictfutur": [4, 6, 7, 8, 9, 10, 11], "fashion": [4, 5, 6, 7, 8, 9, 10, 11, 59, 66], "might": [4, 5, 6, 7, 8, 9, 10, 11], "deepli": [4, 6, 7, 8, 9, 10, 11], "recommend": [4, 5, 6, 7, 8, 9, 10, 11], "insid": [4, 6, 7, 8, 9, 10, 11, 56, 59, 60], "memmap_lik": [4, 6, 7, 8, 9, 10, 11, 54, 62], "contentless": [4, 6, 7, 8, 9, 10, 11], "64": [4, 6, 7, 8, 9, 10, 11, 54, 56, 59, 60], "path": [4, 5, 6, 7, 8, 9, 10, 11, 52, 54, 60, 62], "named_appli": [4, 7, 8, 9, 10, 11], "condit": [4, 5, 7, 8, 9, 10, 11, 25], "atensordict": [4, 7, 8, 9, 10, 11], "full": [4, 5, 7, 8, 9, 10, 11, 24, 52, 53, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "name_filt": [4, 7, 8, 9, 10, 11], "r": [4, 5, 7, 8, 9, 10, 11, 20], "ndim": [4, 5, 7, 8, 9, 10, 11], "numel": [4, 5, 7, 8, 9, 10, 11, 60], "total": [4, 5, 7, 8, 9, 10, 11, 55, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67], "lower": [4, 7, 8, 9, 10, 11], "bound": [4, 5, 7, 8, 9, 10, 11], "therefor": [4, 5, 7, 8, 9, 10, 11, 24], "least": [4, 5, 7, 8, 9, 10, 11], "dims_list": [4, 7, 8, 9, 10, 11], "order": [4, 5, 7, 8, 9, 10, 11, 21, 25, 27, 43, 51, 54, 63, 64], "permutedtensordict": [4, 7, 8, 9, 10, 11], "op": [4, 5, 7, 8, 9, 10, 11, 66], "pin_memori": [4, 5, 7, 8, 9, 10, 11, 60], "pop": [4, 7, 8, 9, 10, 11], "thrown": [4, 5, 7, 8, 9, 10, 11, 52], "look": [4, 5, 7, 8, 9, 10, 11, 20, 25, 64], "popitem": [4, 7, 8, 9, 10, 11], "k": [4, 5, 7, 8, 9, 10, 11, 63], "v": [4, 5, 7, 8, 9, 10, 11, 63], "recv": [4, 7, 8, 9, 10, 11], "reduc": [4, 5, 7, 8, 9, 10, 11], "async_op": [4, 7, 8, 9, 10, 11], "machin": [4, 7, 8, 9, 10, 11], "go": [4, 5, 7, 8, 9, 10, 11, 54, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "special": [4, 5, 7, 8, 9, 10, 11, 46, 63], "lift": [4, 5, 7, 8, 9, 10, 11], "coexist": [4, 5, 7, 8, 9, 10, 11], "nice": [4, 5, 7, 8, 9, 10, 11], "awar": [4, 5, 7, 8, 9, 10, 11], "greedili": [4, 5, 7, 8, 9, 10, 11], "tdr": [4, 7, 8, 9, 10, 11], "rename_map": [4, 5, 7, 8, 9, 10, 11], "abcd": [4, 7, 8, 9, 10, 11], "td_renam": [4, 7, 8, 9, 10, 11], "abgd": [4, 7, 8, 9, 10, 11], "rename_": [4, 5, 7, 8, 9, 10, 11], "rename_key_": [4, 7, 8, 9, 10, 11, 61], "old_kei": [4, 7, 8, 9, 10, 11], "new_kei": [4, 7, 8, 9, 10, 11], "safe": [4, 5, 7, 8, 9, 10, 11, 54], "error": [4, 5, 7, 8, 9, 10, 11, 54, 56, 59], "select": [4, 5, 7, 8, 9, 10, 11, 16, 22, 25, 51, 54, 67], "distant": [4, 7, 8, 9, 10, 11], "occur": [4, 5, 7, 8, 9, 10, 11, 22, 24], "yet": [4, 5, 7, 8, 9, 10, 11, 60], "mismatch": [4, 7, 8, 9, 10, 11], "set_at_": [4, 7, 8, 9, 10, 11], "regist": [4, 5, 7, 8, 9, 10, 11, 20, 23, 24, 63], "setdefault": [4, 7, 8, 9, 10, 11, 61], "Will": [4, 7, 8, 9, 10, 11], "previous": [4, 7, 8, 9, 10, 11], "val": [4, 7, 8, 9, 10, 11, 60], "convers": [4, 5, 7, 8, 9, 10, 11, 24], "share_memori": [4, 7, 8, 9, 10, 11], "sorted_kei": [4, 7, 8, 9, 10, 11], "sort": [4, 5, 7, 8, 9, 10, 11, 27], "alphabet": [4, 7, 8, 9, 10, 11], "extra": [4, 7, 8, 9, 10, 11, 27, 29, 53], "cach": [4, 5, 7, 8, 9, 10, 11], "split_siz": [4, 5, 7, 8, 9, 10, 11], "singleton": [4, 5, 7, 8, 9, 10, 11, 66], "keep_var": [4, 6, 7, 8, 9, 10, 11, 54], "produc": [4, 5, 7, 8, 9, 10, 11, 31], "unless": [4, 5, 7, 8, 9, 10, 11, 19, 24, 40, 45, 54, 63], "rebuild": [4, 7, 8, 9, 10, 11, 54], "compos": [4, 7, 8, 9, 10, 11, 60], "__batch_siz": [4, 7, 8, 9, 10, 11], "__devic": [4, 7, 8, 9, 10, 11], "permit": [4, 5, 7, 8, 9, 10, 11], "whose": [4, 5, 7, 8, 9, 10, 11, 25, 61, 65, 66, 67], "memory_format": [4, 5, 7, 8, 9, 10, 11], "4d": [4, 7, 8, 9, 10, 11], "sinc": [4, 5, 7, 8, 9, 10, 11, 20, 23, 27, 51, 54, 56, 59, 60, 66, 67], "undertook": [4, 7, 8, 9, 10, 11], "data_cuda": [4, 7, 8, 9, 10, 11], "data_int": [4, 7, 8, 9, 10, 11], "data_cuda_int": [4, 7, 8, 9, 10, 11], "to_dict": [4, 7, 8, 9, 10, 11], "to_h5": [4, 7, 8, 9, 10, 11], "filenam": [4, 5, 7, 8, 9, 10, 11], "h5": [4, 7, 8, 9, 10, 11], "backend": [4, 7, 8, 9, 10, 11], "expect": [4, 5, 7, 8, 9, 10, 11, 19, 22, 25, 27, 40], "h5py": [4, 7, 8, 9, 10, 11], "create_dataset": [4, 7, 8, 9, 10, 11], "persitenttensordict": [4, 7, 8, 9, 10, 11], "link": [4, 7, 8, 9, 10, 11], "newli": [4, 7, 8, 9, 10, 11], "tempfil": [4, 5, 7, 8, 9, 10, 11, 54], "timeit": [4, 7, 8, 9, 10, 11], "from_tensor": [4, 5, 7, 8, 9, 10, 11], "namedtemporaryfil": [4, 5, 7, 8, 9, 10, 11], "td_h5": [4, 7, 8, 9, 10, 11], "compress": [4, 5, 7, 8, 9, 10, 11], "gzip": [4, 7, 8, 9, 10, 11], "compression_opt": [4, 7, 8, 9, 10, 11], "1000000": [4, 7, 8, 9, 10, 11], "to_modul": [4, 7, 8, 9, 10, 11, 20, 21, 25, 53], "return_swap": [4, 7, 8, 9, 10, 11], "swap_dest": [4, 7, 8, 9, 10, 11], "memo": [4, 7, 8, 9, 10, 11], "old": [4, 5, 7, 8, 9, 10, 11], "swap": [4, 5, 7, 8, 9, 10, 11, 66], "fetch": [4, 7, 8, 9, 10, 11], "dure": [4, 5, 7, 8, 9, 10, 11, 45, 56, 60, 61, 65], "zero_": [4, 5, 7, 8, 9, 10, 11, 53], "transpos": [4, 5, 7, 8, 9, 10, 11, 45, 63], "dim0": [4, 5, 7, 8, 9, 10, 11], "dim1": [4, 5, 7, 8, 9, 10, 11], "back": [4, 5, 7, 8, 9, 10, 11, 67], "tensordict_transpos": [4, 7, 8, 9, 10, 11], "dst_type": [4, 7, 8, 9, 10, 11], "unflattened_s": [4, 7, 8, 9, 10, 11], "td_unflat": [4, 7, 8, 9, 10, 11], "metadata": [4, 7, 8, 9, 10, 11, 54, 62], "compris": [4, 7, 8, 9, 10, 11], "input_dict_or_td": [4, 7, 8, 9, 10, 11], "keys_to_upd": [4, 7, 8, 9, 10, 11], "being": [4, 5, 7, 8, 9, 10, 11, 27, 39, 40, 52, 54, 62, 66], "key_to_upd": [4, 7, 8, 9, 10, 11], "data_dest": [4, 7, 8, 9, 10, 11], "data_src": [4, 7, 8, 9, 10, 11], "other_td": [4, 7, 8, 9, 10, 11], "though": [4, 5, 7, 8, 9, 10, 11, 51, 52, 60, 66], "unlik": [4, 5, 7, 8, 9, 10, 11, 51, 54, 61, 63], "unknown": [4, 7, 8, 9, 10, 11], "indextyp": [4, 7, 8, 9, 10, 11], "valid_kei": 4, "td_view": [4, 7, 8, 9, 10, 11], "pad": [4, 5, 7, 8, 9, 10, 11, 43], "depend": [4, 5, 7, 8, 9, 10, 11, 25, 40], "booltensor": [4, 5, 7, 8, 9, 10, 11, 67], "nonzero": [4, 5, 7, 8, 9, 10, 11], "yield": [4, 7, 8, 9, 10, 11, 54], "tensor_or_fil": 5, "handler": 5, "resid": 5, "filepath": 5, "undefin": [5, 11, 52], "memmap_tensor": 5, "memmap_tensor_empti": 5, "empty_lik": 5, "memmap_tensor_zero": 5, "ones_lik": 5, "matrix": 5, "conjug": 5, "conj": 5, "matric": 5, "real": [5, 20], "mh": 5, "revers": 5, "deprec": [5, 8, 11, 20], "releas": 5, "mt": 5, "ab": 5, "abs_": 5, "absolut": [5, 30], "alia": [5, 11], "absolute_": 5, "aco": 5, "acos_": 5, "acosh": 5, "acosh_": 5, "add": [5, 11, 28, 60, 61], "alpha": 5, "scale": [5, 20, 25, 28, 29, 32, 51, 60, 63], "broadcast": 5, "add_": 5, "addbmm": 5, "batch1": 5, "batch2": 5, "beta": 5, "addbmm_": 5, "addcdiv": 5, "tensor1": 5, "tensor2": 5, "addcdiv_": 5, "addcmul": 5, "addcmul_": 5, "addmm": 5, "mat1": 5, "mat2": 5, "addmm_": 5, "addmv": 5, "mat": 5, "vec": 5, "addmv_": 5, "addr": 5, "vec1": 5, "vec2": 5, "addr_": 5, "adjoint": 5, "align_a": 5, "explicit": [5, 56, 59], "align": 5, "align_to": 5, "127": 5, "128": [5, 21], "w": [5, 7, 25, 60], "img": [5, 56], "per": 5, "channel": 5, "scale_channel": 5, "num_channel": 5, "more_img": 5, "video": 5, "agnost": 5, "mention": 5, "appear": 5, "python": [5, 21, 56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "liter": 5, "unment": 5, "named_tensor": 5, "move": [5, 11, 42, 60, 62], "front": [5, 56], "rest": 5, "keepdim": 5, "allclos": 5, "rtol": [5, 30], "05": 5, "atol": [5, 30], "08": 5, "equal_nan": 5, "amax": 5, "amin": 5, "aminmax": 5, "min": 5, "max": 5, "angl": 5, "replac": [5, 66], "arcco": 5, "arccos_": 5, "arccosh": 5, "arccosh_": 5, "arcsin": 5, "arcsin_": 5, "arcsinh": 5, "arcsinh_": 5, "arctan": 5, "arctan2": 5, "arctan2_": 5, "atan2_": 5, "arctan_": 5, "arctanh": 5, "arctanh_": 5, "argmax": [5, 56, 59], "longtensor": 5, "argmin": 5, "argsort": 5, "descend": 5, "argwher": 5, "as_strid": 5, "stride": [5, 11], "storage_offset": 5, "as_strided_": 5, "as_strided_scatt": 5, "as_subclass": 5, "cl": [5, 46, 59, 60], "pointer": [5, 53], "mirror": 5, "stai": 5, "attach": 5, "asin": 5, "asin_": 5, "asinh": 5, "asinh_": 5, "atan": 5, "atan2": 5, "atan_": 5, "atanh": 5, "atanh_": 5, "retain_graph": 5, "create_graph": 5, "wrt": 5, "differenti": 5, "rule": [5, 20, 63], "addition": [5, 9, 61], "accumul": 5, "grad": [5, 11], "layout": 5, "stream": 5, "grad_fn": [5, 25], "reli": [5, 51, 52, 54], "http": [5, 32, 59, 60], "github": [5, 60], "com": [5, 59, 60], "pull": 5, "60521": 5, "issuecom": 5, "867061780": 5, "don": [5, 54, 66], "freed": 5, "nearli": 5, "often": 5, "around": [5, 20, 21], "deriv": 5, "higher": 5, "product": 5, "were": 5, "attr": 5, "baddbmm": 5, "baddbmm_": 5, "bernoulli": 5, "texttt": 5, "sampl": [5, 20, 22, 29, 39, 51, 63], "text": [5, 54], "bernoulli_": [5, 60], "p": [5, 11, 24, 64], "draw": 5, "binari": 5, "th": 5, "_tensor": 5, "preserve_format": 5, "bincount": 5, "minlength": 5, "bitwise_and": 5, "bitwise_and_": 5, "bitwise_left_shift": 5, "bitwise_left_shift_": 5, "bitwise_not": 5, "bitwise_not_": 5, "bitwise_or": 5, "bitwise_or_": 5, "bitwise_right_shift": 5, "bitwise_right_shift_": 5, "bitwise_xor": 5, "bitwise_xor_": 5, "bmm": 5, "broadcast_to": 5, "byte": 5, "cauchy_": 5, "median": [5, 20], "sigma": 5, "drawn": [5, 20], "cauchi": 5, "dfrac": 5, "pi": 5, "denot": 5, "cdoubl": 5, "complex128": 5, "ceil": 5, "ceil_": 5, "cfloat": 5, "complex64": 5, "chalf": 5, "complex32": 5, "char": 5, "int8": 5, "choleski": 5, "upper": 5, "cholesky_invers": 5, "cholesky_solv": 5, "input2": 5, "clamp": 5, "clamp_": 5, "clip": 5, "clip_": 5, "coalesc": 5, "uncoalesc": 5, "spars": 5, "coo": 5, "col_indic": 5, "inttensor": 5, "column": 5, "csr": 5, "sparse_csr": 5, "nnz": 5, "int32": 5, "mkl": 5, "routin": 5, "downcast": 5, "potenti": 5, "lose": 5, "ey": 5, "to_sparse_csr": 5, "conj_phys": 5, "conj_physical_": 5, "contiguous_format": 5, "gpu": [5, 60], "respect": [5, 11, 40, 60, 66], "host": [5, 11, 24], "copysign": 5, "copysign_": 5, "corrcoef": 5, "co": 5, "cos_": 5, "cosh": 5, "cosh_": 5, "count_nonzero": 5, "cov": 5, "fweight": 5, "aweight": 5, "crow_indic": 5, "row": [5, 65, 67], "pin": 5, "cummax": 5, "cummin": 5, "cumprod": 5, "cumprod_": 5, "cumsum": 5, "cumsum_": 5, "data_ptr": 5, "address": 5, "deg2rad": 5, "deg2rad_": 5, "dense_dim": 5, "dens": [5, 12], "len": [5, 42, 56, 59, 60, 63, 66], "sparse_dim": 5, "hybrid": 5, "dequant": 5, "det": 5, "never": 5, "mode": [5, 7, 11, 20, 39, 40, 45], "seen": 5, "trigger": [5, 22], "Is": 5, "diag": 5, "diagon": 5, "diag_emb": 5, "offset": 5, "dim2": 5, "diagflat": 5, "diagonal_scatt": 5, "diff": 5, "prepend": [5, 11], "digamma": 5, "digamma_": 5, "dim_ord": 5, "laid": 5, "outermost": 5, "innermost": 5, "channels_last": 5, "div": 5, "rounding_mod": 5, "div_": 5, "divid": 5, "divide_": 5, "dot": 5, "float64": 5, "dsplit": 5, "split_size_or_sect": 5, "element_s": 5, "eq": 5, "eq_": 5, "erf": 5, "erf_": 5, "erfc": 5, "erfc_": 5, "erfinv": 5, "erfinv_": 5, "exp": [5, 28], "exp2": 5, "exp2_": 5, "exp_": 5, "larger": 5, "As": [5, 54, 59, 60, 65, 66, 67], "especi": 5, "vector": [5, 60, 64], "incorrect": 5, "behavior": [5, 11], "pleas": [5, 20, 66], "expand_a": [5, 46, 60], "about": [5, 60], "expm1": 5, "expm1_": 5, "exponential_": 5, "lambd": 5, "pdf": [5, 32], "densiti": 5, "theori": 5, "exponenti": 5, "interv": 5, "inf": 5, "impli": 5, "actual": 5, "fill_diagonal_": 5, "fill_valu": 5, "tall": 5, "fix": [5, 59], "fix_": 5, "flip": [5, 60], "fliplr": 5, "flipud": 5, "float_pow": 5, "expon": 5, "float_power_": 5, "floor": 5, "floor_": 5, "floor_divid": 5, "floor_divide_": 5, "fmax": 5, "fmin": 5, "fmod": 5, "divisor": 5, "fmod_": 5, "frac": 5, "frac_": 5, "frexp": 5, "mantissa": 5, "from_filenam": 5, "from_handl": 5, "existsok": 5, "copy_data": 5, "overwrit": 5, "thown": 5, "prevent": [5, 54, 60], "unadvertedli": 5, "full_lik": 5, "gcd": 5, "gcd_": 5, "ge": 5, "ge_": 5, "geometric_": 5, "geometr": 5, "trial": 5, "success": 5, "henc": [5, 60, 62], "ldot": 5, "geqrf": 5, "ger": 5, "get_devic": 5, "ordin": 5, "greater_": 5, "greater_equ": 5, "greater_equal_": 5, "gt": 5, "gt_": 5, "float16": 5, "hardshrink": 5, "has_nam": 5, "heavisid": 5, "heaviside_": 5, "histc": 5, "bin": 5, "histogram": 5, "hsplit": 5, "hypot": 5, "hypot_": 5, "i0": 5, "i0_": 5, "igamma": 5, "igamma_": 5, "igammac": 5, "igammac_": 5, "imaginari": 5, "3100": 5, "3553j": 5, "5445": 5, "7896j": 5, "6492": 5, "0633j": 5, "0638": 5, "8119j": 5, "3553": 5, "7896": 5, "0633": 5, "8119": 5, "index_add": 5, "index_add_": 5, "j": 5, "subtract": 5, "behav": [5, 23, 31, 66], "nondeterminist": 5, "multipli": 5, "index_copi": 5, "index_copy_": 5, "index_fil": 5, "index_fill_": 5, "index_put": 5, "index_put_": 5, "express": 5, "index_reduce_": 5, "include_self": 5, "reduct": 5, "prod": 5, "treat": 5, "identit": 5, "floattensor": 5, "72": 5, "index_select": 5, "inner": 5, "int_repr": 5, "uint8_t": 5, "invers": [5, 34], "ipu": [5, 11], "is_coalesc": 5, "is_complex": 5, "is_conj": 5, "is_cpu": 5, "is_cuda": 5, "is_floating_point": 5, "is_infer": 5, "is_ipu": 5, "requires_grad": [5, 11], "convent": [5, 22], "retain_grad": 5, "engin": 5, "requires_grad_": [5, 11], "is_meta": 5, "normal": [5, 20, 25, 29, 32, 51, 60, 63], "carri": 5, "is_mp": 5, "is_neg": 5, "neg": [5, 61, 66], "is_pin": 5, "is_quant": 5, "is_set_to": 5, "exact": 5, "is_sign": 5, "sign": 5, "is_spars": 5, "is_sparse_csr": 5, "is_xla": 5, "xla": 5, "is_xpu": 5, "xpu": [5, 11], "isclos": 5, "isfinit": 5, "isinf": 5, "isnan": 5, "isneginf": 5, "isposinf": 5, "isreal": 5, "istft": 5, "n_fft": 5, "hop_length": 5, "win_length": 5, "window": 5, "center": 5, "onesid": 5, "return_complex": 5, "standard": 5, "tolist": 5, "items": 5, "kron": 5, "kthvalu": 5, "lcm": 5, "lcm_": 5, "ldexp": 5, "ldexp_": 5, "le": 5, "le_": 5, "lerp": 5, "end": [5, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "lerp_": 5, "less": [5, 42], "lt": 5, "less_": 5, "less_equ": 5, "less_equal_": 5, "lgamma": 5, "lgamma_": 5, "log": [5, 20, 63], "log10": 5, "log10_": 5, "log1p": 5, "log1p_": 5, "log2": 5, "log2_": 5, "log_": 5, "log_normal_": 5, "std": [5, 28], "parameter": 5, "mu": 5, "deviat": 5, "sqrt": 5, "ln": 5, "logaddexp": 5, "logaddexp2": 5, "logcumsumexp": 5, "logdet": 5, "logical_and": 5, "logical_and_": 5, "logical_not": 5, "logical_not_": 5, "logical_or": 5, "logical_or_": 5, "logical_xor": 5, "logical_xor_": 5, "logit_": 5, "logsumexp": 5, "lt_": 5, "lu": 5, "pivot": 5, "get_info": 5, "lu_solv": 5, "lu_data": 5, "lu_pivot": 5, "map_": 5, "masked_scatt": 5, "masked_scatter_": 5, "posit": [5, 11, 28, 63], "continu": 5, "occurr": 5, "matmul": 5, "matrix_exp": 5, "matrix_pow": 5, "linalg": 5, "minimum": [5, 26, 28], "mm": 5, "moveaxi": 5, "movedim": 5, "msort": 5, "mul_": 5, "multinomi": 5, "num_sampl": 5, "multiply_": 5, "mv": 5, "mvlgamma": 5, "mvlgamma_": 5, "underscor": 5, "furthermor": [5, 61], "valid": [5, 43, 52, 60, 62], "variabl": [5, 63], "nan_to_num": 5, "nan": 5, "posinf": 5, "neginf": 5, "nan_to_num_": 5, "nanmean": 5, "nanmedian": 5, "nanquantil": 5, "q": [5, 63], "interpol": 5, "nansum": 5, "narrow": 5, "narrow_copi": 5, "nbyte": 5, "consum": 5, "defin": [5, 11, 20, 23, 46, 59, 60, 63], "ne": 5, "ne_": 5, "neg_": 5, "negative_": 5, "nelement": 5, "new_empti": 5, "uniniti": 5, "By": [5, 20, 61, 62, 66], "record": [5, 11], "8182e": 5, "5765e": 5, "0545e": 5, "0949e": 5, "4842e": 5, "0000e": 5, "00": [5, 55, 58, 59, 60], "new_empty_strid": 5, "new_ful": 5, "141592": 5, "1416": 5, "new_on": 5, "new_tensor": 5, "numpi": [5, 62], "from_numpi": 5, "whatev": 5, "array_lik": 5, "new_zero": 5, "nextaft": 5, "nextafter_": 5, "nonzero_stat": 5, "count": 5, "truncat": [5, 32], "smaller": [5, 6, 9], "invalid": [5, 11], "input_tensor": 5, "static_s": 5, "norm": 5, "fro": 5, "normal_": 5, "not_equ": 5, "not_equal_": 5, "forc": 5, "ndarrai": 5, "reflect": [5, 51], "vice": 5, "versa": 5, "resolve_conj": 5, "resolve_neg": 5, "won": [5, 9, 11, 40, 45, 54], "shorthand": 5, "orgqr": 5, "ormqr": 5, "input3": 5, "left": [5, 66], "outer": 5, "pinvers": 5, "polygamma": 5, "polygamma_": 5, "pow": 5, "pow_": 5, "put_": 5, "necessarili": [5, 51], "q_per_channel_axi": 5, "affin": 5, "q_per_channel_scal": 5, "q_per_channel_zero_point": 5, "zero_point": 5, "q_scale": 5, "q_zero_point": 5, "qr": 5, "qscheme": 5, "scheme": 5, "qtensor": 5, "quantil": 5, "rad2deg": 5, "rad2deg_": 5, "random_": 5, "discret": [5, 31], "uniform": 5, "unspecifi": 5, "represent": [5, 11, 16], "ravel": 5, "reciproc": 5, "reciprocal_": 5, "record_stream": 5, "dealloc": 5, "reus": 5, "queu": 5, "due": 5, "correctli": [5, 11], "life": 5, "cycl": 5, "But": [5, 60], "unexpectedli": 5, "side": 5, "abl": [5, 40, 52, 54, 60, 66, 67], "think": 5, "carefulli": 5, "safeti": 5, "tradeoff": 5, "gc": 5, "manual": 5, "situat": [5, 53, 54], "lifetim": 5, "event": 5, "poll": 5, "race": 5, "determinist": [5, 20], "fail": [5, 7, 27], "creation": 5, "sync": 5, "suffici": [5, 54], "realloc": 5, "delai": 5, "counterintuit": 5, "observ": 5, "kernel": 5, "progress": 5, "fine": 5, "concret": 5, "s0": 5, "s1": 5, "wait_stream": 5, "some_comm_op": 5, "synchron": 5, "del": [5, 54, 61], "decid": 5, "wouldn": 5, "finish": 5, "typic": [5, 11, 21, 54], "identifi": 5, "profil": 5, "chrome": 5, "export_chrome_trac": 5, "earli": 5, "late": 5, "longer": 5, "guidanc": 5, "post": [5, 11], "fsdp": 5, "cudacachingalloc": 5, "named_img": 5, "register_hook": 5, "rel": [5, 30, 56, 59, 66], "register_post_accumulate_grad_hook": 5, "applic": 5, "no_grad": [5, 56, 59], "enable_grad": 5, "enabl": [5, 51], "lr": [5, 56, 59], "01": [5, 26, 55, 58, 59], "simul": 5, "sgd": [5, 56, 59], "0100": 5, "0200": 5, "0300": 5, "remaind": 5, "remainder_": 5, "There": [5, 54], "usag": [5, 22, 54, 64], "position": 5, "drop": [5, 66, 67], "renamed_img": 5, "height": 5, "width": 5, "renorm": 5, "maxnorm": 5, "renorm_": 5, "tile": 5, "repeat_interleav": 5, "fact": 5, "tell": 5, "begin": 5, "dataload": [5, 54, 60], "preprocess": 5, "sai": [5, 11], "saved_weight": 5, "loaded_weight": 5, "5503": 5, "4926": 5, "1158": 5, "8303": 5, "sum": [5, 56, 59], "1007": 5, "9853": 5, "2316": 5, "6606": 5, "reshape_a": 5, "resize_": 5, "resiz": [5, 60], "reinterpret": 5, "unchang": 5, "custom": [5, 11, 51, 52, 59, 60], "use_deterministic_algorithm": 5, "fill_uninitialized_memori": 5, "unaffect": [5, 66], "resize_as_": 5, "retains_grad": 5, "roll": 5, "shift": [5, 26], "rot90": 5, "round": 5, "decim": 5, "round_": 5, "rsqrt": 5, "rsqrt_": 5, "scatter": 5, "scatter_": 5, "manner": 5, "moreov": [5, 54, 63], "inclus": 5, "arbitrarili": 5, "propag": [5, 25, 45], "scatter_add_": 5, "scatter_reduce_": 5, "dimension": 5, "0000": 5, "4600": 5, "2300": 5, "scatter_add": 5, "scatter_reduc": 5, "select_scatt": 5, "sgn": 5, "sgn_": 5, "untypedstorag": 5, "int16": 5, "sigmoid_": 5, "sign_": 5, "signbit": 5, "sin": 5, "sin_": 5, "sinc_": 5, "sinh": 5, "sinh_": 5, "hold": [5, 11, 24, 56, 59, 60, 67], "slice_scatt": 5, "slogdet": 5, "smm": 5, "sparse_mask": 5, "advis": 5, "nse": 5, "sparse_coo_tensor": 5, "6550": 5, "2397": 5, "1611": 5, "0779": 5, "2326": 5, "0558": 5, "4711": 5, "9678": 5, "5138": 5, "0411": 5, "9417": 5, "5158": 5, "0793": 5, "0036": 5, "2569": 5, "1055": 5, "sparse_coo": 5, "sparse_resize_": 5, "sparse_resize_and_clear_": 5, "sqrt_": 5, "squar": 5, "square_": 5, "squeeze_": 5, "sspaddmm": 5, "stft": 5, "pad_mod": 5, "typedstorag": 5, "untyped_storag": 5, "term": [5, 11, 24], "storage_typ": 5, "jump": 5, "sub_": 5, "subtract_": 5, "sum_to_s": 5, "svd": 5, "compute_uv": 5, "swapax": 5, "axis0": 5, "axis1": 5, "swapaxes_": 5, "swapdim": 5, "swapdims_": 5, "t_": 5, "take_along_dim": 5, "tan": 5, "tan_": 5, "tanh": 5, "tanh_": 5, "tensor_split": 5, "indices_or_sect": 5, "tri": 5, "5044": 5, "0005": 5, "3310": 5, "0584": 5, "cuda0": 5, "to_dens": 5, "masked_grad": 5, "to_mkldnn": 5, "mkldnn": 5, "to_padded_tensor": 5, "to_spars": 5, "sparsedim": 5, "coordin": 5, "blocksiz": 5, "sparse_csc": 5, "sparse_bsr": 5, "sparse_bsc": 5, "bsr": 5, "bsc": 5, "runtimeerror": 5, "evenli": 5, "csc": 5, "minu": 5, "divis": 5, "sparsecsr": 5, "to_sparse_bsc": 5, "row_indic": 5, "ccol_indic": 5, "to_sparse_bsr": 5, "to_sparse_coo": 5, "_nnz": 5, "to_sparse_csc": 5, "2d": 5, "012766935862600803": 5, "5415473580360413": 5, "08909505605697632": 5, "7729271650314331": 5, "topk": 5, "largest": 5, "transpose_": 5, "triangular_solv": 5, "unitriangular": 5, "tril": 5, "tril_": 5, "triu": 5, "triu_": 5, "true_divid": 5, "true_divide_": 5, "trunc": 5, "trunc_": 5, "async": 5, "type_a": 5, "seq": [5, 19, 22, 25], "unfold": 5, "sizedim": 5, "uniform_": 5, "return_invers": 5, "return_count": 5, "unique_consecut": 5, "consecut": 5, "unsafe_chunk": 5, "unsafe_split": 5, "unsqueeze_": 5, "var": [5, 11], "vdot": 5, "subspac": 5, "span": 5, "foral": 5, "unclear": 5, "2nd": 5, "3rd": 5, "proportion": 5, "twice": [5, 42, 54], "ratio": 5, "met": 5, "overload": 5, "torchscript": 5, "9482": 5, "0310": 5, "4999": 5, "5316": 5, "1520": 5, "7472": 5, "5617": 5, "8649": 5, "4724": 5, "0334": 5, "2976": 5, "8499": 5, "2109": 5, "9913": 5, "9607": [5, 66], "6123": 5, "1064483442": 5, "1124191867": 5, "1069546515": 5, "1089989247": 5, "1105482831": 5, "1061112040": 5, "1057999968": 5, "1084397505": 5, "1071760287": 5, "1123489973": 5, "1097310419": 5, "1084649136": 5, "1101533110": 5, "1073668768": 5, "1082790149": 5, "1088634448": 5, "1000000000": 5, "0047": 5, "0310j": 5, "5316j": 5, "7472j": 5, "8649j": 5, "0334j": 5, "8499j": 5, "9913j": 5, "6123j": 5, "202": 5, "154": 5, "182": 5, "243": 5, "253": 5, "188": 5, "185": 5, "252": 5, "191": 5, "63": [5, 56, 59], "240": 5, "227": [5, 60], "165": 5, "190": 5, "146": 5, "203": 5, "106": 5, "93": 5, "205": 5, "192": 5, "112": 5, "206": 5, "189": 5, "95": 5, "152": 5, "147": 5, "89": 5, "246": 5, "87": 5, "235": 5, "226": 5, "254": 5, "111": 5, "117": 5, "177": 5, "view_a": 5, "vsplit": 5, "xlogi": 5, "xlogy_": 5, "from_dict": [6, 7, 9], "determin": [6, 7, 9, 17, 27, 37, 54, 65], "input_dict": [6, 7, 8, 9, 17, 37], "exclusinv": [6, 9], "__maximum__": [6, 9], "sie": [6, 9, 17, 37], "input_td": [6, 9, 17, 37, 51], "from_tensordict": 6, "non_tensordict": 6, "wrapper": [6, 11, 20, 21, 23, 24], "attemptedli": 6, "setattr": 6, "tent": 6, "persist": [7, 11, 54], "close": 7, "materi": 7, "reman": 7, "from_h5": 7, "recur": [7, 8, 9, 10, 11], "_persistenttdkeysview": 7, "public": 8, "_subtensordict": 8, "_tensordictkeysview": [8, 9], "discard_idx_attr": 8, "_run_check": 9, "notabl": 9, "algebra": 9, "expend": 9, "right": [9, 46, 47, 48], "td_unsqueez": 9, "a_view": 9, "td_cpu": 9, "td_or_dict": 9, "old_nam": 9, "new_nam": 9, "tensordict_list": 9, "lsit": 9, "td_unqueez": 9, "hasn": 9, "parent": [10, 11, 24, 54], "no_convert": [11, 24], "expos": [11, 24, 59, 60, 63, 66], "exactli": [11, 23, 24, 51, 66], "named_paramet": [11, 24, 51, 61], "slightli": [11, 24, 60, 63], "augment": [11, 24], "unwant": [11, 24], "signific": [11, 24, 60], "unlock_": [11, 24, 53], "lock_": [11, 24, 53], "custommodul": [11, 24], "add_modul": 11, "submodul": [11, 25], "direct": 11, "member": 11, "xdoctest": 11, "skip": [11, 20, 40, 63], "buf": 11, "20l": 11, "1l": 11, "5l": 11, "children": [11, 22], "__call__": [11, 20, 60, 63], "eval": [11, 56, 59], "certain": 11, "dropout": [11, 63], "batchnorm": 11, "disabl": 11, "comparison": 11, "mechan": 11, "confus": 11, "extra_repr": 11, "line": [11, 54, 66], "multi": 11, "overridden": [11, 20, 23], "recip": [11, 20, 23], "afterward": [11, 20, 23], "care": [11, 20, 23, 40], "silent": [11, 20, 23], "get_buff": 11, "docstr": 11, "get_submodul": 11, "explan": 11, "fulli": [11, 60], "qualifi": 11, "referenc": 11, "attributeerror": 11, "resolv": 11, "get_extra_st": 11, "set_extra_st": 11, "picklabl": 11, "break": [11, 51, 54, 56, 59, 63], "pickl": [11, 52, 54], "form": [11, 19, 42], "get_paramet": 11, "net_b": 11, "net_c": 11, "conv": 11, "conv2d": 11, "kernel_s": 11, "in_featur": [11, 56, 59], "out_featur": [11, 56, 59], "200": 11, "diagram": 11, "against": [11, 60], "named_modul": 11, "o": [11, 60], "transit": 11, "network": [11, 21, 51, 63], "l": 11, "named_buff": 11, "remove_dupl": 11, "running_var": 11, "named_children": 11, "conv4": 11, "conv5": 11, "register_backward_hook": 11, "removablehandl": 11, "favor": 11, "register_full_backward_hook": 11, "register_buff": 11, "running_mean": 11, "part": [11, 51, 54, 60, 63], "alongsid": 11, "num_featur": 11, "register_forward_hook": 11, "with_kwarg": 11, "always_cal": 11, "fire": 11, "global": [11, 20, 40, 63], "register_module_forward_hook": 11, "register_forward_pre_hook": 11, "invok": 11, "And": 11, "forward_pr": 11, "register_module_forward_pre_hook": 11, "grad_input": 11, "grad_output": 11, "technic": 11, "caller": 11, "register_module_full_backward_hook": 11, "register_full_backward_pre_hook": 11, "backward_pr": 11, "register_module_full_backward_pre_hook": 11, "register_get_post_hook": 11, "register_load_state_dict_post_hook": 11, "incompatible_kei": 11, "namedtupl": 11, "consist": [11, 53], "missing_kei": 11, "unexpected_kei": 11, "register_modul": 11, "register_paramet": 11, "register_state_dict_pre_hook": 11, "help": [11, 46, 52, 60], "freez": 11, "finetun": 11, "gan": 11, "to_empti": 11, "set_to_non": 11, "td_list": [12, 54], "obtrain": 12, "infeas": 12, "thu": 12, "assert_allclose_td": 12, "td_lazi": 12, "td_contain": 12, "td_container_clon": 12, "exclusive_field": [12, 66], "push": 12, "reveal": 12, "arg0": 13, "datatyp": [14, 15], "lib": 15, "istanc": 15, "myclass": [15, 52, 54], "incompat": [17, 37], "merg": 18, "num_copi": [19, 51], "parameter_init_funct": 19, "expand_input": 19, "cnn": 19, "mlp": 19, "mod": [19, 22, 25, 51], "mind": [19, 66], "off": 19, "bork": [19, 22], "dork": [19, 22], "next_modul": 19, "spork": 19, "e0": 19, "e1": 19, "probabilist": 20, "parametr": [20, 63], "default_interaction_typ": [20, 63], "interaction_typ": 20, "get_dist": [20, 63], "rsampl": [20, 29], "suppli": 20, "delta": 20, "importantli": 20, "interest": 20, "loc": [20, 25, 28, 29, 32, 51, 60, 63], "default_interaction_mod": 20, "interactiontyp": [20, 39], "randomli": [20, 60], "probabilistictdmodul": [20, 39], "interact": [20, 54], "dictat": 20, "datacollector": 20, "set_interaction_typ": 20, "distribution_class": [20, 25, 51, 63], "distribution_kwarg": 20, "return_log_prob": [20, 25, 51, 63], "log_prob_kei": 20, "log_prob": [20, 29], "sample_log_prob": [20, 25, 29, 51, 63], "cache_dist": 20, "diverg": 20, "action": [20, 51, 53, 62, 63], "ppo": 20, "n_empirical_estim": 20, "empir": 20, "probabilistictensordictsequenti": [20, 25, 51, 63], "normalparamextractor": [20, 25, 63], "functional_modul": [20, 21, 25, 51], "hidden": [20, 21, 25, 51, 63], "grucel": [20, 21, 51, 63], "normal_param": [20, 25], "prob_modul": [20, 51], "td_modul": [20, 21, 23, 25, 44, 51, 63], "func": [20, 21, 25, 64], "td_vmap": [20, 21, 25], "_requires_sampl": 20, "space": [21, 60], "nestedstr": 21, "embed": 21, "neural": [21, 63], "tgt": 21, "td_function": 21, "td_state": 21, "extract_weights_and_buff": 21, "params_repeat": 21, "bias_hh": 21, "bias_ih": 21, "weight_hh": 21, "weight_ih": 21, "character": 22, "tensordict_in": 22, "reset_out_kei": 22, "orign": [22, 54], "select_out_kei": 22, "reset_parameters_recurs": 22, "old_param": 22, "reset_paramet": 22, "rid": 22, "presenc": 22, "out_keys_sourc": 22, "simplest": 22, "rubric": [22, 25, 40], "revert": 22, "tensordictsequenci": 25, "partial_toler": 25, "who": 25, "AND": 25, "scan": 25, "manual_se": 25, "7214": 25, "8748": 25, "1571": 25, "1138": 25, "addbackward0": 25, "tensordictsequ": 25, "net1": 25, "module1": 25, "td_module1": 25, "module2": 25, "td_module2": 25, "absent": 25, "relev": 25, "discard": [25, 54], "pattern": 25, "acord": 25, "idn": 25, "modulelist": [25, 63], "0x126ed1ca0": 25, "0x129efae50": 25, "min_val": 26, "bias": 26, "softplu": [26, 28, 34], "_bia": 26, "dest": [27, 47], "auto_batch_s": 27, "mymodul": [27, 40], "keys_in": 27, "keys_out": 27, "dispatch_kwarg": 27, "mymodulenest": 27, "a_c": 27, "sep": 27, "asepc": 27, "oopsi": 27, "scale_shap": 28, "scale_map": 28, "scale_lb": 28, "0001": 28, "trainabl": 28, "biased_softplus_1": 28, "choic": [28, 54, 59, 60], "varianc": 28, "num_output": 28, "module_norm": 28, "lstm": 28, "distribution_map": 29, "extra_kwarg": 29, "composit": 29, "cdf": 29, "icdf": 29, "incomplet": 29, "built": 29, "batch_shap": [29, 30], "supplementari": 29, "cont": 29, "disc": 29, "categor": [29, 31], "cont_log_prob": 29, "disc_log_prob": 29, "06": [30, 59], "event_shap": 30, "outcom": 30, "prob": 31, "hot": 31, "excacli": 31, "encod": [31, 63], "validate_arg": 32, "peopl": 32, "sc": 32, "fsu": 32, "edu": 32, "jburkardt": 32, "truncated_norm": 32, "funs_to_decor": [33, 36], "invert": 34, "keep_param": 36, "return_param": 36, "belong": 36, "decor": [36, 40, 46, 52], "repopul": 38, "polici": 39, "in_key_attr": 40, "out_key_attr": 40, "skip_exist": 40, "accordingli": 40, "fun": [40, 63], "partial": [40, 54], "intend": 40, "outsid": 40, "hello": 40, "ot": 40, "thing": [40, 61], "mistakenli": 40, "subgraph": 40, "deactiv": 40, "pad_siz": 42, "constant": 42, "padding_left": 42, "padding_right": 42, "padding_top": 42, "padding_bottom": 42, "dim0_left": 42, "dim0_right": 42, "dim1_left": 42, "dim1_right": 42, "padded_td": [42, 43], "list_of_tensordict": 43, "batch_first": 43, "padding_valu": 43, "return_mask": 43, "rnn": 43, "provd": 43, "list_td": 43, "tdgraphmodul": 44, "symbol": 44, "tracer": 44, "dataclass": [46, 59, 60], "mydata": [46, 52], "expand_and_mask": 46, "test": [46, 51, 52, 56, 59, 63, 66], "nestingmydata": 46, "nesting_data": 46, "hint": 46, "_memmaptensor": 47, "flexibl": [51, 54, 60, 63], "ml": 51, "pipelin": [51, 56, 59, 60], "basic": [51, 60], "512": [51, 56, 59], "suffic": 51, "sub_modul": 51, "summari": 51, "statist": 51, "normalparamwrapp": 51, "dedic": [51, 54, 59, 60], "leverag": 51, "extract": [51, 59, 60, 63], "out2": 51, "assert_clos": [51, 66], "distinguish": 51, "pack": [51, 53], "funciton": 51, "get_funct": 51, "approach": [51, 54, 60], "straightforward": 51, "reiniti": 51, "ensemblemodul": 51, "predefin": 52, "__future__": [52, 54], "annot": [52, 54], "floatdata": 52, "intdata": 52, "non_tensordata": 52, "check_nest": 52, "nested_test": 52, "intern": 52, "remain": [52, 61, 65], "test_chang": 52, "repr": 52, "nested_test_chang": 52, "data2": 52, "cat_tc": 52, "catted_tc": 52, "strategi": 52, "json": [52, 54], "deseri": 52, "load_memmap": [52, 54], "environ": [52, 60], "data_load": 52, "inequ": 52, "discrep": 52, "non_tensor": 52, "userwarn": 52, "test_new": 52, "stack_tc": 52, "undon": 53, "temporarili": 53, "is_lock": 53, "primit": 53, "handi": 53, "eas": 53, "de": 53, "plu": 53, "reconstruct": [53, 54], "goe": 53, "my_imag": 53, "unint8": 53, "mini_batch": 53, "imagin": 54, "mainli": 54, "speed": [54, 60], "magnitud": 54, "__faster__": 54, "relianc": 54, "explain": [54, 60], "dump": 54, "mmap": 54, "unsaf": 54, "unpickl": 54, "memorybuff": 54, "amort": 54, "io": 54, "launch": 54, "concurr": 54, "appar": 54, "disadvantag": 54, "Not": 54, "fallback": 54, "four": 54, "core": [54, 60], "weights_disk": 54, "dir": 54, "new_weight": 54, "prealloc": 54, "make_datum": 54, "255": [54, 60], "dataset_s": 54, "datum": 54, "data_disk": 54, "date": 54, "system": 54, "releant": 54, "print_directory_tre": 54, "tc": 54, "temporarydirectori": 54, "tempdir": 54, "loaded_data": 54, "tmpzy1jcaoq": 54, "_tensordict": 54, "tmpdir_0": 54, "tmpdir_1": 54, "td_load": 54, "inadvert": 54, "memorymap": 54, "mainten": 54, "discontinu": 54, "checkpoint": 54, "buit": 54, "huge": 54, "hundr": 54, "gb": 54, "ram": [54, 60], "advanc": 54, "margin": [54, 63], "rememb": 54, "tensordict_sourc": 54, "snapshot": 54, "app_stat": 54, "my": 54, "hood": 54, "tensordict_target": 54, "state_target": 54, "restor": 54, "uuid": 54, "uuid4": 54, "tensordict2": 54, "target_st": 54, "small": 54, "price": 54, "pai": 54, "contrast": 54, "again": [54, 61], "statedict": 54, "explicitli": 54, "my_tensordict_sourc": 54, "implic": 54, "unnot": 54, "td_dest": 54, "saniti": 54, "fairli": 54, "tc_dest": 54, "897": [55, 58], "galleri": [55, 56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "mem": [55, 58], "mb": [55, 58], "tutori": [55, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67], "tensorclass_fashion": [55, 58, 59], "py": [55, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67], "373": [55, 58, 59], "data_fashion": [55, 56, 58], "828": [55, 56, 58], "tensordict_modul": [55, 58, 63], "137": [55, 58, 63], "tensorclass_imagenet": [55, 58, 60], "501": [55, 58, 60], "tensordict_memori": [55, 58, 62], "025": [55, 58, 62], "tensordict_kei": [55, 58, 61], "009": [55, 58, 61], "tensordict_shap": [55, 58, 66], "008": [55, 58, 66], "tensordict_sl": [55, 58, 67], "007": [55, 58, 67], "tensordict_module_funct": [55, 58, 64], "006": [55, 58, 64], "tensordict_prealloc": [55, 58, 65], "003": [55, 58, 65], "download": [56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "transpar": [56, 59, 60], "heavili": [56, 59], "quickstart": [56, 59], "torchvis": [56, 59, 60], "totensor": [56, 59, 60], "is_avail": [56, 59, 60], "conveni": [56, 59, 60, 63], "prepar": [56, 59], "fashionmnist": [56, 59], "cloth": [56, 59], "classifi": [56, 59], "bag": [56, 59], "sneaker": [56, 59], "training_data": [56, 59], "test_data": [56, 59], "repeatedli": [56, 59], "training_data_td": 56, "test_data_td": 56, "Then": 56, "__len__": [56, 59, 60], "__getitem__": [56, 59, 60], "__getitems__": [56, 59, 60], "style": [56, 59, 60], "collat": [56, 59, 60], "collate_fn": [56, 59, 60], "train_dataload": [56, 59, 60], "noqa": [56, 59, 60], "tor401": [56, 59, 60], "test_dataload": [56, 59], "train_dataloader_td": 56, "test_dataloader_td": 56, "linear_relu_stack": [56, 59], "model_td": 56, "784": [56, 59], "optimis": [56, 59], "stochast": [56, 59], "descent": [56, 59], "entropi": [56, 59], "loss_fn": [56, 59], "crossentropyloss": [56, 59], "optimizer_td": 56, "pred": [56, 59], "7f": [56, 59], "5d": [56, 59], "adjust": [56, 59], "unpack": [56, 59], "train_td": 56, "num_batch": [56, 59], "test_loss": [56, 59], "accuraci": [56, 59], "1f": [56, 59], "avg": [56, 59], "8f": [56, 59], "test_td": 56, "epoch": [56, 59, 60], "4f": [56, 59, 60], "300480": 56, "60000": [56, 59], "293064": 56, "6400": [56, 59], "266259": 56, "12800": [56, 59], "261617": 56, "19200": [56, 59], "261147": 56, "25600": [56, 59], "215564": 56, "32000": [56, 59], "237646": 56, "38400": [56, 59], "195081": 56, "44800": [56, 59], "190470": 56, "51200": [56, 59], "164365": 56, "57600": [56, 59], "155924": 56, "162857": 56, "156318": 56, "098328": 56, "116032": 56, "078008": 56, "007684": 56, "046304": 56, "959306": 56, "963503": 56, "905034": 56, "897783": 56, "922749": 56, "898134": 56, "786096": 56, "830101": 56, "727412": 56, "672580": 56, "700479": 56, "590516": 56, "615487": 56, "517848": 56, "61": [56, 59], "532749": 56, "593874": 56, "560890": 56, "416031": 56, "487803": 56, "369440": 56, "358816": 56, "374556": 56, "287937": 56, "326393": 56, "228221": 56, "257580": 56, "331571": 56, "314824": 56, "154153": 56, "257705": 56, "134324": 56, "153518": 56, "174747": 56, "101449": 56, "145374": 56, "062342": 56, "65": 56, "087329": 56, "1166": 56, "298001": 56, "287161": 56, "270800": 56, "270414": 56, "245303": 56, "225265": 56, "231304": 56, "200896": 56, "198071": 56, "161562": 56, "157821": 56, "168909": 56, "158751": 56, "096658": 56, "108140": 56, "061918": 56, "008899": 56, "032122": 56, "955184": 56, "954244": 56, "873682": 56, "876599": 56, "909632": 56, "884026": 56, "755143": 56, "790438": 56, "690238": 56, "638952": 56, "660928": 56, "561142": 56, "582468": 56, "474488": 56, "500441": 56, "560883": 56, "537471": 56, "383097": 56, "453247": 56, "343728": 56, "335195": 56, "352697": 56, "274515": 56, "309380": 56, "211425": 56, "241849": 56, "310621": 56, "302632": 56, "136563": 56, "238647": 56, "124559": 56, "142481": 56, "167050": 56, "099875": 56, "140567": 56, "059313": 56, "082458": 56, "8354": 56, "minut": [56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "jupyt": [56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "notebook": [56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "ipynb": [56, 59, 60, 61, 62, 63, 64, 65, 66, 67], "sphinx": [56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67], "tutorials_python": 57, "zip": 57, "tutorials_jupyt": 57, "mnist": 59, "s3": 59, "websit": 59, "eu": 59, "central": 59, "amazonaw": 59, "idx3": 59, "ubyt": 59, "gz": 59, "raw": [59, 60], "26421880": 59, "65536": 59, "361577": 59, "27it": 59, "229376": 59, "681040": 59, "77it": 59, "917504": 59, "09": 59, "2641761": 59, "98it": 59, "1933312": 59, "4071838": 59, "92it": 59, "6750208": 59, "15809304": 59, "40it": 59, "10092544": 59, "17248107": 59, "43it": 59, "15400960": 59, "26081929": 59, "66it": 59, "73": 59, "19169280": 59, "24513394": 59, "41it": 59, "92": 59, "24412160": 59, "31119845": 59, "37it": 59, "19357445": 59, "87it": 59, "idx1": 59, "29515": 59, "326262": 59, "83it": 59, "t10k": 59, "4422102": 59, "362287": 59, "33it": 59, "682024": 59, "54it": 59, "2104319": 59, "86it": 59, "70": 59, "3080192": 59, "5985861": 59, "78it": 59, "6084624": 59, "81it": 59, "5148": 59, "46837911": 59, "05it": 59, "good": [59, 60], "encapsul": [59, 60], "logic": [59, 60], "from_dataset": [59, 60], "fashionmnistdata": 59, "incur": 59, "training_data_tc": 59, "test_data_tc": 59, "train_dataloader_tc": [59, 60], "test_dataloader_tc": 59, "model_tc": 59, "optimizer_tc": 59, "train_tc": 59, "test_tc": 59, "302387": 59, "293101": 59, "279598": 59, "276973": 59, "251420": 59, "238299": 59, "237562": 59, "215429": 59, "208091": 59, "175614": 59, "176059": 59, "183834": 59, "175081": 59, "129839": 59, "143353": 59, "089312": 59, "056283": 59, "060929": 59, "006752": 59, "002385": 59, "926731": 59, "935310": 59, "960144": 59, "936480": 59, "833049": 59, "864682": 59, "759800": 59, "725796": 59, "714761": 59, "638511": 59, "644561": 59, "533933": 59, "563183": 59, "621519": 59, "590653": 59, "447826": 59, "512125": 59, "394294": 59, "402328": 59, "389260": 59, "328610": 59, "353315": 59, "252565": 59, "62": 59, "282288": 59, "356653": 59, "337689": 59, "176921": 59, "280601": 59, "154103": 59, "194018": 59, "192287": 59, "138430": 59, "173223": 59, "091239": 59, "110041": 59, "3111": 59, "297948": 59, "282624": 59, "271977": 59, "270170": 59, "244367": 59, "214798": 59, "220860": 59, "188947": 59, "186659": 59, "154645": 59, "150539": 59, "160149": 59, "149896": 59, "097871": 59, "114169": 59, "062091": 59, "994953": 59, "024422": 59, "950521": 59, "953714": 59, "877175": 59, "881925": 59, "919103": 59, "886964": 59, "774065": 59, "809855": 59, "709801": 59, "652143": 59, "673265": 59, "587407": 59, "611894": 59, "495472": 59, "522582": 59, "595548": 59, "556155": 59, "412991": 59, "479574": 59, "363339": 59, "351150": 59, "366776": 59, "303567": 59, "337294": 59, "226468": 59, "258048": 59, "340565": 59, "316801": 59, "157856": 59, "260136": 59, "127928": 59, "149427": 59, "173949": 59, "122528": 59, "160417": 59, "064355": 59, "089903": 59, "9774": 59, "idea": 60, "10x": 60, "speedup": 60, "subset": [60, 61], "imagenet": [60, 62], "transfer": 60, "subdirectori": 60, "os": 60, "distutil": 60, "strtobool": 60, "pathlib": 60, "tqdm": 60, "compon": [60, 63], "overfit": 60, "train_transform": 60, "randomresizedcrop": 60, "224": 60, "randomhorizontalflip": 60, "485": 60, "456": 60, "406": 60, "229": 60, "225": 60, "val_transform": 60, "256": 60, "centercrop": 60, "imagefold": 60, "data_dir": 60, "hymenoptera_data": 60, "train_data": 60, "val_data": 60, "train_data_raw": 60, "piltotensor": 60, "invaffin": 60, "crop": 60, "randomhflip": 60, "randomcrop": 60, "index0": 60, "index1": 60, "principl": 60, "collate_transform": 60, "known": 60, "apriori": 60, "imagenetdata": 60, "dl": 60, "pbar": 60, "_batch": 60, "train_data_tc": 60, "val_data_tc": 60, "helper": 60, "parallel": 60, "essenti": 60, "val_dataload": 60, "val_dataloader_tc": 60, "measur": 60, "rate": 60, "fp": 60, "bigger": 60, "improv": 60, "aw": 60, "ec2": 60, "a100": 60, "media": 60, "png": 60, "alt": 60, "bar": 60, "chart": 60, "__": 60, "better": 60, "blob": 60, "244": 60, "26it": 60, "771": 60, "51it": 60, "153": 60, "204": 60, "96it": 60, "377": 60, "1022": 60, "5849": 60, "2151": 60, "1766": 60, "7430": 60, "1245": 60, "837": 60, "4922": 60, "1540": 60, "16062": 60, "4971": 60, "0080": 60, "author": [61, 62, 65, 66, 67], "tom": [61, 62, 65, 66, 67], "beglei": [61, 62, 65, 66, 67], "accomplish": 61, "request": 61, "banana": 61, "statement": 61, "chosen": 61, "nested_tensordict": 61, "double_nest": 61, "double_nested_a": 61, "nested_a": 61, "top": 61, "lookup": 61, "flattened_tensordict": 61, "particularli": 61, "meth": 61, "omit": 61, "clear_devic": 62, "slowli": 62, "mm_tensordict": 62, "pt": 62, "a_out": 63, "averag": 63, "mergelinear": 63, "in_1": [63, 64], "in_2": 63, "linear_1": [63, 64], "linear_2": [63, 64], "x_1": 63, "x_2": 63, "multiheadlinear": [63, 64], "out_1": [63, 64], "out_2": [63, 64], "splitlinear": [63, 64], "output_1": [63, 64], "output_2": [63, 64], "split_and_merge_linear": 63, "ok": 63, "exploration_mod": 63, "conflict": 63, "preced": 63, "wire": 63, "termin": 63, "extractor": 63, "figur": 63, "classic": 63, "architectur": 63, "vaswani": 63, "et": 63, "al": 63, "2017": 63, "asid": 63, "simplic": 63, "tokenstoqkv": 63, "to_dim": 63, "from_dim": 63, "latent_dim": 63, "x_to": 63, "x_from": 63, "splithead": 63, "num_head": 63, "to_num": 63, "from_num": 63, "d_tensor": 63, "attent": 63, "n_head": 63, "d_in": 63, "attn": 63, "skiplayernorm": 63, "to_len": 63, "layer_norm": 63, "layernorm": 63, "x_0": 63, "ffn": 63, "hidden_dim": 63, "dropout_r": 63, "attentionblock": 63, "tokens_to_qkv": 63, "split_head": 63, "encodertransformerblock": 63, "attention_block": 63, "x_out": 63, "decodertransformerblock": 63, "encoder_block": 63, "transformerencod": 63, "num_block": 63, "decod": 63, "from_len": 63, "attentionblocktensordict": 63, "connect": 63, "to_nam": 63, "from_nam": 63, "thank": 63, "transformerblockencodertensordict": 63, "transformerblockdecodertensordict": 63, "token": 63, "info": 63, "transformerencodertensordict": 63, "transformerdecodertensordict": 63, "transformertensordict": 63, "x_encod": 63, "x_decod": 63, "operar": 63, "td_token": 63, "tdtransform": 63, "t1": 63, "t2": 63, "01023244857788086": 63, "t3": 63, "t4": 63, "0059583187103271484": 63, "minim": 63, "introduc": 63, "functionl": 64, "reintroduc": 64, "ordinarili": 64, "make_functional_with_buff": 64, "functionalis": 64, "replica": 64, "params_expand": 64, "buffers_expand": 64, "nativ": 64, "num_model": 64, "result_td": 64, "make_tensordict": 65, "perhap": 65, "initialis": 65, "prepopul": 65, "random_tensordict": 65, "agre": [66, 67], "indexed_tensordict": 66, "reshaped_tensordict": 66, "interpret": 66, "throughout": 66, "conceptu": 66, "demand": 66, "cloned_tensordict": 66, "stacked_tensordict": 66, "recov": 66, "concatenated_tensordict": 66, "exp_tensordict": 66, "_squeezedtensordict": 66, "_unsqueezedtensordict": 66, "squeezed_tensordict": 66, "unsqueezed_tensordict": 66, "benefici": 66, "bear": 66, "ever": 66, "_viewedtensordict": 66, "viewed_tensordict": 66, "untouch": 66, "permuted_tensordict": 66, "gathered_tensordict": 66, "4003": 66, "3863": 66, "8916": 66, "4065": 66, "2656": 66, "6441": 66, "3445": 66, "6833": 66, "6153": 66, "8126": 66, "1182": 66, "discuss": 67, "simultan": 67, "new_tensordict": 67, "That": 67, "doesn": 67, "get_sub_tensordict": 67, "orgiin": 67}, "objects": {"tensordict": [[4, 0, 1, "", "LazyStackedTensorDict"], [5, 0, 1, "", "MemoryMappedTensor"], [6, 0, 1, "", "NonTensorData"], [7, 0, 1, "", "PersistentTensorDict"], [8, 0, 1, "", "SubTensorDict"], [9, 0, 1, "", "TensorDict"], [10, 0, 1, "", "TensorDictBase"], [11, 0, 1, "", "TensorDictParams"], [12, 0, 1, "", "dense_stack_tds"], [13, 0, 1, "", "is_batchedtensor"], [14, 0, 1, "", "is_memmap"], [15, 0, 1, "", "is_tensor_collection"], [16, 0, 1, "", "lazy_legacy"], [17, 0, 1, "", "make_tensordict"], [18, 0, 1, "", "merge_tensordicts"], [42, 0, 1, "", "pad"], [43, 0, 1, "", "pad_sequence"], [45, 0, 1, "", "set_lazy_legacy"], [46, 0, 1, "", "tensorclass"]], "tensordict.LazyStackedTensorDict": [[4, 1, 1, "", "all"], [4, 1, 1, "", "any"], [4, 1, 1, "", "append"], [4, 1, 1, "", "apply"], [4, 1, 1, "", "apply_"], [4, 1, 1, "", "auto_batch_size_"], [4, 2, 1, "", "batch_dims"], [4, 2, 1, "", "batch_size"], [4, 1, 1, "", "bfloat16"], [4, 1, 1, "", "bool"], [4, 1, 1, "", "chunk"], [4, 1, 1, "", "clear"], [4, 1, 1, "", "clear_device_"], [4, 1, 1, "", "clone"], [4, 1, 1, "", "contiguous"], [4, 1, 1, "", "copy"], [4, 1, 1, "", "copy_"], [4, 1, 1, "", "copy_at_"], [4, 1, 1, "", "cpu"], [4, 1, 1, "", "create_nested"], [4, 1, 1, "", "cuda"], [4, 1, 1, "", "del_"], [4, 1, 1, "", "detach"], [4, 1, 1, "", "detach_"], [4, 2, 1, "", "device"], [4, 1, 1, "", "dim"], [4, 1, 1, "", "double"], [4, 1, 1, "", "empty"], [4, 1, 1, "", "entry_class"], [4, 1, 1, "", "exclude"], [4, 1, 1, "", "expand"], [4, 1, 1, "", "fill_"], [4, 1, 1, "", "filter_non_tensor_data"], [4, 1, 1, "", "flatten"], [4, 1, 1, "", "flatten_keys"], [4, 1, 1, "", "float"], [4, 1, 1, "", "from_module"], [4, 1, 1, "", "gather"], [4, 1, 1, "", "gather_and_stack"], [4, 1, 1, "", "get"], [4, 1, 1, "", "get_at"], [4, 1, 1, "", "get_item_shape"], [4, 1, 1, "", "get_nestedtensor"], [4, 1, 1, "", "get_non_tensor"], [4, 1, 1, "", "half"], [4, 1, 1, "", "insert"], [4, 1, 1, "", "int"], [4, 1, 1, "", "irecv"], [4, 1, 1, "", "is_contiguous"], [4, 1, 1, "", "is_empty"], [4, 1, 1, "", "is_memmap"], [4, 1, 1, "", "is_shared"], [4, 1, 1, "", "isend"], [4, 1, 1, "", "items"], [4, 1, 1, "", "keys"], [4, 1, 1, "", "lazy_stack"], [4, 1, 1, "", "load_state_dict"], [4, 1, 1, "", "map"], [4, 1, 1, "", "masked_fill"], [4, 1, 1, "", "masked_fill_"], [4, 1, 1, "", "masked_select"], [4, 1, 1, "", "maybe_dense_stack"], [4, 1, 1, "", "memmap"], [4, 1, 1, "", "memmap_"], [4, 1, 1, "", "memmap_like"], [4, 1, 1, "", "named_apply"], [4, 2, 1, "", "ndim"], [4, 1, 1, "", "ndimension"], [4, 1, 1, "", "numel"], [4, 1, 1, "", "permute"], [4, 1, 1, "", "pin_memory"], [4, 1, 1, "", "pop"], [4, 1, 1, "", "popitem"], [4, 1, 1, "", "recv"], [4, 1, 1, "", "reduce"], [4, 1, 1, "", "refine_names"], [4, 1, 1, "", "rename"], [4, 1, 1, "", "rename_"], [4, 1, 1, "", "rename_key_"], [4, 1, 1, "", "reshape"], [4, 1, 1, "", "select"], [4, 1, 1, "", "send"], [4, 1, 1, "", "set"], [4, 1, 1, "", "set_"], [4, 1, 1, "", "set_at_"], [4, 1, 1, "", "set_non_tensor"], [4, 1, 1, "", "setdefault"], [4, 2, 1, "", "shape"], [4, 1, 1, "", "share_memory_"], [4, 1, 1, "", "size"], [4, 2, 1, "", "sorted_keys"], [4, 1, 1, "", "split"], [4, 1, 1, "", "squeeze"], [4, 1, 1, "", "state_dict"], [4, 1, 1, "", "to"], [4, 1, 1, "", "to_dict"], [4, 1, 1, "", "to_h5"], [4, 1, 1, "", "to_module"], [4, 1, 1, "", "to_tensordict"], [4, 1, 1, "", "transpose"], [4, 1, 1, "", "type"], [4, 1, 1, "", "unbind"], [4, 1, 1, "", "unflatten"], [4, 1, 1, "", "unflatten_keys"], [4, 1, 1, "", "unsqueeze"], [4, 1, 1, "", "update"], [4, 1, 1, "", "update_"], [4, 1, 1, "", "update_at_"], [4, 1, 1, "", "valid_keys"], [4, 1, 1, "", "values"], [4, 1, 1, "", "view"], [4, 1, 1, "", "where"], [4, 1, 1, "", "zero_"]], "tensordict.MemoryMappedTensor": [[5, 3, 1, "", "H"], [5, 3, 1, "", "T"], [5, 1, 1, "", "abs"], [5, 1, 1, "", "abs_"], [5, 1, 1, "", "absolute"], [5, 1, 1, "", "absolute_"], [5, 1, 1, "", "acos"], [5, 1, 1, "", "acos_"], [5, 1, 1, "", "acosh"], [5, 1, 1, "", "acosh_"], [5, 1, 1, "", "add"], [5, 1, 1, "", "add_"], [5, 1, 1, "", "addbmm"], [5, 1, 1, "", "addbmm_"], [5, 1, 1, "", "addcdiv"], [5, 1, 1, "", "addcdiv_"], [5, 1, 1, "", "addcmul"], [5, 1, 1, "", "addcmul_"], [5, 1, 1, "", "addmm"], [5, 1, 1, "", "addmm_"], [5, 1, 1, "", "addmv"], [5, 1, 1, "", "addmv_"], [5, 1, 1, "", "addr"], [5, 1, 1, "", "addr_"], [5, 1, 1, "", "adjoint"], [5, 1, 1, "", "align_as"], [5, 1, 1, "", "align_to"], [5, 1, 1, "", "all"], [5, 1, 1, "", "allclose"], [5, 1, 1, "", "amax"], [5, 1, 1, "", "amin"], [5, 1, 1, "", "aminmax"], [5, 1, 1, "", "angle"], [5, 1, 1, "", "any"], [5, 1, 1, "", "apply_"], [5, 1, 1, "", "arccos"], [5, 1, 1, "", "arccos_"], [5, 1, 1, "", "arccosh"], [5, 1, 1, "", "arccosh_"], [5, 1, 1, "", "arcsin"], [5, 1, 1, "", "arcsin_"], [5, 1, 1, "", "arcsinh"], [5, 1, 1, "", "arcsinh_"], [5, 1, 1, "", "arctan"], [5, 1, 1, "", "arctan2"], [5, 1, 1, "", "arctan2_"], [5, 1, 1, "", "arctan_"], [5, 1, 1, "", "arctanh"], [5, 1, 1, "", "arctanh_"], [5, 1, 1, "", "argmax"], [5, 1, 1, "", "argmin"], [5, 1, 1, "", "argsort"], [5, 1, 1, "", "argwhere"], [5, 1, 1, "", "as_strided"], [5, 1, 1, "", "as_strided_"], [5, 1, 1, "", "as_strided_scatter"], [5, 1, 1, "", "as_subclass"], [5, 1, 1, "", "asin"], [5, 1, 1, "", "asin_"], [5, 1, 1, "", "asinh"], [5, 1, 1, "", "asinh_"], [5, 1, 1, "", "atan"], [5, 1, 1, "", "atan2"], [5, 1, 1, "", "atan2_"], [5, 1, 1, "", "atan_"], [5, 1, 1, "", "atanh"], [5, 1, 1, "", "atanh_"], [5, 1, 1, "", "backward"], [5, 1, 1, "", "baddbmm"], [5, 1, 1, "", "baddbmm_"], [5, 1, 1, "", "bernoulli"], [5, 1, 1, "", "bernoulli_"], [5, 1, 1, "", "bfloat16"], [5, 1, 1, "", "bincount"], [5, 1, 1, "", "bitwise_and"], [5, 1, 1, "", "bitwise_and_"], [5, 1, 1, "", "bitwise_left_shift"], [5, 1, 1, "", "bitwise_left_shift_"], [5, 1, 1, "", "bitwise_not"], [5, 1, 1, "", "bitwise_not_"], [5, 1, 1, "", "bitwise_or"], [5, 1, 1, "", "bitwise_or_"], [5, 1, 1, "", "bitwise_right_shift"], [5, 1, 1, "", "bitwise_right_shift_"], [5, 1, 1, "", "bitwise_xor"], [5, 1, 1, "", "bitwise_xor_"], [5, 1, 1, "", "bmm"], [5, 1, 1, "", "bool"], [5, 1, 1, "", "broadcast_to"], [5, 1, 1, "", "byte"], [5, 1, 1, "", "cauchy_"], [5, 1, 1, "", "cdouble"], [5, 1, 1, "", "ceil"], [5, 1, 1, "", "ceil_"], [5, 1, 1, "", "cfloat"], [5, 1, 1, "", "chalf"], [5, 1, 1, "", "char"], [5, 1, 1, "", "cholesky"], [5, 1, 1, "", "cholesky_inverse"], [5, 1, 1, "", "cholesky_solve"], [5, 1, 1, "", "chunk"], [5, 1, 1, "", "clamp"], [5, 1, 1, "", "clamp_"], [5, 1, 1, "", "clip"], [5, 1, 1, "", "clip_"], [5, 1, 1, "", "clone"], [5, 1, 1, "", "coalesce"], [5, 1, 1, "", "col_indices"], [5, 1, 1, "", "conj"], [5, 1, 1, "", "conj_physical"], [5, 1, 1, "", "conj_physical_"], [5, 1, 1, "", "contiguous"], [5, 1, 1, "", "copy_"], [5, 1, 1, "", "copysign"], [5, 1, 1, "", "copysign_"], [5, 1, 1, "", "corrcoef"], [5, 1, 1, "", "cos"], [5, 1, 1, "", "cos_"], [5, 1, 1, "", "cosh"], [5, 1, 1, "", "cosh_"], [5, 1, 1, "", "count_nonzero"], [5, 1, 1, "", "cov"], [5, 1, 1, "", "cpu"], [5, 1, 1, "", "cross"], [5, 1, 1, "", "crow_indices"], [5, 1, 1, "", "cuda"], [5, 1, 1, "", "cummax"], [5, 1, 1, "", "cummin"], [5, 1, 1, "", "cumprod"], [5, 1, 1, "", "cumprod_"], [5, 1, 1, "", "cumsum"], [5, 1, 1, "", "cumsum_"], [5, 1, 1, "", "data_ptr"], [5, 1, 1, "", "deg2rad"], [5, 1, 1, "", "deg2rad_"], [5, 1, 1, "", "dense_dim"], [5, 1, 1, "", "dequantize"], [5, 1, 1, "", "det"], [5, 1, 1, "", "detach"], [5, 1, 1, "", "detach_"], [5, 3, 1, "", "device"], [5, 1, 1, "", "diag"], [5, 1, 1, "", "diag_embed"], [5, 1, 1, "", "diagflat"], [5, 1, 1, "", "diagonal"], [5, 1, 1, "", "diagonal_scatter"], [5, 1, 1, "", "diff"], [5, 1, 1, "", "digamma"], [5, 1, 1, "", "digamma_"], [5, 1, 1, "", "dim"], [5, 1, 1, "", "dim_order"], [5, 1, 1, "", "dist"], [5, 1, 1, "", "div"], [5, 1, 1, "", "div_"], [5, 1, 1, "", "divide"], [5, 1, 1, "", "divide_"], [5, 1, 1, "", "dot"], [5, 1, 1, "", "double"], [5, 1, 1, "", "dsplit"], [5, 1, 1, "", "element_size"], [5, 1, 1, "", "empty"], [5, 1, 1, "", "empty_like"], [5, 1, 1, "", "eq"], [5, 1, 1, "", "eq_"], [5, 1, 1, "", "equal"], [5, 1, 1, "", "erf"], [5, 1, 1, "", "erf_"], [5, 1, 1, "", "erfc"], [5, 1, 1, "", "erfc_"], [5, 1, 1, "", "erfinv"], [5, 1, 1, "", "erfinv_"], [5, 1, 1, "", "exp"], [5, 1, 1, "", "exp2"], [5, 1, 1, "", "exp2_"], [5, 1, 1, "", "exp_"], [5, 1, 1, "", "expand"], [5, 1, 1, "", "expand_as"], [5, 1, 1, "", "expm1"], [5, 1, 1, "", "expm1_"], [5, 1, 1, "", "exponential_"], [5, 2, 1, "", "filename"], [5, 1, 1, "", "fill_"], [5, 1, 1, "", "fill_diagonal_"], [5, 1, 1, "", "fix"], [5, 1, 1, "", "fix_"], [5, 1, 1, "", "flatten"], [5, 1, 1, "", "flip"], [5, 1, 1, "", "fliplr"], [5, 1, 1, "", "flipud"], [5, 1, 1, "", "float"], [5, 1, 1, "", "float_power"], [5, 1, 1, "", "float_power_"], [5, 1, 1, "", "floor"], [5, 1, 1, "", "floor_"], [5, 1, 1, "", "floor_divide"], [5, 1, 1, "", "floor_divide_"], [5, 1, 1, "", "fmax"], [5, 1, 1, "", "fmin"], [5, 1, 1, "", "fmod"], [5, 1, 1, "", "fmod_"], [5, 1, 1, "", "frac"], [5, 1, 1, "", "frac_"], [5, 1, 1, "", "frexp"], [5, 1, 1, "", "from_filename"], [5, 1, 1, "", "from_handler"], [5, 1, 1, "", "from_tensor"], [5, 1, 1, "", "full"], [5, 1, 1, "", "full_like"], [5, 1, 1, "", "gather"], [5, 1, 1, "", "gcd"], [5, 1, 1, "", "gcd_"], [5, 1, 1, "", "ge"], [5, 1, 1, "", "ge_"], [5, 1, 1, "", "geometric_"], [5, 1, 1, "", "geqrf"], [5, 1, 1, "", "ger"], [5, 1, 1, "", "get_device"], [5, 3, 1, "", "grad"], [5, 1, 1, "", "greater"], [5, 1, 1, "", "greater_"], [5, 1, 1, "", "greater_equal"], [5, 1, 1, "", "greater_equal_"], [5, 1, 1, "", "gt"], [5, 1, 1, "", "gt_"], [5, 1, 1, "", "half"], [5, 1, 1, "", "hardshrink"], [5, 1, 1, "", "has_names"], [5, 1, 1, "", "heaviside"], [5, 1, 1, "", "heaviside_"], [5, 1, 1, "", "histc"], [5, 1, 1, "", "histogram"], [5, 1, 1, "", "hsplit"], [5, 1, 1, "", "hypot"], [5, 1, 1, "", "hypot_"], [5, 1, 1, "", "i0"], [5, 1, 1, "", "i0_"], [5, 1, 1, "", "igamma"], [5, 1, 1, "", "igamma_"], [5, 1, 1, "", "igammac"], [5, 1, 1, "", "igammac_"], [5, 3, 1, "", "imag"], [5, 1, 1, "", "index_add"], [5, 1, 1, "", "index_add_"], [5, 1, 1, "", "index_copy"], [5, 1, 1, "", "index_copy_"], [5, 1, 1, "", "index_fill"], [5, 1, 1, "", "index_fill_"], [5, 1, 1, "", "index_put"], [5, 1, 1, "", "index_put_"], [5, 1, 1, "", "index_reduce_"], [5, 1, 1, "", "index_select"], [5, 1, 1, "", "indices"], [5, 1, 1, "", "inner"], [5, 1, 1, "", "int"], [5, 1, 1, "", "int_repr"], [5, 1, 1, "", "inverse"], [5, 1, 1, "", "ipu"], [5, 1, 1, "", "is_coalesced"], [5, 1, 1, "", "is_complex"], [5, 1, 1, "", "is_conj"], [5, 1, 1, "", "is_contiguous"], [5, 3, 1, "", "is_cpu"], [5, 3, 1, "", "is_cuda"], [5, 1, 1, "", "is_floating_point"], [5, 1, 1, "", "is_inference"], [5, 3, 1, "", "is_ipu"], [5, 3, 1, "", "is_leaf"], [5, 3, 1, "", "is_meta"], [5, 3, 1, "", "is_mps"], [5, 1, 1, "", "is_neg"], [5, 1, 1, "", "is_pinned"], [5, 3, 1, "", "is_quantized"], [5, 1, 1, "", "is_set_to"], [5, 1, 1, "", "is_shared"], [5, 1, 1, "", "is_signed"], [5, 3, 1, "", "is_sparse"], [5, 3, 1, "", "is_sparse_csr"], [5, 3, 1, "", "is_xla"], [5, 3, 1, "", "is_xpu"], [5, 1, 1, "", "isclose"], [5, 1, 1, "", "isfinite"], [5, 1, 1, "", "isinf"], [5, 1, 1, "", "isnan"], [5, 1, 1, "", "isneginf"], [5, 1, 1, "", "isposinf"], [5, 1, 1, "", "isreal"], [5, 1, 1, "", "istft"], [5, 1, 1, "", "item"], [5, 3, 1, "", "itemsize"], [5, 1, 1, "", "kron"], [5, 1, 1, "", "kthvalue"], [5, 1, 1, "", "lcm"], [5, 1, 1, "", "lcm_"], [5, 1, 1, "", "ldexp"], [5, 1, 1, "", "ldexp_"], [5, 1, 1, "", "le"], [5, 1, 1, "", "le_"], [5, 1, 1, "", "lerp"], [5, 1, 1, "", "lerp_"], [5, 1, 1, "", "less"], [5, 1, 1, "", "less_"], [5, 1, 1, "", "less_equal"], [5, 1, 1, "", "less_equal_"], [5, 1, 1, "", "lgamma"], [5, 1, 1, "", "lgamma_"], [5, 1, 1, "", "log"], [5, 1, 1, "", "log10"], [5, 1, 1, "", "log10_"], [5, 1, 1, "", "log1p"], [5, 1, 1, "", "log1p_"], [5, 1, 1, "", "log2"], [5, 1, 1, "", "log2_"], [5, 1, 1, "", "log_"], [5, 1, 1, "", "log_normal_"], [5, 1, 1, "", "logaddexp"], [5, 1, 1, "", "logaddexp2"], [5, 1, 1, "", "logcumsumexp"], [5, 1, 1, "", "logdet"], [5, 1, 1, "", "logical_and"], [5, 1, 1, "", "logical_and_"], [5, 1, 1, "", "logical_not"], [5, 1, 1, "", "logical_not_"], [5, 1, 1, "", "logical_or"], [5, 1, 1, "", "logical_or_"], [5, 1, 1, "", "logical_xor"], [5, 1, 1, "", "logical_xor_"], [5, 1, 1, "", "logit"], [5, 1, 1, "", "logit_"], [5, 1, 1, "", "logsumexp"], [5, 1, 1, "", "long"], [5, 1, 1, "", "lt"], [5, 1, 1, "", "lt_"], [5, 1, 1, "", "lu"], [5, 1, 1, "", "lu_solve"], [5, 3, 1, "", "mH"], [5, 3, 1, "", "mT"], [5, 1, 1, "", "map_"], [5, 1, 1, "", "masked_fill"], [5, 1, 1, "", "masked_fill_"], [5, 1, 1, "", "masked_scatter"], [5, 1, 1, "", "masked_scatter_"], [5, 1, 1, "", "masked_select"], [5, 1, 1, "", "matmul"], [5, 1, 1, "", "matrix_exp"], [5, 1, 1, "", "matrix_power"], [5, 1, 1, "", "max"], [5, 1, 1, "", "maximum"], [5, 1, 1, "", "mean"], [5, 1, 1, "", "median"], [5, 1, 1, "", "min"], [5, 1, 1, "", "minimum"], [5, 1, 1, "", "mm"], [5, 1, 1, "", "mode"], [5, 1, 1, "", "moveaxis"], [5, 1, 1, "", "movedim"], [5, 1, 1, "", "msort"], [5, 1, 1, "", "mul"], [5, 1, 1, "", "mul_"], [5, 1, 1, "", "multinomial"], [5, 1, 1, "", "multiply"], [5, 1, 1, "", "multiply_"], [5, 1, 1, "", "mv"], [5, 1, 1, "", "mvlgamma"], [5, 1, 1, "", "mvlgamma_"], [5, 3, 1, "", "names"], [5, 1, 1, "", "nan_to_num"], [5, 1, 1, "", "nan_to_num_"], [5, 1, 1, "", "nanmean"], [5, 1, 1, "", "nanmedian"], [5, 1, 1, "", "nanquantile"], [5, 1, 1, "", "nansum"], [5, 1, 1, "", "narrow"], [5, 1, 1, "", "narrow_copy"], [5, 3, 1, "", "nbytes"], [5, 3, 1, "", "ndim"], [5, 1, 1, "", "ndimension"], [5, 1, 1, "", "ne"], [5, 1, 1, "", "ne_"], [5, 1, 1, "", "neg"], [5, 1, 1, "", "neg_"], [5, 1, 1, "", "negative"], [5, 1, 1, "", "negative_"], [5, 1, 1, "", "nelement"], [5, 1, 1, "", "new_empty"], [5, 1, 1, "", "new_empty_strided"], [5, 1, 1, "", "new_full"], [5, 1, 1, "", "new_ones"], [5, 1, 1, "", "new_tensor"], [5, 1, 1, "", "new_zeros"], [5, 1, 1, "", "nextafter"], [5, 1, 1, "", "nextafter_"], [5, 1, 1, "", "nonzero"], [5, 1, 1, "", "nonzero_static"], [5, 1, 1, "", "norm"], [5, 1, 1, "", "normal_"], [5, 1, 1, "", "not_equal"], [5, 1, 1, "", "not_equal_"], [5, 1, 1, "", "numel"], [5, 1, 1, "", "numpy"], [5, 1, 1, "", "ones"], [5, 1, 1, "", "ones_like"], [5, 1, 1, "", "orgqr"], [5, 1, 1, "", "ormqr"], [5, 1, 1, "", "outer"], [5, 1, 1, "", "permute"], [5, 1, 1, "", "pin_memory"], [5, 1, 1, "", "pinverse"], [5, 1, 1, "", "polygamma"], [5, 1, 1, "", "polygamma_"], [5, 1, 1, "", "positive"], [5, 1, 1, "", "pow"], [5, 1, 1, "", "pow_"], [5, 1, 1, "", "prod"], [5, 1, 1, "", "put"], [5, 1, 1, "", "put_"], [5, 1, 1, "", "q_per_channel_axis"], [5, 1, 1, "", "q_per_channel_scales"], [5, 1, 1, "", "q_per_channel_zero_points"], [5, 1, 1, "", "q_scale"], [5, 1, 1, "", "q_zero_point"], [5, 1, 1, "", "qr"], [5, 1, 1, "", "qscheme"], [5, 1, 1, "", "quantile"], [5, 1, 1, "", "rad2deg"], [5, 1, 1, "", "rad2deg_"], [5, 1, 1, "", "random_"], [5, 1, 1, "", "ravel"], [5, 3, 1, "", "real"], [5, 1, 1, "", "reciprocal"], [5, 1, 1, "", "reciprocal_"], [5, 1, 1, "", "record_stream"], [5, 1, 1, "", "refine_names"], [5, 1, 1, "", "register_hook"], [5, 1, 1, "", "register_post_accumulate_grad_hook"], [5, 1, 1, "", "remainder"], [5, 1, 1, "", "remainder_"], [5, 1, 1, "", "rename"], [5, 1, 1, "", "rename_"], [5, 1, 1, "", "renorm"], [5, 1, 1, "", "renorm_"], [5, 1, 1, "", "repeat"], [5, 1, 1, "", "repeat_interleave"], [5, 3, 1, "", "requires_grad"], [5, 1, 1, "", "requires_grad_"], [5, 1, 1, "", "reshape"], [5, 1, 1, "", "reshape_as"], [5, 1, 1, "", "resize_"], [5, 1, 1, "", "resize_as_"], [5, 1, 1, "", "resolve_conj"], [5, 1, 1, "", "resolve_neg"], [5, 1, 1, "", "retain_grad"], [5, 3, 1, "", "retains_grad"], [5, 1, 1, "", "roll"], [5, 1, 1, "", "rot90"], [5, 1, 1, "", "round"], [5, 1, 1, "", "round_"], [5, 1, 1, "", "rsqrt"], [5, 1, 1, "", "rsqrt_"], [5, 1, 1, "", "scatter"], [5, 1, 1, "", "scatter_"], [5, 1, 1, "", "scatter_add"], [5, 1, 1, "", "scatter_add_"], [5, 1, 1, "", "scatter_reduce"], [5, 1, 1, "", "scatter_reduce_"], [5, 1, 1, "", "select"], [5, 1, 1, "", "select_scatter"], [5, 1, 1, "", "set_"], [5, 1, 1, "", "sgn"], [5, 1, 1, "", "sgn_"], [5, 3, 1, "", "shape"], [5, 1, 1, "", "share_memory_"], [5, 1, 1, "", "short"], [5, 1, 1, "", "sigmoid"], [5, 1, 1, "", "sigmoid_"], [5, 1, 1, "", "sign"], [5, 1, 1, "", "sign_"], [5, 1, 1, "", "signbit"], [5, 1, 1, "", "sin"], [5, 1, 1, "", "sin_"], [5, 1, 1, "", "sinc"], [5, 1, 1, "", "sinc_"], [5, 1, 1, "", "sinh"], [5, 1, 1, "", "sinh_"], [5, 1, 1, "", "size"], [5, 1, 1, "", "slice_scatter"], [5, 1, 1, "", "slogdet"], [5, 1, 1, "", "smm"], [5, 1, 1, "", "softmax"], [5, 1, 1, "", "sort"], [5, 1, 1, "", "sparse_dim"], [5, 1, 1, "", "sparse_mask"], [5, 1, 1, "", "sparse_resize_"], [5, 1, 1, "", "sparse_resize_and_clear_"], [5, 1, 1, "", "sqrt"], [5, 1, 1, "", "sqrt_"], [5, 1, 1, "", "square"], [5, 1, 1, "", "square_"], [5, 1, 1, "", "squeeze"], [5, 1, 1, "", "squeeze_"], [5, 1, 1, "", "sspaddmm"], [5, 1, 1, "", "std"], [5, 1, 1, "", "stft"], [5, 1, 1, "", "storage"], [5, 1, 1, "", "storage_offset"], [5, 1, 1, "", "storage_type"], [5, 1, 1, "", "stride"], [5, 1, 1, "", "sub"], [5, 1, 1, "", "sub_"], [5, 1, 1, "", "subtract"], [5, 1, 1, "", "subtract_"], [5, 1, 1, "", "sum"], [5, 1, 1, "", "sum_to_size"], [5, 1, 1, "", "svd"], [5, 1, 1, "", "swapaxes"], [5, 1, 1, "", "swapaxes_"], [5, 1, 1, "", "swapdims"], [5, 1, 1, "", "swapdims_"], [5, 1, 1, "", "t"], [5, 1, 1, "", "t_"], [5, 1, 1, "", "take"], [5, 1, 1, "", "take_along_dim"], [5, 1, 1, "", "tan"], [5, 1, 1, "", "tan_"], [5, 1, 1, "", "tanh"], [5, 1, 1, "", "tanh_"], [5, 1, 1, "", "tensor_split"], [5, 1, 1, "", "tile"], [5, 1, 1, "", "to"], [5, 1, 1, "", "to_dense"], [5, 1, 1, "", "to_mkldnn"], [5, 1, 1, "", "to_padded_tensor"], [5, 1, 1, "", "to_sparse"], [5, 1, 1, "", "to_sparse_bsc"], [5, 1, 1, "", "to_sparse_bsr"], [5, 1, 1, "", "to_sparse_coo"], [5, 1, 1, "", "to_sparse_csc"], [5, 1, 1, "", "to_sparse_csr"], [5, 1, 1, "", "tolist"], [5, 1, 1, "", "topk"], [5, 1, 1, "", "trace"], [5, 1, 1, "", "transpose"], [5, 1, 1, "", "transpose_"], [5, 1, 1, "", "triangular_solve"], [5, 1, 1, "", "tril"], [5, 1, 1, "", "tril_"], [5, 1, 1, "", "triu"], [5, 1, 1, "", "triu_"], [5, 1, 1, "", "true_divide"], [5, 1, 1, "", "true_divide_"], [5, 1, 1, "", "trunc"], [5, 1, 1, "", "trunc_"], [5, 1, 1, "", "type"], [5, 1, 1, "", "type_as"], [5, 1, 1, "", "unbind"], [5, 1, 1, "", "unflatten"], [5, 1, 1, "", "unfold"], [5, 1, 1, "", "uniform_"], [5, 1, 1, "", "unique"], [5, 1, 1, "", "unique_consecutive"], [5, 1, 1, "", "unsafe_chunk"], [5, 1, 1, "", "unsafe_split"], [5, 1, 1, "", "unsqueeze"], [5, 1, 1, "", "unsqueeze_"], [5, 1, 1, "", "untyped_storage"], [5, 1, 1, "", "values"], [5, 1, 1, "", "var"], [5, 1, 1, "", "vdot"], [5, 1, 1, "", "view"], [5, 1, 1, "", "view_as"], [5, 1, 1, "", "vsplit"], [5, 1, 1, "", "where"], [5, 1, 1, "", "xlogy"], [5, 1, 1, "", "xlogy_"], [5, 1, 1, "", "xpu"], [5, 1, 1, "", "zero_"], [5, 1, 1, "", "zeros"], [5, 1, 1, "", "zeros_like"]], "tensordict.NonTensorData": [[6, 2, 1, "", "batch_size"], [6, 2, 1, "", "device"], [6, 1, 1, "", "from_dict"], [6, 1, 1, "", "from_tensordict"], [6, 1, 1, "", "get"], [6, 1, 1, "", "load_state_dict"], [6, 1, 1, "", "memmap"], [6, 1, 1, "", "memmap_"], [6, 1, 1, "", "memmap_like"], [6, 1, 1, "", "set"], [6, 1, 1, "", "state_dict"], [6, 1, 1, "", "to_tensordict"], [6, 1, 1, "", "unbind"]], "tensordict.PersistentTensorDict": [[7, 1, 1, "", "all"], [7, 1, 1, "", "any"], [7, 1, 1, "", "apply"], [7, 1, 1, "", "apply_"], [7, 1, 1, "", "auto_batch_size_"], [7, 2, 1, "", "batch_dims"], [7, 2, 1, "", "batch_size"], [7, 1, 1, "", "bfloat16"], [7, 1, 1, "", "bool"], [7, 1, 1, "", "chunk"], [7, 1, 1, "", "clear"], [7, 1, 1, "", "clear_device_"], [7, 1, 1, "", "clone"], [7, 1, 1, "", "close"], [7, 1, 1, "", "contiguous"], [7, 1, 1, "", "copy"], [7, 1, 1, "", "copy_"], [7, 1, 1, "", "copy_at_"], [7, 1, 1, "", "cpu"], [7, 1, 1, "", "create_nested"], [7, 1, 1, "", "cuda"], [7, 1, 1, "", "del_"], [7, 1, 1, "", "detach"], [7, 1, 1, "", "detach_"], [7, 2, 1, "", "device"], [7, 1, 1, "", "dim"], [7, 1, 1, "", "double"], [7, 1, 1, "", "empty"], [7, 1, 1, "", "entry_class"], [7, 1, 1, "", "exclude"], [7, 1, 1, "", "expand"], [7, 1, 1, "", "fill_"], [7, 1, 1, "", "filter_non_tensor_data"], [7, 1, 1, "", "flatten"], [7, 1, 1, "", "flatten_keys"], [7, 1, 1, "", "float"], [7, 1, 1, "", "from_dict"], [7, 1, 1, "", "from_h5"], [7, 1, 1, "", "from_module"], [7, 1, 1, "", "gather"], [7, 1, 1, "", "gather_and_stack"], [7, 1, 1, "", "get"], [7, 1, 1, "", "get_at"], [7, 1, 1, "", "get_item_shape"], [7, 1, 1, "", "get_non_tensor"], [7, 1, 1, "", "half"], [7, 1, 1, "", "int"], [7, 1, 1, "", "irecv"], [7, 1, 1, "", "is_contiguous"], [7, 1, 1, "", "is_empty"], [7, 1, 1, "", "is_memmap"], [7, 1, 1, "", "is_shared"], [7, 1, 1, "", "isend"], [7, 1, 1, "", "items"], [7, 1, 1, "", "keys"], [7, 1, 1, "", "load_state_dict"], [7, 1, 1, "", "map"], [7, 1, 1, "", "masked_fill"], [7, 1, 1, "", "masked_fill_"], [7, 1, 1, "", "masked_select"], [7, 1, 1, "", "memmap"], [7, 1, 1, "", "memmap_"], [7, 1, 1, "", "memmap_like"], [7, 1, 1, "", "named_apply"], [7, 2, 1, "", "ndim"], [7, 1, 1, "", "ndimension"], [7, 1, 1, "", "numel"], [7, 1, 1, "", "permute"], [7, 1, 1, "", "pin_memory"], [7, 1, 1, "", "pop"], [7, 1, 1, "", "popitem"], [7, 1, 1, "", "recv"], [7, 1, 1, "", "reduce"], [7, 1, 1, "", "refine_names"], [7, 1, 1, "", "rename"], [7, 1, 1, "", "rename_"], [7, 1, 1, "", "rename_key_"], [7, 1, 1, "", "reshape"], [7, 1, 1, "", "select"], [7, 1, 1, "", "send"], [7, 1, 1, "", "set"], [7, 1, 1, "", "set_"], [7, 1, 1, "", "set_at_"], [7, 1, 1, "", "set_non_tensor"], [7, 1, 1, "", "setdefault"], [7, 2, 1, "", "shape"], [7, 1, 1, "", "share_memory_"], [7, 1, 1, "", "size"], [7, 2, 1, "", "sorted_keys"], [7, 1, 1, "", "split"], [7, 1, 1, "", "squeeze"], [7, 1, 1, "", "state_dict"], [7, 1, 1, "", "to"], [7, 1, 1, "", "to_dict"], [7, 1, 1, "", "to_h5"], [7, 1, 1, "", "to_module"], [7, 1, 1, "", "to_tensordict"], [7, 1, 1, "", "transpose"], [7, 1, 1, "", "type"], [7, 1, 1, "", "unbind"], [7, 1, 1, "", "unflatten"], [7, 1, 1, "", "unflatten_keys"], [7, 1, 1, "", "unsqueeze"], [7, 1, 1, "", "update"], [7, 1, 1, "", "update_"], [7, 1, 1, "", "update_at_"], [7, 1, 1, "", "values"], [7, 1, 1, "", "view"], [7, 1, 1, "", "where"], [7, 1, 1, "", "zero_"]], "tensordict.SubTensorDict": [[8, 1, 1, "", "all"], [8, 1, 1, "", "any"], [8, 1, 1, "", "apply"], [8, 1, 1, "", "apply_"], [8, 1, 1, "", "auto_batch_size_"], [8, 2, 1, "", "batch_dims"], [8, 2, 1, "", "batch_size"], [8, 1, 1, "", "bfloat16"], [8, 1, 1, "", "bool"], [8, 1, 1, "", "chunk"], [8, 1, 1, "", "clear"], [8, 1, 1, "", "clear_device_"], [8, 1, 1, "", "clone"], [8, 1, 1, "", "contiguous"], [8, 1, 1, "", "copy"], [8, 1, 1, "", "copy_"], [8, 1, 1, "", "copy_at_"], [8, 1, 1, "", "cpu"], [8, 1, 1, "", "create_nested"], [8, 1, 1, "", "cuda"], [8, 1, 1, "", "del_"], [8, 1, 1, "", "detach"], [8, 1, 1, "", "detach_"], [8, 2, 1, "", "device"], [8, 1, 1, "", "dim"], [8, 1, 1, "", "double"], [8, 1, 1, "", "empty"], [8, 1, 1, "", "entry_class"], [8, 1, 1, "", "exclude"], [8, 1, 1, "", "expand"], [8, 1, 1, "", "fill_"], [8, 1, 1, "", "filter_non_tensor_data"], [8, 1, 1, "", "flatten"], [8, 1, 1, "", "flatten_keys"], [8, 1, 1, "", "float"], [8, 1, 1, "", "from_module"], [8, 1, 1, "", "gather"], [8, 1, 1, "", "gather_and_stack"], [8, 1, 1, "", "get"], [8, 1, 1, "", "get_at"], [8, 1, 1, "", "get_item_shape"], [8, 1, 1, "", "get_non_tensor"], [8, 1, 1, "", "half"], [8, 1, 1, "", "int"], [8, 1, 1, "", "irecv"], [8, 1, 1, "", "is_contiguous"], [8, 1, 1, "", "is_empty"], [8, 1, 1, "", "is_memmap"], [8, 1, 1, "", "is_shared"], [8, 1, 1, "", "isend"], [8, 1, 1, "", "items"], [8, 1, 1, "", "keys"], [8, 1, 1, "", "load_state_dict"], [8, 1, 1, "", "map"], [8, 1, 1, "", "masked_fill"], [8, 1, 1, "", "masked_fill_"], [8, 1, 1, "", "masked_select"], [8, 1, 1, "", "memmap"], [8, 1, 1, "", "memmap_"], [8, 1, 1, "", "memmap_like"], [8, 1, 1, "", "named_apply"], [8, 2, 1, "", "ndim"], [8, 1, 1, "", "ndimension"], [8, 1, 1, "", "numel"], [8, 1, 1, "", "permute"], [8, 1, 1, "", "pin_memory"], [8, 1, 1, "", "pop"], [8, 1, 1, "", "popitem"], [8, 1, 1, "", "recv"], [8, 1, 1, "", "reduce"], [8, 1, 1, "", "refine_names"], [8, 1, 1, "", "rename"], [8, 1, 1, "", "rename_"], [8, 1, 1, "", "rename_key_"], [8, 1, 1, "", "reshape"], [8, 1, 1, "", "select"], [8, 1, 1, "", "send"], [8, 1, 1, "", "set"], [8, 1, 1, "", "set_"], [8, 1, 1, "", "set_at_"], [8, 1, 1, "", "set_non_tensor"], [8, 1, 1, "", "setdefault"], [8, 2, 1, "", "shape"], [8, 1, 1, "", "share_memory_"], [8, 1, 1, "", "size"], [8, 2, 1, "", "sorted_keys"], [8, 1, 1, "", "split"], [8, 1, 1, "", "squeeze"], [8, 1, 1, "", "state_dict"], [8, 1, 1, "", "to"], [8, 1, 1, "", "to_dict"], [8, 1, 1, "", "to_h5"], [8, 1, 1, "", "to_module"], [8, 1, 1, "", "to_tensordict"], [8, 1, 1, "", "transpose"], [8, 1, 1, "", "type"], [8, 1, 1, "", "unbind"], [8, 1, 1, "", "unflatten"], [8, 1, 1, "", "unflatten_keys"], [8, 1, 1, "", "unsqueeze"], [8, 1, 1, "", "update"], [8, 1, 1, "", "update_"], [8, 1, 1, "", "update_at_"], [8, 1, 1, "", "values"], [8, 1, 1, "", "view"], [8, 1, 1, "", "where"], [8, 1, 1, "", "zero_"]], "tensordict.TensorDict": [[9, 1, 1, "", "all"], [9, 1, 1, "", "any"], [9, 1, 1, "", "apply"], [9, 1, 1, "", "apply_"], [9, 1, 1, "", "auto_batch_size_"], [9, 2, 1, "", "batch_dims"], [9, 2, 1, "", "batch_size"], [9, 1, 1, "", "bfloat16"], [9, 1, 1, "", "bool"], [9, 1, 1, "", "chunk"], [9, 1, 1, "", "clear"], [9, 1, 1, "", "clear_device_"], [9, 1, 1, "", "clone"], [9, 1, 1, "", "contiguous"], [9, 1, 1, "", "copy"], [9, 1, 1, "", "copy_"], [9, 1, 1, "", "copy_at_"], [9, 1, 1, "", "cpu"], [9, 1, 1, "", "create_nested"], [9, 1, 1, "", "cuda"], [9, 1, 1, "", "del_"], [9, 1, 1, "", "detach"], [9, 1, 1, "", "detach_"], [9, 2, 1, "", "device"], [9, 1, 1, "", "dim"], [9, 1, 1, "", "double"], [9, 1, 1, "", "empty"], [9, 1, 1, "", "entry_class"], [9, 1, 1, "", "exclude"], [9, 1, 1, "", "expand"], [9, 1, 1, "", "fill_"], [9, 1, 1, "", "filter_non_tensor_data"], [9, 1, 1, "", "flatten"], [9, 1, 1, "", "flatten_keys"], [9, 1, 1, "", "float"], [9, 1, 1, "", "from_dict"], [9, 1, 1, "", "from_module"], [9, 1, 1, "", "gather"], [9, 1, 1, "", "gather_and_stack"], [9, 1, 1, "", "get"], [9, 1, 1, "", "get_at"], [9, 1, 1, "", "get_item_shape"], [9, 1, 1, "", "get_non_tensor"], [9, 1, 1, "", "half"], [9, 1, 1, "", "int"], [9, 1, 1, "", "irecv"], [9, 1, 1, "", "is_contiguous"], [9, 1, 1, "", "is_empty"], [9, 1, 1, "", "is_memmap"], [9, 1, 1, "", "is_shared"], [9, 1, 1, "", "isend"], [9, 1, 1, "", "items"], [9, 1, 1, "", "keys"], [9, 1, 1, "", "load_state_dict"], [9, 1, 1, "", "map"], [9, 1, 1, "", "masked_fill"], [9, 1, 1, "", "masked_fill_"], [9, 1, 1, "", "masked_select"], [9, 1, 1, "", "memmap"], [9, 1, 1, "", "memmap_"], [9, 1, 1, "", "memmap_like"], [9, 1, 1, "", "named_apply"], [9, 2, 1, "", "ndim"], [9, 1, 1, "", "ndimension"], [9, 1, 1, "", "numel"], [9, 1, 1, "", "permute"], [9, 1, 1, "", "pin_memory"], [9, 1, 1, "", "pop"], [9, 1, 1, "", "popitem"], [9, 1, 1, "", "recv"], [9, 1, 1, "", "reduce"], [9, 1, 1, "", "refine_names"], [9, 1, 1, "", "rename"], [9, 1, 1, "", "rename_"], [9, 1, 1, "", "rename_key_"], [9, 1, 1, "", "reshape"], [9, 1, 1, "", "select"], [9, 1, 1, "", "send"], [9, 1, 1, "", "set"], [9, 1, 1, "", "set_"], [9, 1, 1, "", "set_at_"], [9, 1, 1, "", "set_non_tensor"], [9, 1, 1, "", "setdefault"], [9, 2, 1, "", "shape"], [9, 1, 1, "", "share_memory_"], [9, 1, 1, "", "size"], [9, 2, 1, "", "sorted_keys"], [9, 1, 1, "", "split"], [9, 1, 1, "", "squeeze"], [9, 1, 1, "", "state_dict"], [9, 1, 1, "", "to"], [9, 1, 1, "", "to_dict"], [9, 1, 1, "", "to_h5"], [9, 1, 1, "", "to_module"], [9, 1, 1, "", "to_tensordict"], [9, 1, 1, "", "transpose"], [9, 1, 1, "", "type"], [9, 1, 1, "", "unbind"], [9, 1, 1, "", "unflatten"], [9, 1, 1, "", "unflatten_keys"], [9, 1, 1, "", "unsqueeze"], [9, 1, 1, "", "update"], [9, 1, 1, "", "update_"], [9, 1, 1, "", "update_at_"], [9, 1, 1, "", "values"], [9, 1, 1, "", "view"], [9, 1, 1, "", "where"], [9, 1, 1, "", "zero_"]], "tensordict.TensorDictBase": [[10, 1, 1, "", "all"], [10, 1, 1, "", "any"], [10, 1, 1, "", "apply"], [10, 1, 1, "", "apply_"], [10, 1, 1, "", "auto_batch_size_"], [10, 2, 1, "", "batch_dims"], [10, 2, 1, "", "batch_size"], [10, 1, 1, "", "bfloat16"], [10, 1, 1, "", "bool"], [10, 1, 1, "", "chunk"], [10, 1, 1, "", "clear"], [10, 1, 1, "", "clear_device_"], [10, 1, 1, "", "clone"], [10, 1, 1, "", "contiguous"], [10, 1, 1, "", "copy"], [10, 1, 1, "", "copy_"], [10, 1, 1, "", "copy_at_"], [10, 1, 1, "", "cpu"], [10, 1, 1, "", "create_nested"], [10, 1, 1, "", "cuda"], [10, 1, 1, "", "del_"], [10, 1, 1, "", "detach"], [10, 1, 1, "", "detach_"], [10, 2, 1, "", "device"], [10, 1, 1, "", "dim"], [10, 1, 1, "", "double"], [10, 1, 1, "", "empty"], [10, 1, 1, "", "entry_class"], [10, 1, 1, "", "exclude"], [10, 1, 1, "", "expand"], [10, 1, 1, "", "fill_"], [10, 1, 1, "", "filter_non_tensor_data"], [10, 1, 1, "", "flatten"], [10, 1, 1, "", "flatten_keys"], [10, 1, 1, "", "float"], [10, 1, 1, "", "from_module"], [10, 1, 1, "", "gather"], [10, 1, 1, "", "gather_and_stack"], [10, 1, 1, "", "get"], [10, 1, 1, "", "get_at"], [10, 1, 1, "", "get_item_shape"], [10, 1, 1, "", "get_non_tensor"], [10, 1, 1, "", "half"], [10, 1, 1, "", "int"], [10, 1, 1, "", "irecv"], [10, 1, 1, "", "is_contiguous"], [10, 1, 1, "", "is_empty"], [10, 1, 1, "", "is_memmap"], [10, 1, 1, "", "is_shared"], [10, 1, 1, "", "isend"], [10, 1, 1, "", "items"], [10, 1, 1, "", "keys"], [10, 1, 1, "", "load_state_dict"], [10, 1, 1, "", "map"], [10, 1, 1, "", "masked_fill"], [10, 1, 1, "", "masked_fill_"], [10, 1, 1, "", "masked_select"], [10, 1, 1, "", "memmap"], [10, 1, 1, "", "memmap_"], [10, 1, 1, "", "memmap_like"], [10, 1, 1, "", "named_apply"], [10, 2, 1, "", "ndim"], [10, 1, 1, "", "ndimension"], [10, 1, 1, "", "numel"], [10, 1, 1, "", "permute"], [10, 1, 1, "", "pin_memory"], [10, 1, 1, "", "pop"], [10, 1, 1, "", "popitem"], [10, 1, 1, "", "recv"], [10, 1, 1, "", "reduce"], [10, 1, 1, "", "refine_names"], [10, 1, 1, "", "rename"], [10, 1, 1, "", "rename_"], [10, 1, 1, "", "rename_key_"], [10, 1, 1, "", "reshape"], [10, 1, 1, "", "select"], [10, 1, 1, "", "send"], [10, 1, 1, "", "set"], [10, 1, 1, "", "set_"], [10, 1, 1, "", "set_at_"], [10, 1, 1, "", "set_non_tensor"], [10, 1, 1, "", "setdefault"], [10, 2, 1, "", "shape"], [10, 1, 1, "", "share_memory_"], [10, 1, 1, "", "size"], [10, 2, 1, "", "sorted_keys"], [10, 1, 1, "", "split"], [10, 1, 1, "", "squeeze"], [10, 1, 1, "", "state_dict"], [10, 1, 1, "", "to"], [10, 1, 1, "", "to_dict"], [10, 1, 1, "", "to_h5"], [10, 1, 1, "", "to_module"], [10, 1, 1, "", "to_tensordict"], [10, 1, 1, "", "transpose"], [10, 1, 1, "", "type"], [10, 1, 1, "", "unbind"], [10, 1, 1, "", "unflatten"], [10, 1, 1, "", "unflatten_keys"], [10, 1, 1, "", "unsqueeze"], [10, 1, 1, "", "update"], [10, 1, 1, "", "update_"], [10, 1, 1, "", "update_at_"], [10, 1, 1, "", "values"], [10, 1, 1, "", "view"], [10, 1, 1, "", "where"], [10, 1, 1, "", "zero_"]], "tensordict.TensorDictParams": [[11, 1, 1, "", "add_module"], [11, 1, 1, "", "all"], [11, 1, 1, "", "any"], [11, 1, 1, "", "apply"], [11, 1, 1, "", "apply_"], [11, 1, 1, "", "auto_batch_size_"], [11, 2, 1, "", "batch_dims"], [11, 2, 1, "", "batch_size"], [11, 1, 1, "", "bfloat16"], [11, 1, 1, "", "bool"], [11, 1, 1, "", "buffers"], [11, 1, 1, "", "children"], [11, 1, 1, "", "chunk"], [11, 1, 1, "", "clear"], [11, 1, 1, "", "clear_device_"], [11, 1, 1, "", "clone"], [11, 1, 1, "", "compile"], [11, 1, 1, "", "contiguous"], [11, 1, 1, "", "copy"], [11, 1, 1, "", "copy_"], [11, 1, 1, "", "copy_at_"], [11, 1, 1, "", "cpu"], [11, 1, 1, "", "create_nested"], [11, 1, 1, "", "cuda"], [11, 1, 1, "", "del_"], [11, 1, 1, "", "detach"], [11, 1, 1, "", "detach_"], [11, 2, 1, "", "device"], [11, 1, 1, "", "dim"], [11, 1, 1, "", "double"], [11, 1, 1, "", "empty"], [11, 1, 1, "", "entry_class"], [11, 1, 1, "", "eval"], [11, 1, 1, "", "exclude"], [11, 1, 1, "", "expand"], [11, 1, 1, "", "extra_repr"], [11, 1, 1, "", "fill_"], [11, 1, 1, "", "filter_non_tensor_data"], [11, 1, 1, "", "flatten"], [11, 1, 1, "", "flatten_keys"], [11, 1, 1, "", "float"], [11, 1, 1, "", "forward"], [11, 1, 1, "", "from_module"], [11, 1, 1, "", "gather"], [11, 1, 1, "", "gather_and_stack"], [11, 1, 1, "", "get"], [11, 1, 1, "", "get_at"], [11, 1, 1, "", "get_buffer"], [11, 1, 1, "", "get_extra_state"], [11, 1, 1, "", "get_item_shape"], [11, 1, 1, "", "get_non_tensor"], [11, 1, 1, "", "get_parameter"], [11, 1, 1, "", "get_submodule"], [11, 1, 1, "", "half"], [11, 1, 1, "", "int"], [11, 1, 1, "", "ipu"], [11, 1, 1, "", "irecv"], [11, 1, 1, "", "is_contiguous"], [11, 1, 1, "", "is_empty"], [11, 2, 1, "", "is_memmap"], [11, 2, 1, "", "is_shared"], [11, 1, 1, "", "isend"], [11, 1, 1, "", "items"], [11, 1, 1, "", "keys"], [11, 1, 1, "", "load_state_dict"], [11, 1, 1, "", "map"], [11, 1, 1, "", "masked_fill"], [11, 1, 1, "", "masked_fill_"], [11, 1, 1, "", "masked_select"], [11, 1, 1, "", "memmap"], [11, 1, 1, "", "memmap_"], [11, 1, 1, "", "memmap_like"], [11, 1, 1, "", "modules"], [11, 1, 1, "", "named_apply"], [11, 1, 1, "", "named_buffers"], [11, 1, 1, "", "named_children"], [11, 1, 1, "", "named_modules"], [11, 1, 1, "", "named_parameters"], [11, 2, 1, "", "ndim"], [11, 1, 1, "", "ndimension"], [11, 1, 1, "", "numel"], [11, 1, 1, "", "parameters"], [11, 1, 1, "", "permute"], [11, 1, 1, "", "pin_memory"], [11, 1, 1, "", "pop"], [11, 1, 1, "", "popitem"], [11, 1, 1, "", "recv"], [11, 1, 1, "", "reduce"], [11, 1, 1, "", "refine_names"], [11, 1, 1, "", "register_backward_hook"], [11, 1, 1, "", "register_buffer"], [11, 1, 1, "", "register_forward_hook"], [11, 1, 1, "", "register_forward_pre_hook"], [11, 1, 1, "", "register_full_backward_hook"], [11, 1, 1, "", "register_full_backward_pre_hook"], [11, 1, 1, "", "register_get_post_hook"], [11, 1, 1, "", "register_load_state_dict_post_hook"], [11, 1, 1, "", "register_module"], [11, 1, 1, "", "register_parameter"], [11, 1, 1, "", "register_state_dict_pre_hook"], [11, 1, 1, "", "rename"], [11, 1, 1, "", "rename_"], [11, 1, 1, "", "rename_key_"], [11, 1, 1, "", "requires_grad_"], [11, 1, 1, "", "reshape"], [11, 1, 1, "", "select"], [11, 1, 1, "", "send"], [11, 1, 1, "", "set"], [11, 1, 1, "", "set_"], [11, 1, 1, "", "set_at_"], [11, 1, 1, "", "set_extra_state"], [11, 1, 1, "", "set_non_tensor"], [11, 1, 1, "", "setdefault"], [11, 2, 1, "", "shape"], [11, 1, 1, "", "share_memory"], [11, 1, 1, "", "share_memory_"], [11, 1, 1, "", "size"], [11, 2, 1, "", "sorted_keys"], [11, 1, 1, "", "split"], [11, 1, 1, "", "squeeze"], [11, 1, 1, "", "state_dict"], [11, 1, 1, "", "to"], [11, 1, 1, "", "to_dict"], [11, 1, 1, "", "to_empty"], [11, 1, 1, "", "to_h5"], [11, 1, 1, "", "to_module"], [11, 1, 1, "", "to_tensordict"], [11, 1, 1, "", "train"], [11, 1, 1, "", "transpose"], [11, 1, 1, "", "type"], [11, 1, 1, "", "unbind"], [11, 1, 1, "", "unflatten"], [11, 1, 1, "", "unflatten_keys"], [11, 1, 1, "", "unsqueeze"], [11, 1, 1, "", "update"], [11, 1, 1, "", "update_"], [11, 1, 1, "", "update_at_"], [11, 1, 1, "", "values"], [11, 1, 1, "", "view"], [11, 1, 1, "", "where"], [11, 1, 1, "", "xpu"], [11, 1, 1, "", "zero_"], [11, 1, 1, "", "zero_grad"]], "tensordict.nn": [[19, 0, 1, "", "EnsembleModule"], [20, 0, 1, "", "ProbabilisticTensorDictModule"], [21, 0, 1, "", "TensorDictModule"], [22, 0, 1, "", "TensorDictModuleBase"], [23, 0, 1, "", "TensorDictModuleWrapper"], [24, 0, 1, "", "TensorDictParams"], [25, 0, 1, "", "TensorDictSequential"], [26, 0, 1, "", "biased_softplus"], [27, 0, 1, "", "dispatch"], [33, 4, 1, "", "get_functional"], [34, 4, 1, "", "inv_softplus"], [35, 4, 1, "", "is_functional"], [36, 4, 1, "", "make_functional"], [37, 4, 1, "", "make_tensordict"], [38, 4, 1, "", "repopulate_module"], [39, 0, 1, "", "set_interaction_type"], [40, 0, 1, "", "set_skip_existing"], [41, 4, 1, "", "skip_existing"]], "tensordict.nn.ProbabilisticTensorDictModule": [[20, 1, 1, "", "forward"], [20, 1, 1, "", "get_dist"], [20, 1, 1, "", "log_prob"]], "tensordict.nn.TensorDictModule": [[21, 1, 1, "", "forward"]], "tensordict.nn.TensorDictModuleBase": [[22, 1, 1, "", "reset_out_keys"], [22, 1, 1, "", "reset_parameters_recursive"], [22, 1, 1, "", "select_out_keys"]], "tensordict.nn.TensorDictModuleWrapper": [[23, 1, 1, "", "forward"]], "tensordict.nn.TensorDictSequential": [[25, 1, 1, "", "forward"], [25, 1, 1, "", "select_subsequence"]], "tensordict.nn.distributions": [[28, 0, 1, "", "AddStateIndependentNormalScale"], [29, 0, 1, "", "CompositeDistribution"], [30, 0, 1, "", "Delta"], [31, 0, 1, "", "OneHotCategorical"], [32, 0, 1, "", "TruncatedNormal"]], "tensordict.prototype": [[44, 4, 1, "", "symbolic_trace"]], "tensordict.utils": [[47, 0, 1, "", "expand_as_right"], [48, 0, 1, "", "expand_right"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:property", "3": "py:attribute", "4": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "property", "Python property"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "function", "Python function"]}, "titleterms": {"tensordict": [0, 2, 3, 9, 19, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 44, 51, 53, 54, 56, 61, 62, 65, 66], "distribut": [0, 28, 29, 30, 31, 32, 51], "set": [0, 61, 67], "creat": 0, "memori": [0, 53, 54, 62, 65], "map": [0, 53, 54, 62], "oper": 0, "tensor": [0, 53, 62], "across": 0, "node": 0, "trace": [1, 51], "tensordictmodul": [1, 3, 21, 63, 64], "tensordictsequenti": [1, 25, 63], "welcom": 2, "document": 2, "tutori": 2, "basic": 2, "nn": [2, 19, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 51], "dataload": [2, 56, 59], "content": [2, 61], "indic": 2, "tabl": 2, "overview": 3, "motiv": 3, "featur": 3, "name": 3, "dimens": [3, 66], "nest": [3, 61], "lazi": 3, "evalu": 3, "pre": [3, 65], "alloc": [3, 65], "function": [3, 51, 64], "program": 3, "lazystackedtensordict": 4, "memorymappedtensor": [5, 54], "nontensordata": 6, "persistenttensordict": 7, "subtensordict": [8, 67], "tensordictbas": 10, "tensordictparam": [11, 24], "dense_stack_td": 12, "is_batchedtensor": 13, "is_memmap": 14, "is_tensor_collect": 15, "lazy_legaci": 16, "make_tensordict": [17, 37], "merge_tensordict": 18, "ensemblemodul": 19, "probabilistictensordictmodul": [20, 63], "tensordictmodulebas": 22, "tensordictmodulewrapp": 23, "biased_softplu": 26, "dispatch": 27, "addstateindependentnormalscal": 28, "compositedistribut": 29, "delta": 30, "onehotcategor": 31, "truncatednorm": 32, "get_funct": 33, "inv_softplu": 34, "is_funct": 35, "make_funct": 36, "repopulate_modul": 38, "set_interaction_typ": 39, "set_skip_exist": 40, "skip_exist": 41, "pad": 42, "pad_sequ": 43, "prototyp": 44, "symbolic_trac": 44, "set_lazy_legaci": 45, "tensorclass": [46, 52, 54, 59, 60], "expand_as_right": 47, "expand_right": 48, "readm": [49, 57], "tuto": [49, 57], "api": 50, "refer": 50, "packag": [51, 53], "ensembl": 51, "compil": 51, "util": [51, 53], "serial": 52, "edg": 52, "case": [52, 54], "context": 53, "manag": [53, 62], "save": 54, "object": 54, "memmori": 54, "handl": 54, "exist": [54, 61], "torchsnapshot": 54, "compat": 54, "gener": 54, "us": [54, 56, 59, 63], "load": [54, 60], "big": 54, "dataset": [54, 56, 59], "comput": [55, 58], "time": [55, 58], "model": [56, 59], "optim": [56, 59], "paramet": [56, 59], "batch": [60, 66], "data": 60, "manipul": [61, 66], "kei": 61, "get": 61, "renam": 61, "updat": 61, "multipl": [61, 63], "valu": [61, 66, 67], "iter": 61, "over": 61, "s": [61, 63], "check": 61, "flatten": 61, "unflatten": 61, "select": 61, "exclud": 61, "simplifi": 62, "pytorch": 62, "devic": 62, "exampl": 63, "1": 63, "simpl": 63, "usag": 63, "2": 63, "input": 63, "3": 63, "output": 63, "4": 63, "combin": 63, "do": 63, "don": 63, "t": 63, "showcas": 63, "implement": 63, "transform": 63, "benchmark": 63, "shape": 66, "index": [66, 67], "reshap": 66, "split": 66, "unbind": 66, "stack": 66, "concaten": 66, "expand": 66, "squeez": 66, "unsqueez": 66, "view": 66, "permut": 66, "gather": 66, "slice": 67, "mask": 67}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx": 56}})
\ No newline at end of file
diff --git a/sg_execution_times.html b/sg_execution_times.html
index c31d65856..0412c6303 100644
--- a/sg_execution_times.html
+++ b/sg_execution_times.html
@@ -361,7 +361,7 @@
Computation times¶
-02:01.082 total execution time for 10 files from all galleries:
+01:59.897 total execution time for 10 files from all galleries: