Skip to content

Instantly share code, notes, and snippets.

@marcrasi
Created June 27, 2019 23:19
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 marcrasi/50a317a2e923e1b5ed0aee174795b58c to your computer and use it in GitHub Desktop.
Save marcrasi/50a317a2e923e1b5ed0aee174795b58c to your computer and use it in GitHub Desktop.
import TensorFlow
let g = gradient(at: Dense()) { m in m.callForward(Tensor<Float>(0)) }
print(g)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment