Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for storage (0.15 sec)

  1. tensorflow/c/experimental/grappler/grappler.cc

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

    // must point to an array of length at least `num_values`.
    //
    // The elements of values will point to addresses in `storage` which must be at
    // least `storage_size` bytes in length.  `num_values` and `storage` can be
    // obtained from TF_GetNodesToPreserveSize
    //
    // Fails if storage_size is too small to hold the requested number of strings.
    TF_CAPI_EXPORT extern void TF_GetNodesToPreserveList(
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  3. README.md

    **Linux CPU**                 | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/ubuntu-cc.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/ubuntu-cc.html)           | [PyPI](https://pypi.org/project/tf-nightly/)
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Oct 05 15:00:10 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler_test.cc

      std::unique_ptr<size_t[]> lens(new size_t[nodes_preserved.size()]);
      std::unique_ptr<char[]> storage(new char[storage_size]);
      TF_GetNodesToPreserveList(c_item, values.get(), lens.get(),
                                nodes_preserved.size(), storage.get(), storage_size,
                                status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      for (size_t i = 0; i < nodes_preserved.size(); ++i) {
    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)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    #include "absl/types/variant.h"
    #include "google/cloud/storage/client.h"
    #include "tensorflow/c/env.h"
    #include "tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h"
    #include "tensorflow/c/logging.h"
    #include "tensorflow/c/tf_status.h"
    
    // Implementation of a filesystem for GCS environments.
    // This filesystem will support `gs://` URI schemes.
    namespace gcs = google::cloud::storage;
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

    ### Typical Pull Request Workflow -
    
    **1. New PR**
    
    - As a contributor, you submit a New PR on GitHub.
    - We inspect every incoming PR and add certain labels to the PR such as `size:`,
      `comp:` etc.  At this stage we check if the PR is valid and meets certain
      quality requirements. For example, we check if the CLA is signed, PR has
      sufficient description, if applicable unit tests are added, if it is a
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      ///
      /// The file block cache key is a {filename, offset} pair.
      typedef std::pair<std::string, size_t> Key;
    
      /// \brief The state of a block.
      ///
      /// A block begins in the CREATED stage. The first thread will attempt to read
      /// the block from the filesystem, transitioning the state of the block to
      /// FETCHING. After completing, if the read was successful the state should
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  8. LICENSE

          incidental, or consequential damages of any character arising as a
          result of this License or out of the use or inability to use the
          Work (including but not limited to damages for loss of goodwill,
          work stoppage, computer failure or malfunction, or any and all
          other commercial damages or losses), even if such Contributor
          has been advised of the possibility of such damages.
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Nov 29 17:31:56 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

    static const char* content = "abcdefghijklmnopqrstuvwxyz1234567890";
    // We will work with content_view instead of content.
    static const absl::string_view content_view = content;
    
    namespace gcs = google::cloud::storage;
    
    static std::string InitializeTmpDir() {
      // This env should be something like `gs://bucket/path`
      const char* test_dir = getenv("GCS_TEST_TMPDIR");
      if (test_dir != nullptr) {
        std::string bucket, object;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  10. ci/devinfra/docker_windows/Dockerfile

    RUN Get-NetAdapter | Where-Object Name -like "*Ethernet*" | ForEach-Object { \
            & netsh interface ipv4 set subinterface $_.InterfaceIndex mtu=1460 store=persistent }; \
        $gateway = (Get-NetRoute | Where { $_.DestinationPrefix -eq \"0.0.0.0/0\" } | Sort-Object RouteMetric \
            | Select NextHop).NextHop; \
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
Back to top