Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/c_api.cc

      } else {
        return ToOperation(iter->second);
      }
    }
    
    TF_Operation* TF_GraphNextOperation(TF_Graph* graph, size_t* pos) {
      if (*pos == 0) {
        // Advance past the first sentinel nodes in every graph (the source & sink).
        *pos += 2;
      } else {
        // Advance to the next node.
        *pos += 1;
      }
    
      mutex_lock l(graph->mu);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      TF_EXPECT_OK(ReadCache(&cache1, "", 0, 1, &out));
      EXPECT_EQ(calls, 1);
      // Now advance the clock one second at a time and redo the read. The call
      // count should advance every 3 seconds (i.e. every time the staleness is
      // greater than 2).
      for (int i = 1; i <= 10; i++) {
        env->SetNowSeconds(i + 1);
        TF_EXPECT_OK(ReadCache(&cache1, "", 0, 1, &out));
        EXPECT_EQ(calls, 1 + i / 3);
      }
    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)
  3. tensorflow/c/experimental/gradients/math_grad_test.cc

          immediate_execution_ctx_.get(), {x.get()}, UseFunction()));
    }
    
    TEST_P(CppGradients, TestMatMulGrad) {
      // TODO(vnvo2409): Figure out why `gradient_checker` does not work very
      // well with `MatMul` and remove `TestMatMul*` in
      // `mnist_gradients_test` when done.
      GTEST_SKIP();
    
      float A_vals[] = {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f};
      int64_t A_dims[] = {3, 3};
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    //
    // Each filesystem implementation can be provided by DSOs, so we provide the
    // `--dsos` flag to specify a list of shared objects to be loaded in order.
    // If the flag is not used, no shared objects are loaded.
    //
    // Every filesystem provides support for accessing URIs of form
    // `[<scheme>://]<path>` where `<scheme>` is optional (if missing, we are
    // accessing local paths). This test suite tests exactly one scheme for each
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

          : status_(TF_NewStatus()),
            // If the context's default exector is set to async, re-using that in
            // each thread would cause collectives to deadlock. For consistency we
            // create a new sync executor for every thread.
            //
            // TODO(allenl): We should have an async API that works with the
            // parallel device.
            device_(device),
            executor_(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  6. tensorflow/c/eager/parallel_device/parallel_device.cc

        const TFE_OpAttrs* attributes, int expected_max_outputs,
        TF_Status* status) {
      absl::optional<std::vector<MaybeParallelTensorOwned>> result;
      // TODO(allenl): We should remove "TPU" from these op names at the very least,
      // or consider other ways of packing/unpacking parallel tensors.
      if (operation_name == std::string("TPUReplicatedInput")) {
        // Special-cased operation for packing per-device tensors into one parallel
        // tensor.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
Back to top