Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for french (0.29 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      // Fetch and see that the new value is returned.
      TF_GraphGetTensorShape(graph, feed_out_0, returned_dims, num_dims, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(2, num_dims);
      EXPECT_EQ(2, returned_dims[0]);
      EXPECT_EQ(3, returned_dims[1]);
    
      // Try to fetch a shape with the wrong num_dims
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

            break;
          case FetchState::FINISHED:
            return TF_SetStatus(status, TF_OK, "");
        }
      }
      return TF_SetStatus(
          status, TF_INTERNAL,
          "Control flow should never reach the end of RamFileBlockCache::Fetch.");
    }
    
    int64_t RamFileBlockCache::Read(const std::string& filename, size_t offset,
                                    size_t n, char* buffer, TF_Status* status) {
      if (n == 0) {
    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)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // 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++) {
        for (int j = 0; j < block_count; j++) {
          TF_EXPECT_OK(ReadCache(&cache, "", block_size * j, block_size, &out));
        }
      }
    }
    
    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)
  4. tensorflow/c/experimental/grappler/grappler.cc

                                  size_t* storage_size, TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
      const std::vector<std::string>& nodes =
          reinterpret_cast<const tensorflow::grappler::GrapplerItem*>(item)->fetch;
      *num_values = nodes.size();
      *storage_size = 0;
      for (const std::string& str : nodes) {
        *storage_size += str.size();
      }
    }
    
    void TF_GetFetchNodesList(const TF_GrapplerItem* item, char** values,
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/grappler/grappler_test.cc

      EXPECT_EQ(item.fetch.size(), num_values);
      EXPECT_EQ(list_total_size, storage_size);
    
      std::unique_ptr<char*[]> values(new char*[item.fetch.size()]);
      std::unique_ptr<size_t[]> lens(new size_t[item.fetch.size()]);
      std::unique_ptr<char[]> storage(new char[storage_size]);
      TF_GetFetchNodesList(c_item, values.get(), lens.get(), item.fetch.size(),
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top