Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_OperationInput (0.14 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_INT32, TF_OperationInputType(TF_Input{add, 0}));
      EXPECT_EQ(TF_INT32, TF_OperationInputType(TF_Input{add, 1}));
      TF_Output add_in_0 = TF_OperationInput(TF_Input{add, 0});
      EXPECT_EQ(feed, add_in_0.oper);
      EXPECT_EQ(0, add_in_0.index);
      TF_Output add_in_1 = TF_OperationInput(TF_Input{add, 1});
      EXPECT_EQ(three, add_in_1.oper);
      EXPECT_EQ(0, add_in_1.index);
      EXPECT_EQ(0, TF_OperationOutputNumConsumers(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)
  2. tensorflow/c/c_api.h

                                                          TF_Status* status);
    
    // In this code:
    //   TF_Output producer = TF_OperationInput(consumer);
    // There is an edge from producer.oper's output (given by
    // producer.index) to consumer.oper's input (given by consumer.index).
    TF_CAPI_EXPORT extern TF_Output TF_OperationInput(TF_Input oper_in);
    
    // Get list of all inputs of a specific operation.  `inputs` must point to
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

      if (iter == name_ranges.end()) {
        status->status = InvalidArgument("Input arg '", arg_name, "' not found");
        return -1;
      }
      return iter->second.second - iter->second.first;
    }
    
    TF_Output TF_OperationInput(TF_Input oper_in) {
      const tensorflow::Edge* edge;
      Status s = oper_in.oper->node.input_edge(oper_in.index, &edge);
      if (!s.ok()) {
        return {nullptr, -1};
      }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top