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.Scan

Description

 
Synopsis

Documentation

_cumsum Source #

Arguments

:: Dynamic

return tensor to mutate, inplace

-> Dynamic

source tensor

-> Word

dimension to operate on

-> IO () 

Mutate the first tensor to contain the cumulative sum of the elements in the second, performing the operation over the specified dimension.

_cumprod Source #

Arguments

:: Dynamic

return tensor to mutate, inplace

-> Dynamic

source tensor

-> Word

dimension to operate on

-> IO () 

Mutate the first tensor to contain the cumulative product of the elements in the second, performing the operation over the specified dimension.