- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TFE_MonitoringReadCounter0 (0.19 sec)
-
tensorflow/c/eager/c_api_experimental_reader.cc
} TFE_MonitoringCounterReader* TFE_MonitoringNewCounterReader(const char* name) { auto* result = new TFE_MonitoringCounterReader(name); return result; } int64_t TFE_MonitoringReadCounter0(TFE_MonitoringCounterReader* cell_reader) { int64_t result = cell_reader->Read(); return result; } int64_t TFE_MonitoringReadCounter1(TFE_MonitoringCounterReader* cell_reader,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 20 03:14:47 UTC 2023 - 1.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_reader.h
TF_CAPI_EXPORT extern TFE_MonitoringCounterReader* TFE_MonitoringNewCounterReader(const char* name); // Reads the value of a counter that was created with 0 labels. TF_CAPI_EXPORT extern int64_t TFE_MonitoringReadCounter0( TFE_MonitoringCounterReader*); // Reads the value of specific cell of a counter that was created with 1 label. TF_CAPI_EXPORT extern int64_t TFE_MonitoringReadCounter1(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 20 03:14:47 UTC 2023 - 2.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_reader_test.cc
auto counter_name = "test/counter0"; auto* counter = CreateCounter0(counter_name); auto* reader = TFE_MonitoringNewCounterReader(counter_name); IncrementCounter0(counter); int64_t actual = TFE_MonitoringReadCounter0(reader); CHECK_EQ(actual, 1); } TEST(CAPI, MonitoringCellReader1) { auto counter_name = "test/counter1"; auto label_name = "test/label";
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 20 03:14:47 UTC 2023 - 2.9K bytes - Viewed (0)