Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_OperationGetControlOutputs (0.41 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(0, TF_OperationNumControlOutputs(scalar));
      EXPECT_EQ(0, TF_OperationGetControlOutputs(scalar, control_ops, 100));
    
      EXPECT_EQ(0, TF_OperationNumControlInputs(feed));
      EXPECT_EQ(0, TF_OperationGetControlInputs(feed, control_ops, 100));
      EXPECT_EQ(0, TF_OperationNumControlOutputs(feed));
      EXPECT_EQ(0, TF_OperationGetControlOutputs(feed, control_ops, 100));
    
      EXPECT_EQ(0, TF_OperationNumControlInputs(neg));
    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)
  2. tensorflow/c/c_api.h

    // modification of the graph can increase the number of control
    // outputs.  Returns the number of control outputs (should match
    // TF_OperationNumControlOutputs(oper)).
    TF_CAPI_EXPORT extern int TF_OperationGetControlOutputs(
        TF_Operation* oper, TF_Operation** control_outputs,
        int max_control_outputs);
    
    // TF_AttrMetadata describes the value of an attribute on an operation.
    typedef struct TF_AttrMetadata {
    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)
  3. tensorflow/c/c_api.cc

      int count = 0;
      for (const auto* edge : oper->node.out_edges()) {
        if (edge->IsControlEdge() && !edge->dst()->IsSink()) {
          ++count;
        }
      }
      return count;
    }
    
    int TF_OperationGetControlOutputs(TF_Operation* oper,
                                      TF_Operation** control_outputs,
                                      int max_control_outputs) {
      int count = 0;
    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