ctongfei / nexus

Experimental tensor-typed deep learning
https://tongfei.me/nexus/
MIT License
257 stars 15 forks source link

Jacobian (extension of gradients) #33

Open ctongfei opened 5 years ago

ctongfei commented 5 years ago

Given D[_]: DifferentiableAlgebra,

  def jacobian[X, Y, `∂Y/∂X`](y: D[Y], x: D[X])(implicit J: Jacobian.Aux[X, Y, `∂Y/∂X`]): `∂Y/∂X`

How should we define Jacobian.Aux for all differentiable types?