Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for lent (0.21 sec)

  1. tensorflow/c/c_api_test.cc

                              std::unique_ptr<const void*[]>* ptrs,
                              std::unique_ptr<size_t[]>* lens) {
      ptrs->reset(new const void*[v.size()]);
      lens->reset(new size_t[v.size()]);
      for (size_t i = 0; i < v.size(); ++i) {
        (*ptrs)[i] = v[i].data();
        (*lens)[i] = v[i].size();
      }
    }
    
    class CApiColocationTest : public ::testing::Test {
     protected:
    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_test.cc

      uint64 start = Env::Default()->NowSeconds();
      do {
        Env::Default()->SleepForMicroseconds(100000);
      } while (cache.CacheSize() == 24 && Env::Default()->NowSeconds() - start < 3);
      // There should be one block left in the cache, and it should be the first
      // block of "b".
      EXPECT_EQ(cache.CacheSize(), 8);
      TF_EXPECT_OK(ReadCache(&cache, "b", 0, 1, &out));
      EXPECT_EQ(calls, 3);
    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)
  3. tensorflow/c/c_api.cc

                                    size_t proto_len, TF_Status* status) {
      // shape.ParseFromArray takes an int as length, this function takes size_t,
      // make sure there is no information loss.
      if (proto_len > std::numeric_limits<int>::max()) {
        status->status = InvalidArgument(
            "proto_len (", proto_len,
            " bytes) is too large to be parsed by the protocol buffer library");
        return;
    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)
  4. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    @embedded_jdk//
    ^//$
    @ruy//
    EOF
    
      license_query "attr('licenses', 'notice', deps($BUILD_TARGET))" > $BATS_TEST_TMPDIR/expected_licenses
      license_query "deps($LICENSES_TARGET)" > $BATS_TEST_TMPDIR/actual_licenses
    
      # Column 1 is left only, Column 2 is right only, Column 3 is shared lines
      # Select lines unique to actual_licenses, i.e. extra licenses.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/filesystem_interface.h

    constexpr size_t TF_WRITABLE_FILE_OPS_SIZE = sizeof(TF_WritableFileOps);
    // LINT.ThenChange()
    
    // LINT.IfChange(read_only_memory_region_ops_version)
    constexpr int TF_READ_ONLY_MEMORY_REGION_OPS_API = 0;
    constexpr int TF_READ_ONLY_MEMORY_REGION_OPS_ABI = 0;
    constexpr size_t TF_READ_ONLY_MEMORY_REGION_OPS_SIZE =
        sizeof(TF_ReadOnlyMemoryRegionOps);
    // LINT.ThenChange()
    
    // LINT.IfChange(filesystem_ops_version)
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/immediate_execution_context.h

      typedef void (*MemoryReleaser)(void* data, size_t len, void* arg);
    
      // Create a tensor instance from the given data buffer and description.
      // `memory_releaser` will be called on destruction, and it's responsible for
      // cleaning up the underlying buffer.
      virtual AbstractTensorInterface* CreateTensor(
          DataType dtype, const int64_t* dims, int num_dims, void* data, size_t len,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  7. SECURITY.md

    or networks.
    
    For performance reasons, the default TensorFlow server does not include any
    authorization protocol and sends messages unencrypted. It accepts connections
    from anywhere, and executes the graphs it is sent without performing any checks.
    Therefore, if you run a `tf.train.Server` in your network, anybody with access
    to the network can execute arbitrary code with the privileges of the user
    running the `tf.train.Server`.
    
    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)
  8. LICENSE

          or by an individual or Legal Entity authorized to submit on behalf of
          the copyright owner. For the purposes of this definition, "submitted"
          means any form of electronic, verbal, or written communication sent
          to the Licensor or its representatives, including but not limited to
          communication on electronic mailing lists, source code control systems,
          and issue tracking systems that are managed by, or on behalf of, the
    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/ram_file_block_cache.h

      /// 4) `TF_OK` otherwise (i.e. the read succeeded, and at least one byte was
      /// placed
      ///    in `buffer`).
      ///
      /// Caller is responsible for allocating memory for `buffer`.
      /// `buffer` will be left unchanged in case of errors.
      int64_t Read(const std::string& filename, size_t offset, size_t n,
                   char* buffer, TF_Status* status);
    
      // Validate the given file signature with the existing file signature in the
    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)
  10. tensorflow/BUILD

    package_group(name = "types_allowlist")
    
    # Packages that use StructuredTensors.
    # TODO(b/159007891) Remove this package once StructuredTensor is exported.
    # LINT.IfChange
    package_group(name = "structured_tensor_allowlist")
    # LINT.ThenChange(copy.bara.sky)
    
    filegroup(
        name = "intel_binary_blob",
        data = if_mkl_ml(
            [
                "@local_xla//xla/tsl/mkl:intel_binary_blob",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
Back to top