class_docstr: Horizontally flip a tensor image or a batch of tensor images.
  
  Input must be a tensor of shape (C, H, W) or a batch of tensors :math:`(*, C, H, W)`.
  
  Args:
      input: input tensor.
  
  Returns:
      The horizontally flipped image tensor.
  
  Examples:
      >>> hflip = Hflip()
      >>> input = torch.tensor([[[
      ...    [0., 0., 0.],
      ...    [0., 0., 0.],
      ...    [0., 1., 1.]
      ... ]]])
      >>> hflip(input)
      tensor([[[[0., 0., 0.],
                [0., 0., 0.],
                [1., 1., 0.]]]])
class_docstr_tok: ["Horizontally","flip","a","tensor","image","or","a","batch","of","tensor","images",".","Input","must","be","a","tensor","of","shape","(","C",",","H",",","W",")","or","a","batch","of","tensors",":","math",":","`","(","*",",","C",",","H",",","W",")","`",".","Args",":","input",":","input","tensor",".","Returns",":","The","horizontally","flipped","image","tensor",".","Examples",":",">",">",">","hflip","=","Hflip","(",")",">",">",">","input","=","torch.tensor","(","[","[","[","...","[","0.",",","0.",",","0",".","]",",","...","[","0.",",","0.",",","0",".","]",",","...","[","0.",",","1.",",","1",".","]","...","]","]","]",")",">",">",">","hflip","(","input",")","tensor","(","[","[","[","[","0.",",","0.",",","0",".","]",",","[","0.",",","0.",",","0",".","]",",","[","1.",",","1.",",","0",".","]","]","]","]",")"]
code: def forward(self, input: Tensor) -> Tensor:
      return hflip(input)
  
file_path: kornia/kornia/geometry/transform/flips.py
imports: import torch
  from kornia.core import Module, Tensor
label_desc: Use image node_id 1 for calling the Hflip obj's underlying member method code with example usage: obj.forward(input) and returns: hflip