- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetListenerHistory (0.27 sec)
-
tensorflow/compiler/jit/tests/device_compiler_test_helper.h
return absl::FailedPreconditionError("Unexpected listener history."); } } return absl::OkStatus(); } std::vector<XlaJitCompilationActivity> GetListenerHistory() { return activity_history_; } void ClearListenerHistory() { activity_history_.clear(); } private: std::vector<XlaJitCompilationActivity> activity_history_; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 08:24:16 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compiler_test.cc
EXPECT_TRUE(xla_executable != nullptr); // Check if device_compiler was able to load the executable from the // persistent cache. std::vector<XlaJitCompilationActivity> activity_history = listener_->GetListenerHistory(); EXPECT_EQ(activity_history.size(), 1); EXPECT_EQ(activity_history[0].cluster_name(), fn.name()); EXPECT_EQ(activity_history[0].compile_count(), 1); EXPECT_FALSE(activity_history[0].used_persistent_cache());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 19.8K bytes - Viewed (0)