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