- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TFE_MonitoringNewCounter2 (0.15 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
auto* cell1 = TFE_MonitoringGetCellCounter1(counter1, "test"); TFE_MonitoringCounterCellIncrementBy(cell1, 1); EXPECT_EQ(TFE_MonitoringCounterCellValue(cell1), 1); auto* counter2 = TFE_MonitoringNewCounter2("test/counter2", status, "description", "label1", "label2"); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status);
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
TFE_MonitoringCounter1* counter, const char* label1) { return static_cast<TFE_MonitoringCounterCell*>( static_cast<void*>(counter->counter->GetCell(label1))); } TFE_MonitoringCounter2* TFE_MonitoringNewCounter2(const char* name, TF_Status* status, const char* description,
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_MonitoringCounter1* counter, const char* label1); // APIs for Counter with 2 labels. typedef struct TFE_MonitoringCounter2 TFE_MonitoringCounter2; TF_CAPI_EXPORT extern TFE_MonitoringCounter2* TFE_MonitoringNewCounter2( const char* name, TF_Status* status, const char* description, const char* label1, const char* label2); TF_CAPI_EXPORT extern void TFE_MonitoringDeleteCounter2( TFE_MonitoringCounter2* counter);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0)