Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/c_api_function.cc

      if (TF_GetCode(status) != TF_OK) return nullptr;
    
      // Compute body nodes.
      std::vector<const Node*> control_output_nodes;
      control_output_nodes.reserve(ncontrol_outputs);
      for (int i = 0; i < ncontrol_outputs; ++i) {
        control_output_nodes.push_back(&control_outputs[i]->node);
      }
    
      // Do the actual function creation.
      DCHECK(append_hash_to_fn_name <= 1);
      tensorflow::FunctionDef fdef;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // function.
    //
    //  The arguments of TF_GraphToFunction have the same meaning, but the new
    //  arguments are as follows:
    //
    //    ncontrol_outputs: Number of control outputs of the function.
    //    control_outputs: vector of TF_Operation objects to be marked as control
    //      outputs of the function. Operations marked as control outputs are
    //      guaranteed to execute.
    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

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