Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for custom_threadpool (0.18 sec)

  1. tensorflow/cc/client/client_session_test.cc

    class CustomThreadPoolImpl : public thread::ThreadPoolInterface {
     public:
      explicit CustomThreadPoolImpl(int numThreads) {
        underlying_threadpool_.reset(new thread::ThreadPool(
            tensorflow::Env::Default(), "custom_threadpool", numThreads));
        num_schedule_called_ = 0;
      }
    
      void Schedule(std::function<void()> fn) override {
        num_schedule_called_ += 1;
        underlying_threadpool_->Schedule(std::move(fn));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/BUILD

    #     # copybara:uncomment driver = "//tensorflow/compiler/mlir:run_lit.sh",
    #     exclude = [
    #         "compile.benchmark.large.mlir",
    #         "batch_function_fallback.mlir",
    #         "create_op.mlir",
    #         "custom_thread_pool.mlir",
    #     ],
    #     # copybara:uncomment flaky = ["compile.error.mlir"],
    #     size_override = {
    #         "compile.benchmark.small.mlir": "medium",
    #         "batching_fallback.mlir": "medium",
    #     },
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top