Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for body_outputs (0.1 sec)

  1. 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)
  2. tensorflow/c/c_api_function_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        TF_Operation* add2 = Add(add1, one, params->body_graph, s_, "add2");
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        params->body_outputs[0] = {add2, 0};
        params->body_outputs[1] = params->body_inputs[1];
    
        // Finalize while loop
        TF_FinishWhile(params.get(), s_, &outputs[0]);
        EXPECT_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