- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for sink (0.16 sec)
-
tensorflow/c/c_api.cc
return ToOperation(iter->second); } } TF_Operation* TF_GraphNextOperation(TF_Graph* graph, size_t* pos) { if (*pos == 0) { // Advance past the first sentinel nodes in every graph (the source & sink). *pos += 2; } else { // Advance to the next node. *pos += 1; } mutex_lock l(graph->mu); while (*pos < static_cast<size_t>(graph->graph.num_node_ids())) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_Output neg_input = TF_OperationInput({neg, 0}); EXPECT_EQ(scalar, neg_input.oper); EXPECT_EQ(0, neg_input.index); // Test that we can't see control edges involving the source and sink nodes. TF_Operation* control_ops[100]; EXPECT_EQ(0, TF_OperationNumControlInputs(scalar)); EXPECT_EQ(0, TF_OperationGetControlInputs(scalar, control_ops, 100)); EXPECT_EQ(0, TF_OperationNumControlOutputs(scalar));
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)