Copyright | (c) Sam Stites 2017 |
---|---|
License | BSD3 |
Maintainer | sam@stites.io |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- _indexCopy :: Tensor d -> Int -> IndexTensor '[n] -> Tensor d' -> IO ()
- _indexAdd :: Tensor d -> Int -> IndexTensor '[n] -> Tensor d' -> IO ()
- _indexFill :: Tensor d -> Int -> IndexTensor '[n] -> HsReal -> IO ()
- _indexSelect :: Tensor d -> Tensor d' -> Int -> IndexTensor '[n] -> IO ()
- _take :: Tensor d -> Tensor d' -> IndexTensor '[n] -> IO ()
- _put :: Tensor d -> IndexTensor '[n] -> Tensor d' -> Int -> IO ()
- getRow :: forall t n m. (All KnownDim '[n, m], KnownNat m) => Tensor '[n, m] -> Word -> Maybe (Tensor '[1, m])
- getColumn :: forall t n m. (All KnownDim '[n, m], KnownNat n) => Tensor '[n, m] -> Word -> Maybe (Tensor '[n, 1])
Documentation
_indexCopy :: Tensor d -> Int -> IndexTensor '[n] -> Tensor d' -> IO () Source #
Static call to _indexCopy
_indexAdd :: Tensor d -> Int -> IndexTensor '[n] -> Tensor d' -> IO () Source #
Static call to _indexAdd
_indexFill :: Tensor d -> Int -> IndexTensor '[n] -> HsReal -> IO () Source #
Static call to _indexFill
_indexSelect :: Tensor d -> Tensor d' -> Int -> IndexTensor '[n] -> IO () Source #
Static call to _indexSelect