Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_WhileParams (0.14 sec)

  1. tensorflow/c/c_api.h

      // for created operations.
      const char* name;
    } TF_WhileParams;
    
    // Creates a TF_WhileParams for creating a while loop in `g`. `inputs` are
    // outputs that already exist in `g` used as initial values for the loop
    // variables.
    //
    // The returned TF_WhileParams will have all fields initialized except
    // `cond_output`, `body_outputs`, and `name`. The `body_outputs` buffer will be
    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

      std::vector<TF_Output> outputs;
    
      // Add while loop to func_graph_
      {
        // The inputs to the while loop
        std::vector<TF_Output> inputs = {{feed1, 0}, {feed2, 0}};
        std::unique_ptr<TF_WhileParams> params(new TF_WhileParams(
            TF_NewWhile(func_graph_, &inputs[0], inputs.size(), s_)));
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        params->name = "test_loop";
    
    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