:github_url: https://github.com/pytorch/pytorch .. _exhale_function_namespacetorch_1_1autograd_1a050ee71f58c4a511025f605b7a091bf3: Function torch::autograd::to_optional(variable_list&) ===================================================== - Defined in :ref:`file_torch_csrc_autograd_custom_function.h` Function Documentation ---------------------- .. doxygenfunction:: torch::autograd::to_optional(variable_list&)