Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
newTensorOptions_s :: ScalarType -> IO (Ptr TensorOptions) Source #
tensorOptions_device_D :: Ptr TensorOptions -> DeviceType -> IO (Ptr TensorOptions) Source #
tensorOptions_device_index_s :: Ptr TensorOptions -> Int16 -> IO (Ptr TensorOptions) Source #
tensorOptions_dtype_s :: Ptr TensorOptions -> ScalarType -> IO (Ptr TensorOptions) Source #
tensorOptions_dtype :: Ptr TensorOptions -> IO (Ptr TensorOptions) Source #
tensorOptions_layout_L :: Ptr TensorOptions -> Layout -> IO (Ptr TensorOptions) Source #
tensorOptions_requires_grad_b :: Ptr TensorOptions -> CBool -> IO (Ptr TensorOptions) Source #
dtype_s :: ScalarType -> IO (Ptr TensorOptions) Source #
device_D :: DeviceType -> IO (Ptr TensorOptions) Source #
device_index_s :: Int16 -> IO (Ptr TensorOptions) Source #
requires_grad_b :: CBool -> IO (Ptr TensorOptions) Source #