class_docstr: 2D Keypoints containing Nx2 or BxNx2 points.
  
  Args:
      keypoints: Raw tensor or a list of Tensors with the Nx2 coordinates
      raise_if_not_floating_point: will raise if the Tensor isn't float
code: def index_put(
      self,
      indices: Union[Tuple[Tensor, ...], List[Tensor]],
      values: Union[Tensor, "Keypoints"],
      inplace: bool = False,
  ) -> "Keypoints":
      if inplace:
          _data = self._data
      else:
          _data = self._data.clone()
  
      if isinstance(values, Keypoints):
          _data.index_put_(indices, values.data)
      else:
          _data.index_put_(indices, values)
  
      if inplace:
          return self
  
      obj = self.clone()
      obj._data = _data
      return obj
  
imports: from typing import List, Optional, Tuple, Union, cast
  import torch
  from torch import Size
  from kornia.core import Tensor
  from kornia.geometry import transform_points
label_desc: Use image node_id 8 for calling the Keypoints obj's underlying member method code with example usage: obj.index_put(indices, values, inplace) and returns: obj, self