- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TFE_MonitoringReadCounter1 (0.29 seconds)
-
tensorflow/c/eager/c_api_experimental_reader.h
// 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; // Returns a handle to be used for reading values from streamz counter. The
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.cc
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, const char* label) { int64_t result = cell_reader->Read(label); return result;
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_reader_test.cc
auto* counter = CreateCounter1(counter_name, label_name); auto* reader = TFE_MonitoringNewCounterReader(counter_name); IncrementCounter1(counter, label_name); int64_t actual = TFE_MonitoringReadCounter1(reader, label_name); CHECK_EQ(actual, 1); } TFE_MonitoringCounter0* CreateCounter0(const char* counter_name) { TF_Status* status = TF_NewStatus(); auto* counter =
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)