Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
tensor_assign1_l :: ForeignPtr Tensor -> Int64 -> Int64 -> IO () Source #
tensor_assign2_l :: ForeignPtr Tensor -> Int64 -> Int64 -> Int64 -> IO () Source #
tensor_assign1_d :: ForeignPtr Tensor -> Int64 -> CDouble -> IO () Source #
tensor_assign2_d :: ForeignPtr Tensor -> Int64 -> Int64 -> CDouble -> IO () Source #
tensor_assign1_t :: ForeignPtr Tensor -> Int64 -> ForeignPtr Tensor -> IO () Source #
tensor_assign2_t :: ForeignPtr Tensor -> Int64 -> Int64 -> ForeignPtr Tensor -> IO () Source #
tensor_names :: ForeignPtr Tensor -> IO (ForeignPtr DimnameList) Source #
tensor_to_device :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) Source #
new_empty_tensor :: [Int] -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor) Source #