Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for it (0.16 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

    }
    
    void RamFileBlockCache::RemoveFile_Locked(const std::string& filename) {
      Key begin = std::make_pair(filename, 0);
      auto it = block_map_.lower_bound(begin);
      while (it != block_map_.end() && it->first.first == filename) {
        auto next = std::next(it);
        RemoveBlock(it);
        it = next;
      }
    }
    
    void RamFileBlockCache::RemoveBlock(BlockMap::iterator entry) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  2. ISSUES.md

    If you open a GitHub Issue, here is our policy:
    
    1.  It must be a bug/performance issue or a feature request or a build issue or
        a documentation issue (for small doc fixes please send a PR instead).
    1.  Make sure the Issue Template is filled out.
    1.  The issue should be related to the repo it is created in.
    
    **Here's why we have this policy:** We want to focus on the work that benefits
    the whole community, e.g., fixing bugs and adding features. Individual support
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 11 22:37:27 GMT 2021
    - 606 bytes
    - Viewed (0)
  3. ci/official/wheel_test/README.md

    to the `../wheel_test/` directory.
    
    
    ### How it Works in the Presubmit Job
    
    `_requirements_lock` files will be generated by the presubmit job. A detailed
    description will be provided once it's integrated into presubmit.
    
    ### test_import_api_packages
    
    This Python test verifies whether the API v2 packages can be imported from the
    current build. It utilizes the `_api/v2/api_packages.txt` list of packages from
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      EXPECT_EQ(cache.CacheSize(), 0);
    }
    
    TEST(RamFileBlockCacheTest, ParallelReads) {
      // This fetcher won't respond until either `callers` threads are calling it
      // concurrently (at which point it will respond with success to all callers),
      // or 10 seconds have elapsed (at which point it will respond with an error).
      const int callers = 4;
      BlockingCounter counter(callers);
    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. tensorflow/c/c_test.c

    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc

    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    // This method uses a temporary buffer to hold contents.
    int CopyFileContents(int dst_fd, int src_fd, off_t size) {
      // Use a copy buffer of 128KB but don't store it on the stack.
      constexpr static size_t kPosixCopyFileBufferSize = 128 * 1024;
      std::unique_ptr<char[]> buffer(new char[kPosixCopyFileBufferSize]);
    
      off_t offset = 0;
      int bytes_transferred = 0;
      int rc = 1;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/nn_grad_test.cc

      // Although, `ops::SparseSoftmaxCrossEntropyWithLogits` returns 2 tensors, the
      // second tensor isn't needed for computing gradient so we could safely drop
      // it.
      outputs[0] = loss;
      backprop->Unref();
      return absl::OkStatus();
    }
    
    Status BiasAddModel(AbstractContext* ctx,
                        absl::Span<AbstractTensorHandle* const> inputs,
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. ci/official/envs/rbe

    # an entry in tensorflow/.bazelrc for build:rbe_TFCI_BAZEL_TARGET...
    #                                           ^^^^
    # This env is only valid when RBE is available on the selected platform, since
    # it enables a derived --config setting.  If RBE is not available (i.e. there
    # is no --config setting), bazel would fail and quit. This script does a quick
    # check This script checks for such errors early
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_internal.h

      std::atomic<bool> extend_before_run;
    };
    
    struct TF_ImportGraphDefOptions {
      tensorflow::ImportGraphDefOptions opts;
    
      // Backing memory for TensorId fields in opts.
      // TODO(skyewm): it'd be better if ImportGraphDefOptions owned this.
      std::vector<tensorflow::string> tensor_id_data;
    };
    
    struct TF_ImportGraphDefResults {
      std::vector<TF_Output> return_tensors;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.h

                                                      TF_Status* status);
    
    // Removes a function from the context. Once removed, you can no longer
    // TFE_Execute it or TFE_Execute any TFE_Op which has it as an attribute or any
    // other function which calls it as an attribute.
    TF_CAPI_EXPORT extern void TFE_ContextRemoveFunction(TFE_Context* ctx,
                                                         const char* name,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
Back to top