Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for cloned_inputs (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      VLOG(3) << "Found " << forward_variable_inputs.size()
              << " variables used in forward pass of " << resource_count
              << " total resource inputs";
    
      // Clone the TPUReplicatedInputs.
      int64_t cloned_inputs = 0;
      for (int64_t index : forward_variable_inputs) {
        Value argument = loop_body_func.getArgument(index);
        // Uses of this argument should only be the return and the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      VLOG(3) << "Found " << forward_variable_inputs.size()
              << " variables used in forward pass of " << resource_count
              << " total resource inputs";
    
      // Clone the TPUReplicatedInputs.
      int64_t cloned_inputs = 0;
      for (int64_t index : forward_variable_inputs) {
        Value argument = loop_body_func.getArgument(index);
        // Uses of this argument should only be the return and the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  3. tensorflow/c/while_loop_test.cc

      EXPECT_TRUE(params_->body_graph != nullptr);
      EXPECT_TRUE(params_->cond_graph != nullptr);
    
      EXPECT_EQ(params_->ninputs, 2);
    
      ASSERT_TRUE(params_->cond_inputs != nullptr);
      ASSERT_TRUE(params_->cond_inputs[0].oper != nullptr);
      EXPECT_TRUE(params_->cond_inputs[1].oper != nullptr);
    
      ASSERT_TRUE(params_->body_inputs != nullptr);
      EXPECT_TRUE(params_->body_inputs[0].oper != nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

                         &cond_inputs[i], status)) {
          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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function_test.cc

        outputs.resize(2, {nullptr, -1});
    
        // Create loop: while (input1 < input2) input1 += input2 + 1
        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],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

      // 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;
      const TF_Output* const cond_inputs;
      TF_Output cond_output;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top