html#lazy-modules-initialization)
  * [ torch.nn.functional ](nn.functional.html)
    * [ Convolution functions ](nn.functional.html#convolution-functions)
    * [ Pooling functions ](nn.functional.html#pooling-functions)
    * [ Attention Mechanisms ](nn.functional.html#attention-mechanisms)
    * [ Non-linear activation functions ](nn.functional.html#non-linear-activation-functions)
    * [ Linear functions ](nn.functional.html#linear-functions)
    * [ Dropout functions ](nn.functional.html#dropout-functions)
    * [ Sparse functions ](nn.functional.html#sparse-functions)
    * [ Distance functions ](nn.functional.html#distance-functions)
    * [ Loss functions ](nn.functional.html#loss-functions)
    * [ Vision functions ](nn.functional.html#vision-functions)
    * [ DataParallel functions (multi-GPU, distributed) ](nn.functional.html#dataparallel-functions-multi-gpu-distributed)
  * [ torch.Tensor ](tensors.html)
    * [ Data types ](tensors.html#data-types)
    * [ Initializing and basic operations ](tensors.html#initializing-and-basic-operations)
    * [ Tensor class reference ](tensors.html#tensor-class-reference)
  * [ Tensor Attributes ](tensor_attributes.html)
    * [ torch.dtype ](tensor_attributes.html#torch-dtype)
    * [ torch.device ](tensor_attributes.html#torch-device)
    * [ torch.layout ](tensor_attributes.html#torch-layout)
    * [ torch.memory_format ](tensor_attributes.html#torch-memory-format)
  * [ Tensor Views ](tensor_view.html)
  * [ torch.amp ](amp.html)
    * [ Autocasting ](amp.html#autocasting)
    * [ Gradient Scaling ](amp.html#gradient-scaling)
    * [ Autocast Op Reference ](amp.html#autocast-op-reference)
  * [ torch.autograd ](autograd.html)
    * [ torch.autograd.backward ](generated/torch.autograd.backward.html)
    * [ torch.autograd.grad ](generated/torch.autograd.grad.html)
    * [ Forward-mode Automatic Differentiation ](autograd.html#forward-mode-automatic-differentiation)
    * [ Functional higher level API ](autograd.html#functional-higher-level-api)
    * [ Locally disabling gradient computation ](autograd.html#locally-disabling-gradient-computation)
    * [ Default gradient layouts ](autograd.html#default-gradient-layouts)
    * [ In-place operations on Tensors ](autograd.html#in-place-operations-on-tensors)
    * [ Variable (deprecated) ](autograd.html#variable-deprecated)
    * [ Tensor autograd functions ](autograd.html#tensor-autograd-functions)
    * [ Function  ](autograd.html#function)
    * [ Context method mixins ](autograd.html#context-method-mixins)
    * [ Custom Function utilities ](autograd.html#custom-function-utilities)
    * [ Numerical gradient checking ](autograd.html#module-torch.autograd.gradcheck)
    * [ Profiler ](autograd.html#profiler)
    * [ Debugging and anomaly detection ](autograd.html#debugging-and-anomaly-detection)
    * [ Autograd graph ](autograd.html#autograd-graph)
  * [ torch.library ](library.html)
    * [ ` define()  ` ](library.html#torch.library.define)
    * [ ` impl()  ` ](library.html#torch.library.impl)
    * [ ` impl_abstract()  ` ](library.html#torch.library.impl_abstract)
    * [ ` get_ctx()  ` ](library.html#torch.library.get_ctx)
    * [ Low-level APIs ](library.html#low-level-apis)
  * [ torch.cpu ](cpu.html)
    * [ torch.cpu.current_device ](generated/torch.cpu.current_device.html)
    * [ torch.cpu.current_stream ](generated/torch.cpu.current_stream.html)
    * [ torch.cpu.is_available ](generated/torch.cpu.is_available.html)
    * [ torch.cpu.synchronize ](generated/torch.cpu.synchronize.html)
    * [ torch.cpu.stream ](generated/torch.cpu.stream.html)
    * [ torch.cpu.set_device ](generated/torch.cpu.set_device.html)
    * [ torch.cpu.device_count ](generated/torch.cpu.device_count.html)
    * [ StreamContext ](generated/torch.cpu.StreamContext.html)
    * [ Streams and events ](cpu.html#streams-and-events)
  * [ torch.cuda ](cuda.html)
    * [ StreamContext ](generated/torch.cuda.StreamContext.html)
    * [ torch.cuda.