Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Falls (0.16 sec)

  1. tensorflow/c/c_api.cc

    // --------------------------------------------------------------------------
    TF_SessionOptions* TF_NewSessionOptions() {
      TF_SessionOptions* out = new TF_SessionOptions;
      // Disable optimizations for static graph to allow calls to Session::Extend.
      out->options.config.mutable_experimental()
          ->set_disable_optimize_for_static_graph(true);
      return out;
    }
    void TF_DeleteSessionOptions(TF_SessionOptions* opt) { delete opt; }
    
    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)
  2. tensorflow/c/eager/gradients.cc

      // a tensor with the result.
      AbstractTensorHandle* AggregateGradients(
          gtl::ArraySlice<AbstractTensorHandle*> gradient_tensors) const override;
    
      // Calls the passed-in backward function.
      // op_type is the op's name provided in RecordOperation.
      Status CallBackwardFunction(
          const string& op_type, GradientFunction* gradient_function,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/grappler/grappler.cc

    // This file extends/implements core graph optimizer base classes in terms of
    // the C API defined in grappler.h. A class "CSomething" represents a
    // "Something" that can be manipulated via calls in the C interface and a C
    // struct called "TP_Something".
    
    #include "tensorflow/c/experimental/grappler/grappler.h"
    
    #include <algorithm>
    #include <cstddef>
    #include <cstring>
    #include <string>
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api.cc

    // TODO(b/291142876) Simplify TFE_ContextSetServerDefWithTimeoutAndRetries and
    // TFE_ContextUpdateServerDefWithTimeout to be simple wrappers around the same
    // C++ function.
    // Retries are used for CreateContext calls, which is used in
    // ParameterServerStrategy initialization to be robust to worker preemption.
    TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeoutAndRetries(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    constexpr char kAppendMode[] = "GCS_APPEND_MODE";
    // If GCS_APPEND_MODE=compose then instead the new data is uploaded to a
    // temporary object and composed with the original object. This is disabled by
    // default as the multiple API calls required add a risk of stranding temporary
    // objects.
    constexpr char kComposeAppend[] = "compose";
    
    // We can cast `google::cloud::StatusCode` to `TF_Code` because they have the
    // same integer values. See
    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)
  6. tensorflow/c/c_api_function_test.cc

      std::vector<std::pair<string, string>> grads = GetGradDefs(gdef);
      ASSERT_EQ(1, grads.size());
      ASSERT_EQ(func_name_, grads[0].first);
      ASSERT_EQ("MyGrad", grads[0].second);
    
      // These calls must be noops
      TF_GraphCopyFunction(host_graph_, func_, grad_func, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_GraphCopyFunction(host_graph_, func_, nullptr, s_);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      std::list<size_t> calls;
      auto fetcher = [&calls, block_size](const string& filename, size_t offset,
                                          size_t n, char* buffer,
                                          TF_Status* status) -> int64_t {
        EXPECT_EQ(n, block_size);
        EXPECT_FALSE(calls.empty()) << "at offset = " << offset;
        if (!calls.empty()) {
          EXPECT_EQ(offset, calls.front());
          calls.pop_front();
        }
    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)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

    TEST(ExpiringLRUCacheTest, LookupOrCompute) {
      // max_age of 0 means we should always compute.
      uint64 num_compute_calls = 0;
      tf_gcs_filesystem::ExpiringLRUCache<int>::ComputeFunc compute_func =
          [&num_compute_calls](const string& key, int* value, TF_Status* status) {
            *value = num_compute_calls;
            num_compute_calls++;
            return TF_SetStatus(status, TF_OK, "");
          };
    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)
  9. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/file_system_helper.h"
    #include "tsl/platform/errors.h"
    
    // TODO(b/139060984): After all filesystems are converted, all calls to
    // methods from `FileSystem` will have to be replaced to calls to private
    // methods here, as part of making this class a singleton and the only way to
    // register/use filesystems.
    
    namespace tensorflow {
    
    using UniquePtrTo_TF_Status =
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Setup a session and a partial run handle.  The partial run will allow
      // computation of A + 2 + B in two phases (calls to TF_SessionPRun):
      // 1. Feed A and get (A+2)
      // 2. Feed B and get (A+2)+B
      TF_SessionOptions* opts = TF_NewSessionOptions();
      TF_Session* sess = TF_NewSession(graph, opts, s);
      TF_DeleteSessionOptions(opts);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top