- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TFE_MonitoringIntGaugeCellSet (0.21 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
auto* gauge = TFE_MonitoringNewIntGauge0("test/gauge", status, "test"); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); auto* cell = TFE_MonitoringGetCellIntGauge0(gauge); TFE_MonitoringIntGaugeCellSet(cell, 1); EXPECT_EQ(TFE_MonitoringIntGaugeCellValue(cell), 1); auto* collection_registry = monitoring::CollectionRegistry::Default(); monitoring::CollectionRegistry::CollectMetricsOptions options;
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
TFE_MonitoringCounter2* counter, const char* label1, const char* label2) { return static_cast<TFE_MonitoringCounterCell*>( static_cast<void*>(counter->counter->GetCell(label1, label2))); } void TFE_MonitoringIntGaugeCellSet(TFE_MonitoringIntGaugeCell* cell, int64_t value) { cell->cell.Set(value); } int64_t TFE_MonitoringIntGaugeCellValue(TFE_MonitoringIntGaugeCell* cell) {
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 35.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// These APIs de-templated monitoring Gauge for swig. typedef struct TFE_MonitoringIntGaugeCell TFE_MonitoringIntGaugeCell; // Atomically set the value of the cell. TF_CAPI_EXPORT extern void TFE_MonitoringIntGaugeCellSet( TFE_MonitoringIntGaugeCell* cell, int64_t value); // Retrieves the current value of the cell. TF_CAPI_EXPORT extern int64_t TFE_MonitoringIntGaugeCellValue( TFE_MonitoringIntGaugeCell* cell);
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0)