- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Mul (0.14 sec)
-
tensorflow/c/eager/c_api_test.cc
EXPECT_EQ(2, product[0]); EXPECT_EQ(4, product[1]); EXPECT_EQ(6, product[2]); EXPECT_EQ(8, product[3]); // When we turn on grappler, confirm that the tf.Add has been rewritten into a // tf.Mul. // This capability of checking the executed op names is currently only enabled // for TFRT debug build, for performance and simplicity reasons. if (use_tfrt) { TF_Buffer* buf = TF_NewBuffer();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
TEST_F(CApiGradientsTest, MultipleCallsToAddGradients) { const float X = 3.0f, Y = 7.0f; TF_Operation* x = Placeholder(graph_, s_, "x", TF_FLOAT); TF_Operation* y = Placeholder(graph_, s_, "y", TF_FLOAT); TF_Operation* xy = Mul(x, y, graph_, s_, "xy"); TF_Output dxy_dx, dxy_dy; TF_Output outputs[1] = {{xy, 0}}; TF_Output inputs[1] = {{x, 0}}; TF_AddGradients(graph_, outputs, 1, inputs, 1, nullptr, s_, &dxy_dx);
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)