hasktorch-indef-0.0.1.0: Core Hasktorch abstractions wrapping FFI bindings

Copyright(c) Sam Stites 2017
LicenseBSD3
Maintainersam@stites.io
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Torch.Indef.Dynamic.Tensor.Math.Floating

Description

 
Synopsis

Documentation

linspace Source #

Arguments

:: HsReal
x1
-> HsReal
x2
-> Int64
n
-> Dynamic 

Returns a one-dimensional Tensor of n equally spaced points between x1 and x2.

linspace_ :: Dynamic -> HsReal -> HsReal -> Int64 -> IO () Source #

inplace version of linspace

logspace Source #

Arguments

:: HsReal
x1
-> HsReal
x2
-> Int64
n
-> Dynamic 

Returns a one-dimensional Tensor of n logarithmically, equally spaced points between 10^x1 and 10^x2.

logspace_ :: Dynamic -> HsReal -> HsReal -> Int64 -> IO () Source #

inplace version of logspace