Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for body_inputs (0.26 sec)

  1. tensorflow/c/c_api.cc

          break;
        }
        if (!CreateInput(inputs[i], body_graph, StrCat("body_input", i).c_str(),
                         &body_inputs[i], status)) {
          break;
        }
      }
    
      TF_WhileParams params = {ninputs,    cond_graph,  cond_inputs,  cond_output,
                               body_graph, body_inputs, body_outputs, name};
    
      if (!status->status.ok()) {
        FreeWhileResources(&params);
        return EmptyWhileParams();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

        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_);
        TF_Operation* one = ScalarConst(1, params->body_graph, s_);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  3. tensorflow/c/c_api.h

                                                     TF_Status* status);
    
    typedef struct TF_WhileParams {
      // The number of inputs to the while loop, i.e. the number of loop variables.
      // This is the size of cond_inputs, body_inputs, and body_outputs.
      const int ninputs;
    
      // The while condition graph. The inputs are the current values of the loop
      // variables. The output should be a scalar boolean.
      TF_Graph* const cond_graph;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top