Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cond_output (0.1 sec)

  1. tensorflow/c/c_api.cc

            std::vector<tensorflow::Output> cond_output;
            TF_RETURN_IF_ERROR(CopyGraph(
                &params->cond_graph->graph, &parent->graph, &parent->refiner,
                params->cond_inputs, inputs, scope.impl()->name(),
                scope.impl()->control_deps(), &params->cond_output,
                /* nreturn_nodes */ 1, &cond_output));
            *output = cond_output[0];
            return absl::OkStatus();
          };
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // variables.
    //
    // The returned TF_WhileParams will have all fields initialized except
    // `cond_output`, `body_outputs`, and `name`. The `body_outputs` buffer will be
    // allocated to size `ninputs`. The caller should build `cond_graph` and
    // `body_graph` starting from the inputs, and store the final outputs in
    // `cond_output` and `body_outputs`.
    //
    // If `status` is OK, the caller must call either TF_FinishWhile or
    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_function_test.cc

        TF_Operation* less_than = LessThan(
            params->cond_inputs[0], params->cond_inputs[1], params->cond_graph, s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        params->cond_output = {less_than, 0};
    
        TF_Operation* add1 = Add(params->body_inputs[0], params->body_inputs[1],
                                 params->body_graph, s_, "add1");
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
Back to top