Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fDiff (0.17 sec)

  1. 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]);
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top