- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for fDiff (0.02 seconds)
-
tensorflow/c/eager/gradient_checker.cc
TF_RETURN_IF_ERROR( ops::Sub(ctx, fPlus.get(), fMinus.get(), f_outputs, "sub_top")); AbstractTensorHandlePtr fDiff(f_outputs[0]); // Calculate using the difference quotient definition: // (f(theta + eps) - f(theta - eps)) / (2 * eps). TF_RETURN_IF_ERROR( ops::Div(ctx, fDiff.get(), two_eps.get(), f_outputs, "diff_quotient")); AbstractTensorHandlePtr diff_quotient(f_outputs[0]);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 7.3K bytes - Click Count (0)