Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for resources (0.18 sec)

  1. ci/official/wheel_test/test_import_api_packages.py

    """
    
    import logging
    import unittest
    import pkg_resources
    
    logging.basicConfig(level=logging.INFO)
    
    
    class ImportApiPackagesTest(unittest.TestCase):
      """ImportApiPackagesTest class. See description at the top of the file."""
    
      def setUp(self):
        def _get_api_packages_v2():
          api_packages_path = pkg_resources.resource_filename(
              "tensorflow", "_api/v2/api_packages.txt"
          )
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 13 15:52:07 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. SECURITY.md

    implement, and therefore security issues deriving from their absence are not
    considered a vulnerability in TensorFlow.
    
    ### Resource allocation
    
    A denial of service caused by one model could bring down the entire server, but
    we don't consider this as a vulnerability, given that models can exhaust
    resources in many different ways and solutions exist to prevent this from
    happening (e.g., rate limits, ACLs, monitors to restart broken servers).
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  3. README.md

    for machine learning. It has a comprehensive, flexible ecosystem of
    [tools](https://www.tensorflow.org/resources/tools),
    [libraries](https://www.tensorflow.org/resources/libraries-extensions), and
    [community](https://www.tensorflow.org/community) resources that lets
    researchers push the state-of-the-art in ML and developers easily build and
    deploy ML-powered applications.
    
    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/eager/parallel_device/BUILD

        ],
        visibility = ["//tensorflow/python:__pkg__"],
    )
    
    filegroup(
        name = "sources",
        srcs = [
            ":device_sources",
            ":lib_sources",
        ],
        visibility = ["//tensorflow/python:__pkg__"],
    )
    
    cc_library(
        name = "parallel_device",
        srcs = [":device_sources"],
        hdrs = [":device_headers"],
        visibility = ["//visibility:private"],
        deps = [
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. ci/official/utilities/get_versions.sh

    # limitations under the License.
    # ==============================================================================
    # Variables containing version strings extracted from the canonical sources:
    # tensorflow/core/public/version.h and tools/pip_package/setup.py.
    #
    # These variables aren't available by default. Scripts must source this file
    # explicitly, *after* checking if update_version.py needs to be run for a
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

                static_cast<TF_Code>(tensorflow::error::PERMISSION_DENIED));
      EXPECT_EQ(TF_UNAUTHENTICATED,
                static_cast<TF_Code>(tensorflow::error::UNAUTHENTICATED));
      EXPECT_EQ(TF_RESOURCE_EXHAUSTED,
                static_cast<TF_Code>(tensorflow::error::RESOURCE_EXHAUSTED));
      EXPECT_EQ(TF_FAILED_PRECONDITION,
                static_cast<TF_Code>(tensorflow::error::FAILED_PRECONDITION));
    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)
  7. tensorflow/c/eager/c_api_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    }
    BENCHMARK(BM_ExecuteFunction)->Arg(0)->Arg(1);
    
    TEST(CAPI, Variables) {
      // Variables use resource handles, so this is really a test for resource
      // tensor handling.
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* ctx = TFE_NewContext(opts, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  8. ci/official/containers/linux_arm64/build.sh

    # almost all of the same cache layers
    export DOCKER_BUILDKIT=1
    for target in jax tf; do
      IMAGE="gcr.io/tensorflow-sigs/build-arm64:$target-$TAG"
      docker pull "$IMAGE" || true
      # Due to some flakiness of resources pulled in the build, allow the docker
      # command to reattempt build a few times in the case of failure (b/302558736)
      set +e
      for i in $(seq 1 5)
      do
        docker build \
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Nov 03 13:38:49 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

        *dst = tensorflow::Tensor(tensorflow::DT_RESOURCE, dst->shape());
        if (!dst->scalar<tensorflow::ResourceHandle>()().ParseFromString(
                string(static_cast<const char*>(tensor_interface->Data()),
                       tensor_interface->ByteSize()))) {
          return InvalidArgument(
              "Malformed TF_RESOURCE tensor: unable to parse resource handle");
        }
        return absl::OkStatus();
      }
      return absl::OkStatus();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/setup.sources.sh

    # LLVM/Clang: https://apt.llvm.org/
    apt-key adv --fetch-keys https://apt.llvm.org/llvm-snapshot.gpg.key
    
    # Set up custom sources
    cat >/etc/apt/sources.list.d/custom.list <<SOURCES
    # More Python versions: Deadsnakes
    deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main
    deb-src http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main
    
    # LLVM/Clang 17 repository
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top