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
docstr: Returns keypoints device.
docstr_tok: ["Returns","keypoints","device","."]
code: def device(self) -> torch.device:
      """Returns keypoints device."""
      return self._data.device
  
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 6 for calling the Keypoints obj's underlying member method code with example usage: obj.device() and returns: self