class_docstr: A Local Feature Transformer (LoFTR) module.
class_docstr_tok: ["A","Local","Feature","Transformer","(","LoFTR",")","module","."]
code: def _reset_parameters(self) -> None:
      for p in self.parameters():
          if p.dim() > 1:
              nn.init.xavier_uniform_(p)
  
file_path: kornia/kornia/feature/loftr/loftr_module/transformer.py
imports: from __future__ import annotations
  import copy
  from typing import Any, Literal, Optional
  import torch
  from torch import nn
  from kornia.core import Module, Tensor
  from .linear_attention import FullAttention, LinearAttention
label_desc: Use image node_id 2 for calling the LocalFeatureTransformer obj's underlying member method code with example usage: obj._reset_parameters() without return types