- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TFE_MonitoringSamplerCellAdd (0.31 seconds)
-
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(
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 31.5K bytes - Click Count (0) -
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.Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Click Count (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,Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 35.9K bytes - Click Count (0)