- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for TFE_MonitoringNewCounterReader (0.65 seconds)
-
tensorflow/c/eager/c_api_experimental_reader.h
// and then incremented that counter for various values of label: // streamz->GetCell("label-value")->IncrementBy(1); // // The test code can then read and test the value of that counter: // // auto* reader = TFE_MonitoringNewCounterReader("name"); // test(); // int64_t value = TFE_MonitoringReadCounter1(reader, "label-value"); // Opaque handle to a reader. typedef struct TFE_MonitoringCounterReader TFE_MonitoringCounterReader;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Nov 20 03:41:38 GMT 2025 - 2.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental_reader_test.cc
int64_t delta = 1); TEST(CAPI, MonitoringCellReader0) { 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) {Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 20 03:14:47 GMT 2023 - 2.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental_reader.cc
template <typename... LabelType> int64_t TFE_MonitoringCounterReader::Read(const LabelType&... labels) { return counter->Read(labels...); } TFE_MonitoringCounterReader* TFE_MonitoringNewCounterReader(const char* name) { auto* result = new TFE_MonitoringCounterReader(name); return result; } int64_t TFE_MonitoringReadCounter0(TFE_MonitoringCounterReader* cell_reader) {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Nov 20 03:41:38 GMT 2025 - 1.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental_test.cc
A. Unique TensorFlower <******@****.***> 1759988790 -0700
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 31.5K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental.cc
A. Unique TensorFlower <******@****.***> 1728709129 -0700
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 35.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental.h
Isha Arkatkar <******@****.***> 1708554078 -0800
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Click Count (1)