Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for instead (0.21 sec)

  1. tensorflow/c/c_api.cc

    #include "tensorflow/core/platform/types.h"
    #include "tensorflow/core/public/session.h"
    #include "tensorflow/core/public/version.h"
    
    // The implementation below is at the top level instead of the
    // brain namespace because we are defining 'extern "C"' functions.
    using tensorflow::AttrValueMap;
    using tensorflow::DataType;
    using tensorflow::ExtendSessionGraphHelper;
    using tensorflow::FullTypeDef;
    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)
  2. tensorflow/c/eager/c_api_cluster_test.cc

      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server.release();
    
      // Update the server def with a new set of names (worker instead of
      // localhost).
      tensorflow::ServerDef updated_server_def = GetServerDef("worker", 2);
      serialized = updated_server_def.SerializeAsString();
    
      updated_server_def.set_task_index(1);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

    #define EXPECT_TF_OK(x) EXPECT_EQ(TF_OK, TF_GetCode(x)) << TF_Message(x)
    
    static const char* content = "abcdefghijklmnopqrstuvwxyz1234567890";
    // We will work with content_view instead of content.
    static const absl::string_view content_view = content;
    
    namespace gcs = google::cloud::storage;
    
    static std::string InitializeTmpDir() {
      // This env should be something like `gs://bucket/path`
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        // locking block->mu.
        if (downloaded_block) {
          absl::MutexLock l(&mu_);
          // Do not update state if the block is already to be evicted.
          if (block->timestamp != 0) {
            // Use capacity() instead of size() to account for all  memory
            // used by the cache.
            cache_size_ += block->data.capacity();
            // Put to beginning of LRA list.
            lra_list_.erase(block->lra_iterator);
    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)
  5. tensorflow/c/c_api_test.cc

      }
    
      TF_Status* s_;
    
     private:
      TF_Graph* graph_;
      int counter_;
    };
    
    // Helper macros for the TF_OperationGetAttr* tests.
    // TODO(ashankar): Use gmock matchers instead?
    // (https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#writing-new-parameterized-matchers-quickly)
    // That will require setting up the tensorflow build with gmock.
    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)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    // How to upload new data when Flush() is called multiple times.
    // By default the entire file is reuploaded.
    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.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top