- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AddN (0.02 sec)
-
tensorflow/c/eager/gradients.cc
if (gradient_tensors.size() == 1) { return gradient_tensors[0]; } AbstractOperationPtr op(ctx_->CreateOperation()); absl::Status s = op->Reset("AddN", /*raw_device_name=*/nullptr); if (!s.ok()) { return nullptr; } s = op->AddInputList(gradient_tensors); if (!s.ok()) { return nullptr; } int num_outputs = 1;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Test TF_Operation*() query functions. EXPECT_EQ(string("add"), string(TF_OperationName(add))); EXPECT_EQ(string("AddN"), string(TF_OperationOpType(add))); EXPECT_EQ(string(""), string(TF_OperationDevice(add))); EXPECT_EQ(1, TF_OperationNumOutputs(add)); EXPECT_EQ(TF_INT32, TF_OperationOutputType(TF_Output{add, 0}));
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
TF_Operation* add = Add(feed1, feed2, func_graph_, s_); DefineT(-1, {}, {{feed1, 0}, {feed2, 0}}, {{add, 3}}, {}, true); EXPECT_EQ(TF_OUT_OF_RANGE, TF_GetCode(s_)); EXPECT_EQ(string("Node 'add' (type: 'AddN', num of outputs: 1) does " "not have output 3\n\tEncountered while processing " "output 0 from function 'MyFunc'"), string(TF_Message(s_))); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0)