hasktorch-ffi-tests-0.0.1.0: Testing library for Hasktorch's FFI bindings

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.Tests

Documentation

data TestFunctions state tensor real accreal Source #

Constructors

TestFunctions 

Fields

type RealConstr n = (Num n, Show n, Eq n) Source #

signedSuite :: (RealConstr real, RealConstr accreal) => state -> TestFunctions state tensor real accreal -> Spec Source #

dotSpec :: (Show a, Eq a, Num real, Num a) => state -> TestFunctions state tensor real accreal -> (state -> tensor -> tensor -> IO a) -> SpecM () () Source #