Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_OperationOutputConsumers (0.08 sec)

  1. tensorflow/c/c_api_test.cc

      TF_Input feed_port;
      EXPECT_EQ(1, TF_OperationOutputConsumers(TF_Output{feed, 0}, &feed_port, 1));
      EXPECT_EQ(add, feed_port.oper);
      EXPECT_EQ(0, feed_port.index);
    
      // The scalar const oper also has a consumer.
      ASSERT_EQ(1, TF_OperationOutputNumConsumers(TF_Output{three, 0}));
      TF_Input three_port;
      EXPECT_EQ(1,
                TF_OperationOutputConsumers(TF_Output{three, 0}, &three_port, 1));
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // modification of the graph can increase the number of consumers of
    // an operation.  Returns the number of output consumers (should match
    // TF_OperationOutputNumConsumers(oper_out)).
    TF_CAPI_EXPORT extern int TF_OperationOutputConsumers(TF_Output oper_out,
                                                          TF_Input* consumers,
                                                          int max_consumers);
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top