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.Static.Tensor.Math.Pointwise.Signed

Contents

Description

 
Synopsis

Documentation

abs_ :: Tensor d -> IO () Source #

Static call to abs_

neg_ :: Tensor d -> IO () Source #

Static call to neg_

neg :: Dimensions d => Tensor d -> Tensor d Source #

Static call to neg

abs :: Dimensions d => Tensor d -> Tensor d Source #

Static call to abs

Orphan instances

Dimensions d => Num (Tensor d) Source # 
Instance details

Methods

(+) :: Tensor d -> Tensor d -> Tensor d #

(-) :: Tensor d -> Tensor d -> Tensor d #

(*) :: Tensor d -> Tensor d -> Tensor d #

negate :: Tensor d -> Tensor d #

abs :: Tensor d -> Tensor d #

signum :: Tensor d -> Tensor d #

fromInteger :: Integer -> Tensor d #