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

Safe HaskellNone
LanguageHaskell2010

Torch.Indef.Dynamic.NN.Criterion

Synopsis

Documentation

_ClassNLLCriterion_updateOutput :: Dynamic -> IndexDynamic -> Dynamic -> Bool -> Maybe Dynamic -> Dynamic -> Integer -> Bool -> IO () Source #

ClassNLLCriterion_updateOutput forward pass (updates the output tensor)

_ClassNLLCriterion_updateGradInput :: Dynamic -> IndexDynamic -> Dynamic -> Dynamic -> Bool -> Maybe Dynamic -> Dynamic -> Integer -> Bool -> IO () Source #

ClassNLLCriterion_updateOutput forward pass (updates the output tensor)

_l1Cost_updateOutput :: Dynamic -> Dynamic -> IO () Source #

l1Cost forward pass (updates the output tensor)

_l1Cost_updateGradInput :: Dynamic -> Dynamic -> Dynamic -> IO () Source #

l1Cost backward-update (updates the layer and bias tensors)

_smoothL1Criterion_updateOutput :: Dynamic -> Dynamic -> Dynamic -> Bool -> Bool -> IO () Source #

smoothL1Criterion forward pass (updates the output tensor)

_smoothL1Criterion_updateGradInput :: Dynamic -> Dynamic -> Dynamic -> Dynamic -> Bool -> Bool -> IO () Source #

smoothL1Criterion backward-update (updates the layer and bias tensors)

_absCriterion_updateOutput :: Dynamic -> Dynamic -> Dynamic -> Bool -> Bool -> IO () Source #

absCriterion forward pass (updates the output tensor)

_absCriterion_updateGradInput :: Dynamic -> Dynamic -> Dynamic -> Dynamic -> Bool -> Bool -> IO () Source #

absCriterion backward-update (updates the layer and bias tensors)

_bCECriterion_updateOutput :: Dynamic -> Dynamic -> Dynamic -> Bool -> Maybe Dynamic -> Bool -> IO () Source #

bCECriterion forward pass (updates the output tensor)

_bCECriterion_updateGradInput :: Dynamic -> Dynamic -> Dynamic -> Dynamic -> Bool -> Maybe Dynamic -> Bool -> IO () Source #

bCECriterion backward-update (updates the layer and bias tensors)

_distKLDivCriterion_updateOutput :: Dynamic -> Dynamic -> Dynamic -> Bool -> Bool -> IO () Source #

distKLDivCriterion forward pass (updates the output tensor)

_distKLDivCriterion_updateGradInput :: Dynamic -> Dynamic -> Dynamic -> Dynamic -> Bool -> Bool -> IO () Source #

distKLDivCriterion backward-update (updates the layer and bias tensors)

_marginCriterion_updateOutput :: Dynamic -> Dynamic -> Dynamic -> Bool -> Double -> IO () Source #

marginCriterion forward pass (updates the output tensor)

_marginCriterion_updateGradInput :: Dynamic -> Dynamic -> Dynamic -> Bool -> Double -> IO () Source #

marginCriterion backward-update (updates the layer and bias tensors)

_softMarginCriterion_updateOutput :: Dynamic -> Dynamic -> Dynamic -> Bool -> Bool -> IO () Source #

softMarginCriterion forward pass (updates the output tensor)

_softMarginCriterion_updateGradInput :: Dynamic -> Dynamic -> Dynamic -> Dynamic -> Bool -> Bool -> IO () Source #

softMarginCriterion backward-update (updates the layer and bias tensors)

_mSECriterion_updateOutput :: Dynamic -> Dynamic -> Dynamic -> Bool -> Bool -> IO () Source #

mSECriterion forward pass (updates the output tensor)

_mSECriterion_updateGradInput :: Dynamic -> Dynamic -> Dynamic -> Dynamic -> Bool -> Bool -> IO () Source #

mSECriterion backward-update (updates the layer and bias tensors)