Skip to content

Instantly share code, notes, and snippets.

@rxwei
Created May 29, 2019 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rxwei/2faf1e8f3a5b2d93acf5891d2d1c4654 to your computer and use it in GitHub Desktop.
Save rxwei/2faf1e8f3a5b2d93acf5891d2d1c4654 to your computer and use it in GitHub Desktop.
New autodiff_function instruction
%0 = differentiable_function (%f, %f_jvp) : $sil_differentiable(1) {(T) -> T, differential: (T) -> T, pullback: (T) -> T}
%0 = differentiable_function (%f, %f_transpose) : $sil_differentiable(linear) {(T) -> T, transpose: (T) -> T}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment