Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sum (0.13 sec)

  1. tensorflow/c/c_api_function_test.cc

                 M({{"add1"}, {"add2"}}),
                 {{"feed1", "add1_0:0"},
                  {"feed2", "add1_0:1"},
                  {"add1_0:sum:0", "add2_0:0"},
                  {"feed3", "add2_0:1"},
                  {"add1_0:sum:0", "add1"},
                  {"add2_0:sum:0", "add2"}},
                 {});
    }
    
    TEST_F(CApiFunctionTest, FromSubsetOfOps) {
      /*
       *                  |  |  |
       *                  v  v  /
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  2. tensorflow/c/c_api_test.cc

      EXPECT_EQ(string(""), string(TF_OperationDevice(add)));
      EXPECT_EQ(1, TF_OperationNumOutputs(add));
      EXPECT_EQ(TF_INT32, TF_OperationOutputType(TF_Output{add, 0}));
      EXPECT_EQ(1, TF_OperationOutputListLength(add, "sum", s));
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(2, TF_OperationNumInputs(add));
      EXPECT_EQ(2, TF_OperationInputListLength(add, "inputs", s));
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    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)
  3. tensorflow/c/c_api.h

    // called after a successful TF_NewWhile() call.
    TF_CAPI_EXPORT extern void TF_AbortWhile(const TF_WhileParams* params);
    
    // Adds operations to compute the partial derivatives of sum of `y`s w.r.t `x`s,
    // i.e., d(y_1 + y_2 + ...)/dx_1, d(y_1 + y_2 + ...)/dx_2...
    //
    // `dx` are used as initial gradients (which represent the symbolic partial
    // derivatives of some loss function `L` w.r.t. `y`).
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top