Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 43 of 43 for pnum (0.12 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      // TensorFlow, so we need to use `plugin_memory_free_` here.
      char** children = nullptr;
      const int num_children =
          ops_->get_children(filesystem_.get(), translated_name.c_str(), &children,
                             plugin_status.get());
      if (num_children >= 0) {
        for (int i = 0; i < num_children; i++) {
          result->push_back(std::string(children[i]));
          plugin_memory_free_(children[i]);
        }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_test.cc

      // Build an abstract input tensor.
      int64_t dims[] = {2, 2};  // Matrices will be 2 x 2
      int num_dims = sizeof(dims) / sizeof(dims[0]);
    
      float vals[] = {0.0f, 0.0f, 0.0f, 0.0f};
      TFE_Context* eager_ctx = TF_ExecutionContextGetTFEContext(ctx, status.get());
      TFE_TensorHandle* t =
          TestMatrixTensorHandleWithInput(eager_ctx, vals, dims, num_dims);
    
      TF_AbstractTensor* at = TF_CreateAbstractTensorFromEagerTensor(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      const size_t block_size = 16;
      int num_requests = 0;
      Notification notification;
      auto fetcher = [&num_requests, &notification, block_size](
                         const string& filename, size_t offset, size_t n,
                         char* buffer, TF_Status* status) -> int64_t {
        EXPECT_EQ(n, block_size);
        EXPECT_EQ(offset, 0);
        num_requests++;
        memset(buffer, 'x', n);
        notification.Notify();
    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)
Back to top