Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for berate (0.15 sec)

  1. .github/workflows/issue-on-pr-rollback.yml

            uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
          - name: Create a new Github Issue
            uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3
            with:
              github-token: ${{secrets.GITHUB_TOKEN}}
              script: |
                const script = require('./.github/workflows/create_issue.js')
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Sep 12 16:40:29 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test.cc

    //    only worker 1.
    // 2. Create a context B using A.
    // 3. Create the variable in B.
    // 4. Create another single host server def C with only worker 0.
    // 5. Start the GRPC server for worker 0 using C.
    // 6. Create a context D using the full cluster server def E.
    // 7. Read the variable in D.
    TEST(CAPI, SingleHostServerDefV1Works) {
      // Create a server def that represents a 2-process cluster and a client.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/grappler/grappler_internal.h

     public:
      explicit CGraphOptimizer(TP_Optimizer optimizer, const char* device_type)
          : optimizer_(optimizer), device_type_(device_type) {
        if (optimizer.create_func != nullptr) {
          c_optimizer_ = (*optimizer_.create_func)();
        } else {
          c_optimizer_ = nullptr;
        }
      }
      std::string name() const override { return "PluggableGraphOptimizer"; }
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jun 08 08:58:23 GMT 2022
    - 3.5K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_experimental_test.cc

      string serialized_server_def_0 = server_def_0.SerializeAsString();
      string serialized_server_def_1 = server_def_1.SerializeAsString();
    
      // Create two worker tasks.
      server_def_0.set_task_index(1);
      std::unique_ptr<tensorflow::GrpcServer> worker_server1;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
                      server_def_0, tensorflow::Env::Default(), &worker_server1)
                      .ok());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_unified_experimental_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      auto* arg1 = TF_AddFunctionParameter(graph_ctx, TF_FLOAT, {-1, nullptr}, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Create a first "Add" computing `arg0 + arg1`.
      TF_AbstractTensor* add_output1;
      {
        // Build an abstract operation, inputs and output.
        auto* add_op = TF_NewAbstractOp(graph_ctx);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.cc

                                                   TransactionToken* token) {
      if (ops_->recursively_create_dir == nullptr)
        return FileSystem::RecursivelyCreateDir(dirname, token);
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      std::string translated_name = TranslateName(dirname);
      ops_->recursively_create_dir(filesystem_.get(), translated_name.c_str(),
                                   plugin_status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      const int64_t n = data.size();
      Status status;
      for (const std::vector<int64_t>& dims :
           std::vector<std::vector<int64_t>>{{n}, {1, n}, {n, 1}, {n / 2, 2}}) {
        // Create C++ Tensor
        Tensor src(tensorflow::DT_STRING, TensorShape(dims));
        for (int64_t i = 0; i < src.NumElements(); ++i) {
          src.flat<tstring>()(i) = data[i];
        }
    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)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

        calls++;
        memset(buffer, 'x', n);
        TF_SetStatus(status, TF_OK, "");
        return n;
      };
      std::vector<char> out;
      std::unique_ptr<NowSecondsEnv> env(new NowSecondsEnv);
      // Create a cache with max staleness of 2 seconds, and verify that it works as
      // expected.
      tf_gcs_filesystem::RamFileBlockCache cache1(
          8, 16, 2 /* max staleness */, fetcher,
          [&env]() { return env->NowSeconds(); });
    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)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      // reinserted into the cache in UpdateLRU.
      entry->second->timestamp = 0;
      lru_list_.erase(entry->second->lru_iterator);
      lra_list_.erase(entry->second->lra_iterator);
      cache_size_ -= entry->second->data.capacity();
      block_map_.erase(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)
  10. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    #include "tensorflow/core/platform/stacktrace_handler.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/util/command_line_flags.h"
    
    #if defined(PLATFORM_WINDOWS)
    // Make mkdir resolve to _mkdir to create the test temporary directory.
    #include <direct.h>
    #define mkdir(name, mode) _mkdir(name)
    
    // Windows defines the following macros to convert foo to fooA or fooW,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top