Tensorflow.js tf.grads() Function
The tf.grads() function takes a function f(x) and return a function gx
- f: This is the given function for which gradients are calculated.
Return Value: It returns an array.
Tensor [1, 1]
Tensor [8, 8]
My Personal Notes arrow_drop_up
Please Login to comment...