Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for plus (0.13 sec)

  1. tensorflow/c/eager/gradient_checker.cc

        }
    
        // Get f(theta + eps):
        theta_inputs[input_index] = thetaPlus.get();
        TF_RETURN_IF_ERROR(
            RunAndMaybeSum(ctx, forward, theta_inputs, f_outputs, use_function));
        AbstractTensorHandlePtr fPlus(f_outputs[0]);
    
        // Get f(theta - eps):
        theta_inputs[input_index] = thetaMinus.get();
        TF_RETURN_IF_ERROR(
            RunAndMaybeSum(ctx, forward, theta_inputs, f_outputs, use_function));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      TF_Operation* two = ScalarConst(2, graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* plus2 = Add(a, two, graph, s, "plus2");
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* plusB = Add(plus2, b, graph, s, "plusB");
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Setup a session and a partial run handle.  The partial run will allow
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top