hasktorch-0.0.1.0: Torch for tensors and neural networks in Haskell

Copyright(c) Hasktorch devs 2017
LicenseBSD3
MaintainerSam Stites <sam@stites.io>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Torch.Core.LogAdd

Description

Various bindings to 'TH/THLogAdd.c' and haskell variants where possible

Synopsis

Documentation

logAdd :: Double -> Double -> IO Double Source #

Add two log values, calling out to TH

logSub :: Double -> Double -> IO Double Source #

Subtract two log values, calling out to TH

expMinusApprox :: Double -> IO Double Source #

A fast approximation of exp(-x) for positive x. Calls out to TH