Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- consecutives :: Monad m => ConduitT i (i, i) m ()
- consecutivesN :: forall v n i m. (KnownNat n, Vector v i, Monad m) => ConduitT i (Vector v n i, Vector v n i) m ()
- leadings :: forall v n i m. (KnownNat n, Vector v i, Monad m) => ConduitT i (Vector v n i, i) m ()
- conduitModel :: (Backprop b, AllConstrainedProd Backprop s, Monad m) => Model p s a b -> TMaybe p -> TMaybe s -> ConduitT a b m (TMaybe s)
- conduitModelStoch :: (Backprop b, AllConstrainedProd Backprop s, PrimMonad m) => Model p s a b -> Gen (PrimState m) -> TMaybe p -> TMaybe s -> ConduitT a b m (TMaybe s)
- oneHot' :: (Vector v a, KnownNat n) => a -> a -> Finite n -> Vector v n a
- oneHot :: (Vector v a, KnownNat n, Num a) => Finite n -> Vector v n a
- oneHotR :: KnownNat n => Finite n -> R n
- maxIndex :: (Vector v a, Ord a) => Vector v (n + 1) a -> Finite (n + 1)
- maxIndexR :: KnownNat n => R (n + 1) -> Finite (n + 1)
Documentation
consecutives :: Monad m => ConduitT i (i, i) m () Source #
consecutivesN :: forall v n i m. (KnownNat n, Vector v i, Monad m) => ConduitT i (Vector v n i, Vector v n i) m () Source #
leadings :: forall v n i m. (KnownNat n, Vector v i, Monad m) => ConduitT i (Vector v n i, i) m () Source #
conduitModel :: (Backprop b, AllConstrainedProd Backprop s, Monad m) => Model p s a b -> TMaybe p -> TMaybe s -> ConduitT a b m (TMaybe s) Source #
conduitModelStoch :: (Backprop b, AllConstrainedProd Backprop s, PrimMonad m) => Model p s a b -> Gen (PrimState m) -> TMaybe p -> TMaybe s -> ConduitT a b m (TMaybe s) Source #
Encoding and decoding for learning
What module should this be in?