- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TFE_MonitoringGetCellCounter0 (0.45 sec)
-
tensorflow/c/eager/c_api_experimental_reader_test.cc
TFE_MonitoringNewCounter0(counter_name, status, "description"); TF_DeleteStatus(status); return counter; } void IncrementCounter0(TFE_MonitoringCounter0* counter, int64_t delta) { auto* cell = TFE_MonitoringGetCellCounter0(counter); TFE_MonitoringCounterCellIncrementBy(cell, delta); } TFE_MonitoringCounter1* CreateCounter1(const char* counter_name, const char* 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) -
tensorflow/c/eager/c_api_experimental_test.cc
auto* counter = TFE_MonitoringNewCounter0("test/counter", status, "description"); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status); auto* cell = TFE_MonitoringGetCellCounter0(counter); TFE_MonitoringCounterCellIncrementBy(cell, 1); EXPECT_EQ(TFE_MonitoringCounterCellValue(cell), 1); auto* collection_registry = monitoring::CollectionRegistry::Default();
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
delete result; return nullptr; } return result; } void TFE_MonitoringDeleteCounter0(TFE_MonitoringCounter0* counter) { delete counter; } TFE_MonitoringCounterCell* TFE_MonitoringGetCellCounter0( TFE_MonitoringCounter0* counter) { return static_cast<TFE_MonitoringCounterCell*>( static_cast<void*>(counter->counter->GetCell())); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 35.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
TFE_MonitoringCounter0* counter); // Retrieves the cell from the Counter object. The Counter object will manage // lifetime of the cell. TF_CAPI_EXPORT extern TFE_MonitoringCounterCell* TFE_MonitoringGetCellCounter0( TFE_MonitoringCounter0* counter); // APIs for Counter with 1 label. typedef struct TFE_MonitoringCounter1 TFE_MonitoringCounter1; TF_CAPI_EXPORT extern TFE_MonitoringCounter1* TFE_MonitoringNewCounter1(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0)