is_torch_memory_format function

Check if an object is a memory format

Check if an object is a memory format

is_torch_memory_format(x)

Arguments

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