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

Description

 
Synopsis

Documentation

ltValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d Source #

return a byte tensor which contains boolean values indicating the relation between a tensor and a given scalar.

ltValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d Source #

return a tensor which contains numeric values indicating the relation between a tensor and a given scalar. 0 stands for false, 1 stands for true.

ltValueT_ :: Dimensions d => Tensor d -> HsReal -> IO () Source #

mutate a tensor in-place with its numeric relation to a given scalar, where 0 stands for false and 1 stands for true.

leValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d Source #

return a byte tensor which contains boolean values indicating the relation between a tensor and a given scalar.

leValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d Source #

return a tensor which contains numeric values indicating the relation between a tensor and a given scalar. 0 stands for false, 1 stands for true.

leValueT_ :: Dimensions d => Tensor d -> HsReal -> IO () Source #

mutate a tensor in-place with its numeric relation to a given scalar, where 0 stands for false and 1 stands for true.

gtValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d Source #

return a byte tensor which contains boolean values indicating the relation between a tensor and a given scalar.

gtValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d Source #

return a tensor which contains numeric values indicating the relation between a tensor and a given scalar. 0 stands for false, 1 stands for true.

gtValueT_ :: Dimensions d => Tensor d -> HsReal -> IO () Source #

mutate a tensor in-place with its numeric relation to a given scalar, where 0 stands for false and 1 stands for true.

geValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d Source #

return a byte tensor which contains boolean values indicating the relation between a tensor and a given scalar.

geValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d Source #

return a tensor which contains numeric values indicating the relation between a tensor and a given scalar. 0 stands for false, 1 stands for true.

geValueT_ :: Dimensions d => Tensor d -> HsReal -> IO () Source #

mutate a tensor in-place with its numeric relation to a given scalar, where 0 stands for false and 1 stands for true.

neValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d Source #

return a byte tensor which contains boolean values indicating the relation between a tensor and a given scalar.

neValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d Source #

return a tensor which contains numeric values indicating the relation between a tensor and a given scalar. 0 stands for false, 1 stands for true.

neValueT_ :: Dimensions d => Tensor d -> HsReal -> IO () Source #

mutate a tensor in-place with its numeric relation to a given scalar, where 0 stands for false and 1 stands for true.

eqValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d Source #

return a byte tensor which contains boolean values indicating the relation between a tensor and a given scalar.

eqValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d Source #

return a tensor which contains numeric values indicating the relation between a tensor and a given scalar. 0 stands for false, 1 stands for true.

eqValueT_ :: Dimensions d => Tensor d -> HsReal -> IO () Source #

mutate a tensor in-place with its numeric relation to a given scalar, where 0 stands for false and 1 stands for true.