Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for loop (0.15 sec)

  1. tensorflow/c/c_api.cc

        if (new_node == nullptr) continue;
        parent->name_map[new_node->name()] = new_node;
      }
    
      // Populate 'outputs'.
      DCHECK_LE(loop_outputs.size(), num_loop_vars);
      for (int i = 0; i < loop_outputs.size(); ++i) {
        outputs[i] = {ToOperation(loop_outputs[i].node()), loop_outputs[i].index()};
      }
    }
    
    }  // namespace
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    
    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/eager/parallel_device/parallel_device_remote_test.cc

      TensorHandlePtr combined_value = CreatePerDeviceValues(
          context.get(), in_components, device_name, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
      // Loop to make synchronization failures more deterministic
      for (int i = 0; i < 100; ++i) {
        TensorHandlePtr multiply_result(
            Multiply(context.get(), combined_value.get(), combined_value.get(),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

            lra_list_.erase(block->lra_iterator);
            lra_list_.push_front(key);
            block->lra_iterator = lra_list_.begin();
            block->timestamp = timer_seconds_();
          }
        }
      });
      // Loop until either block content is successfully fetched, or our request
      // encounters an error.
      absl::MutexLock l(&block->mu);
      TF_SetStatus(status, TF_OK, "");
      while (true) {
        switch (block->state) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

          block_size, block_count * block_size, 0, fetcher);
      std::vector<char> out;
      out.resize(block_count, 0);
      // The cache has space for `block_count` blocks. The loop with i = 0 should
      // fill the cache, and the loop with i = 1 should be all cache hits. The
      // fetcher checks that it is called once and only once for each offset (to
      // fetch the corresponding block).
      for (int i = 0; i < 2; i++) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/grappler/grappler.cc

      CONFIG_TOGGLE(auto_mixed_precision_onednn_bfloat16);
      CONFIG_TOGGLE(auto_mixed_precision_mkl);
      CONFIG_TOGGLE(pin_to_host_optimization);
      CONFIG_TOGGLE(layout_optimizer);
      CONFIG_TOGGLE(remapping);
      CONFIG_TOGGLE(loop_optimization);
      CONFIG_TOGGLE(dependency_optimization);
      CONFIG_TOGGLE(auto_parallel);
      CONFIG_TOGGLE(memory_optimization);
      CONFIG_TOGGLE(scoped_allocator_optimization);
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  6. tensorflow/c/c_api_test.cc

      // Compare with first GraphDef + added NodeDef.
      NodeDef* added_node = graph_def.add_node();
      *added_node = node_def;
      EXPECT_EQ(graph_def.DebugString(), graph_def2.DebugString());
    
      // Look up some nodes by name.
      TF_Operation* neg2 = TF_GraphOperationByName(graph, "neg");
      EXPECT_TRUE(neg == neg2);
      NodeDef node_def2;
      ASSERT_TRUE(GetNodeDef(neg2, &node_def2));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  7. tensorflow/c/c_api_function_test.cc

      VerifyFDefOutputs(fdef, M({{"test_loop_exit"}}));
      VerifyFDefEdges(fdef,
                      {{"feed1", "test_loop/Enter:0"},
                       {"test_loop/Enter:output:0", "test_loop/Merge:0"},
                       {"test_loop/Merge:output:0", "test_loop/Switch:0"},
                       {"test_loop/Switch:output_false:0", "test_loop/Exit:0"},
                       {"test_loop/Exit:output:0", "test_loop_exit"}},
                      {}, false);
    }
    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)
Back to top