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

Description

 
Synopsis

Documentation

ltTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d Source #

Return a byte tensor which contains boolean values indicating the relation between two tensors.

ltTensorT Source #

Arguments

:: Dimensions d 
=> Tensor d

source tensor.

-> Tensor d

tensor to compare with.

-> Tensor d

new return tensor.

return a tensor which contains numeric values indicating the relation between two tensors. 0 stands for false, 1 stands for true.

ltTensorT_ Source #

Arguments

:: Tensor d

source tensor to mutate inplace.

-> Tensor d

tensor to compare with.

-> IO () 

mutate a tensor in-place with its numeric relation to the second tensor of the same size, where 0 stands for false and 1 stands for true.

leTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d Source #

Return a byte tensor which contains boolean values indicating the relation between two tensors.

leTensorT Source #

Arguments

:: Dimensions d 
=> Tensor d

source tensor.

-> Tensor d

tensor to compare with.

-> Tensor d

new return tensor.

return a tensor which contains numeric values indicating the relation between two tensors. 0 stands for false, 1 stands for true.

leTensorT_ Source #

Arguments

:: Tensor d

source tensor to mutate inplace.

-> Tensor d

tensor to compare with.

-> IO () 

mutate a tensor in-place with its numeric relation to the second tensor of the same size, where 0 stands for false and 1 stands for true.

gtTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d Source #

Return a byte tensor which contains boolean values indicating the relation between two tensors.

gtTensorT Source #

Arguments

:: Dimensions d 
=> Tensor d

source tensor.

-> Tensor d

tensor to compare with.

-> Tensor d

new return tensor.

return a tensor which contains numeric values indicating the relation between two tensors. 0 stands for false, 1 stands for true.

gtTensorT_ Source #

Arguments

:: Tensor d

source tensor to mutate inplace.

-> Tensor d

tensor to compare with.

-> IO () 

mutate a tensor in-place with its numeric relation to the second tensor of the same size, where 0 stands for false and 1 stands for true.

geTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d Source #

Return a byte tensor which contains boolean values indicating the relation between two tensors.

geTensorT Source #

Arguments

:: Dimensions d 
=> Tensor d

source tensor.

-> Tensor d

tensor to compare with.

-> Tensor d

new return tensor.

return a tensor which contains numeric values indicating the relation between two tensors. 0 stands for false, 1 stands for true.

geTensorT_ Source #

Arguments

:: Tensor d

source tensor to mutate inplace.

-> Tensor d

tensor to compare with.

-> IO () 

mutate a tensor in-place with its numeric relation to the second tensor of the same size, where 0 stands for false and 1 stands for true.

neTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d Source #

Return a byte tensor which contains boolean values indicating the relation between two tensors.

neTensorT Source #

Arguments

:: Dimensions d 
=> Tensor d

source tensor.

-> Tensor d

tensor to compare with.

-> Tensor d

new return tensor.

return a tensor which contains numeric values indicating the relation between two tensors. 0 stands for false, 1 stands for true.

neTensorT_ Source #

Arguments

:: Tensor d

source tensor to mutate inplace.

-> Tensor d

tensor to compare with.

-> IO () 

mutate a tensor in-place with its numeric relation to the second tensor of the same size, where 0 stands for false and 1 stands for true.

eqTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d Source #

Return a byte tensor which contains boolean values indicating the relation between two tensors.

eqTensorT Source #

Arguments

:: Dimensions d 
=> Tensor d

source tensor.

-> Tensor d

tensor to compare with.

-> Tensor d

new return tensor.

return a tensor which contains numeric values indicating the relation between two tensors. 0 stands for false, 1 stands for true.

eqTensorT_ Source #

Arguments

:: Tensor d

source tensor to mutate inplace.

-> Tensor d

tensor to compare with.

-> IO () 

mutate a tensor in-place with its numeric relation to the second tensor of the same size, where 0 stands for false and 1 stands for true.