- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SchedClosure (0.1 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc
absl::AnyInvocable<void()> fn) override { return nullptr; } bool GetCurrentThreadName(tsl::string* name) override { return false; } void SchedClosure(absl::AnyInvocable<void()> closure) override {} void SchedClosureAfter(int64_t micros, absl::AnyInvocable<void()> closure) override {}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 03:28:15 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/cc/training/coordinator_test.cc
done->Notify(); } TEST(CoordinatorTest, TestStopAndWaitOnStop) { Coordinator coord; EXPECT_EQ(coord.ShouldStop(), false); Notification about_to_wait; Notification done; Env::Default()->SchedClosure( std::bind(&WaitForStopThread, &coord, &about_to_wait, &done)); about_to_wait.WaitForNotification(); Env::Default()->SleepForMicroseconds(1000 * 1000); EXPECT_FALSE(done.HasBeenNotified());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 23 09:10:43 UTC 2023 - 6.9K bytes - Viewed (0)