- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TFE_MonitoringCounterCellIncrementBy (0.19 sec)
-
tensorflow/c/eager/c_api_experimental_reader_test.cc
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) { TF_Status* status = TF_NewStatus(); auto* counter =
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
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(); monitoring::CollectionRegistry::CollectMetricsOptions options;
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
} uint64_t TFE_GetContextId(TFE_Context* ctx) { tensorflow::EagerContext* context = tensorflow::ContextFromInterface(tensorflow::unwrap(ctx)); return context->GetContextId(); } void TFE_MonitoringCounterCellIncrementBy(TFE_MonitoringCounterCell* cell, int64_t value) { cell->cell.IncrementBy(value); } int64_t TFE_MonitoringCounterCellValue(TFE_MonitoringCounterCell* cell) {
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
typedef struct TFE_MonitoringCounterCell TFE_MonitoringCounterCell; // Atomically increments the value of the cell. The value must be non-negative. TF_CAPI_EXPORT extern void TFE_MonitoringCounterCellIncrementBy( TFE_MonitoringCounterCell* cell, int64_t value); // Retrieves the current value of the cell. TF_CAPI_EXPORT extern int64_t TFE_MonitoringCounterCellValue( TFE_MonitoringCounterCell* cell);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0)