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