tensorflow-ops-0.1.0.0: Friendly layer around TensorFlow bindings.

Safe HaskellNone
LanguageHaskell2010

TensorFlow.Gradient

Synopsis

Documentation

gradients Source #

Arguments

:: (MonadBuild m, Rendered t, ToTensor t, GradientCompatible a) 
=> Tensor v1 a

The output of the graph.

-> [t a]

Tensors for which gradients are computed.

-> m [Tensor Value a] 

Gradient of y w.r.t. each element of xs.