Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_OperationAllInputs (0.1 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: Tue Nov 05 12:39:12 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: 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