Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_OperationNumControlOutputs (0.31 sec)

  1. tensorflow/c/c_api.cc

          if (count < max_control_inputs) {
            control_inputs[count] = ToOperation(edge->src());
          }
          ++count;
        }
      }
      return count;
    }
    
    int TF_OperationNumControlOutputs(TF_Operation* oper) {
      int count = 0;
      for (const auto* edge : oper->node.out_edges()) {
        if (edge->IsControlEdge() && !edge->dst()->IsSink()) {
          ++count;
        }
      }
      return count;
    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)
Back to top