Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Slang Documentation
Slang Documentation
Back to top
View this page

struct TorchTensor<T>¶

Description¶

Represents the handle of a Torch tensor object.

Generic Parameters¶

T¶

Methods¶

  • getView

  • dims

  • size

  • stride

  • data_ptr

  • alloc

  • emptyLike

  • fillZero

  • fillValue

  • zerosLike

On this page
  • struct TorchTensor<T>
    • Description
    • Generic Parameters
      • T
    • Methods