- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TFE_MonitoringSamplerCellAdd (0.28 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
"test", "label1"); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); auto* cell1 = TFE_MonitoringGetCellSampler1(sampler1, "foo"); TFE_MonitoringSamplerCellAdd(cell1, 1.0); TFE_MonitoringSamplerCellAdd(cell1, 2.0); TF_Buffer* result1 = TF_NewBuffer(); TFE_MonitoringSamplerCellValue(cell1, result1); tensorflow::HistogramProto histogram1; EXPECT_TRUE(histogram1.ParseFromString(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/eager/c_api_experimental.cc
TFE_MonitoringBoolGauge2* gauge, const char* label1, const char* label2) { return static_cast<TFE_MonitoringBoolGaugeCell*>( static_cast<void*>(gauge->gauge->GetCell(label1, label2))); } void TFE_MonitoringSamplerCellAdd(TFE_MonitoringSamplerCell* cell, double value) { cell->cell.Add(value); } void TFE_MonitoringSamplerCellValue(TFE_MonitoringSamplerCell* cell,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/eager/c_api_experimental.h
// These APIs de-templated monitoring Sampler for swig. typedef struct TFE_MonitoringSamplerCell TFE_MonitoringSamplerCell; // Atomically add the value of the cell. TF_CAPI_EXPORT extern void TFE_MonitoringSamplerCellAdd( TFE_MonitoringSamplerCell* cell, double value); // Retrieves the current value of the cell. The return value is a HistogramProto // saved in the buffer.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0)