Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Storage (0.28 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. ci/official/envs/linux_x86_tpu

    TFCI_BUILD_PIP_PACKAGE_ARGS="--repo_env=WHEEL_NAME=tensorflow_tpu"
    TFCI_LIB_SUFFIX="-tpu-linux-x86_64"
    TFCI_WHL_BAZEL_TEST_ENABLE=0
    TFCI_WHL_IMPORT_TEST_ENABLE=0
    TFCI_WHL_SIZE_LIMIT=580M
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  4. ci/official/wheel_test/WORKSPACE

    load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
    
    http_archive(
        name = "bazel_skylib",
        sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
        urls = [
            "https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
            "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
        ],
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/BUILD

            "//tensorflow/c:logging",
            "//tensorflow/c:tf_status",
            "//tensorflow/c/experimental/filesystem:filesystem_interface",
            "@com_github_googlecloudplatform_google_cloud_cpp//:storage_client",
            "@com_google_absl//absl/strings",
            "@com_google_absl//absl/types:variant",
        ],
    )
    
    cc_library(
        name = "gcs_helper",
        srcs = ["gcs_helper.cc"],
        hdrs = ["gcs_helper.h"],
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. ci/official/utilities/setup_macos.sh

    # run all the tests. Since TFCI Mac VMs execute Bazel test commands in a
    # partition with insufficient storage, we specify the
    # 'TFCI_MACOS_BAZEL_TEST_DIR_PATH' environment variable to point to a partition
    # with ample storage. When this variable is empty (i.e by default), Bazel will
    # use the output base directory to run tests.
    if [[ "${TFCI_MACOS_BAZEL_TEST_DIR_ENABLE}" == 1 ]]; then
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. WORKSPACE

    load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
    
    http_archive(
        name = "bazel_skylib",
        sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
        urls = [
            "https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
            "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
        ],
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 3K bytes
    - Viewed (2)
  8. ci/official/requirements_updater/WORKSPACE

    load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
    
    http_archive(
        name = "bazel_skylib",
        sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
        urls = [
            "https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
            "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
        ],
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:12:56 GMT 2024
    - 1.6K bytes
    - Viewed (1)
  9. 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 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.cc

      char* p = static_cast<char*>(storage);
      for (int i = 0; i < len; ++i) {
        const string& s = attr->list().s(i);
        values[i] = p;
        lengths[i] = s.size();
        if ((p + s.size()) > (static_cast<char*>(storage) + storage_size)) {
          status->status = InvalidArgument(
              "Not enough storage to hold the requested list of strings");
          return;
        }
    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)
Back to top