Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_OperationAllInputs (0.3 sec)

  1. tensorflow/c/c_api.h

    // TF_OperationNumInputs(oper)).  Beware that a concurrent
    // modification of the graph can increase the number of inputs of
    // an operation.
    TF_CAPI_EXPORT extern void TF_OperationAllInputs(TF_Operation* oper,
                                                     TF_Output* inputs,
                                                     int max_inputs);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

      Status s = oper_in.oper->node.input_edge(oper_in.index, &edge);
      if (!s.ok()) {
        return {nullptr, -1};
      }
    
      return {ToOperation(edge->src()), edge->src_output()};
    }
    
    void TF_OperationAllInputs(TF_Operation* oper, TF_Output* inputs,
                               int max_inputs) {
      for (auto* edge : oper->node.in_edges()) {
        if (edge->dst_input() >= 0 && edge->dst_input() < max_inputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top