is_torch_dtype function

Check if object is a torch data type

Check if object is a torch data type

is_torch_dtype(x)

Arguments

  • x: object to check.
  • Maintainer: Daniel Falbel
  • License: MIT + file LICENSE
  • Last published: 2025-02-14