Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Rashed (0.22 sec)

  1. ci/official/requirements_updater/README.md

    updating requirements for multiple minor versions of Python.
    
    It takes in a file with a set of dependencies, and produces a more detailed
    requirements file for each version, with hashes specified for each
    dependency required, as well as their sub-dependencies.
    
    ### How to update/add requirements
    
    By default, the name of the base requirements file is `requirements.in`, but it
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

    /// max item age (in seconds) and max entries.
    ///
    /// This class is thread safe.
    template <typename T>
    class ExpiringLRUCache {
     public:
      /// A `max_age` of 0 means that nothing is cached. A `max_entries` of 0 means
      /// that there is no limit on the number of entries in the cache (however, if
      /// `max_age` is also 0, the cache will not be populated).
      ExpiringLRUCache(uint64_t max_age, size_t max_entries,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      // ...but is no longer valid 2 seconds after the insertion.
      env->SetNowSeconds(6);
      EXPECT_FALSE(cache.Lookup(key, &value));
    }
    
    TEST(ExpiringLRUCacheTest, MaxEntries) {
      // max_age of 0 means nothing will be cached.
      tf_gcs_filesystem::ExpiringLRUCache<int> cache1(0, 4);
      cache1.Insert("a", 1);
      int value = 0;
      EXPECT_FALSE(cache1.Lookup("a", &value));
      // Now set max_age = 1 and verify the LRU eviction logic.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      TF_EXPECT_OK(ReadCache(&cache, "", block_size, block_size, &out));
      EXPECT_EQ(out.size(), 1);
      // Now read the first block; this should yield an INTERNAL error because we
      // had already cached a partial block at a later position.
      Status status = ReadCache(&cache, "", 0, block_size, &out);
      EXPECT_EQ(status.code(), error::INTERNAL);
    }
    
    TEST(RamFileBlockCacheTest, LRU) {
      const size_t block_size = 16;
    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)
  5. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

            git diff --diff-filter ACMRT --name-only origin/master > $BATS_FILE_TMPDIR/changed_files
        fi
    }
    
    # Note: this is excluded on the full code base, since any submitted code must
    # have passed Google's internal style guidelines.
    @test "Check buildifier formatting on BUILD files" {
        echo "buildifier formatting is recommended. Here are the suggested fixes:"
        echo "============================="
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  6. ci/official/utilities/extract_resultstore_links.py

      tests_failed = 'tests_failed'
      build_failed = 'build_failed'
      passed = 'passed'
    
    
    def parse_args() -> argparse.Namespace:
      """Parses the commandline args."""
      parser = argparse.ArgumentParser(
          description='Extracts ResultStore links from a build log.\n'
                      'These can be then printed out, and/or output into a '
                      'JUnit-based XML file inside a specified directory.')
    
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/jax.requirements.txt

    # JAX requirements, passed into container by defining the ARG 
    # REQUIREMENTS_FILE=jax.requirements.txt
    
    
    setuptools
    wheel
    cloudpickle
    colorama>=0.4.4
    matplotlib
    pillow>=9.1.0
    rich
    absl-py
    portpicker
    six
    opt-einsum
    auditwheel
    typing_extensions
    importlib_metadata>=4.6
    numpy==1.26.0;python_version=="3.12"
    numpy==1.23.4;python_version=="3.11"
    numpy==1.22.4;python_version<"3.11"
    scipy==1.11.2;python_version=="3.12"
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 30 20:02:17 GMT 2024
    - 570 bytes
    - Viewed (0)
  8. tensorflow/c/eager/parallel_device/parallel_device.h

    // TPUReplicatedOutput(input=x, num_replicas=2)` un-packs the parallel tensor
    // into its components.
    //
    // The filled `device` struct and the allocated `device_info` struct may be
    // passed to TFE_RegisterCustomDevice. The `device_name` arguments must match.
    void AllocateParallelDevice(const char* device_name,
                                const char* const* underlying_devices,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jun 04 21:49:16 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  9. tensorflow/c/env.h

    // Returns a new thread that is running work_func and is identified
    // (for debugging/performance-analysis) by thread_name.
    //
    // The given param (which may be null) is passed to work_func when the thread
    // starts. In this way, data may be passed from the thread back to the caller.
    //
    // Caller takes ownership of the result and must call TF_JoinThread on it
    // eventually.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device.cc

    }
    
    // For TFE_CustomDevice::copy_tensor_to_device in the parallel device
    // registration.
    //
    // Since this function is used to satisfy the TFE_CustomDevice C API,
    // device_info is passed in using a C-style generic. It must always be a
    // ParallelDevice.
    TFE_TensorHandle* CopyToParallelDevice(TFE_Context* context,
                                           TFE_TensorHandle* tensor,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
Back to top