- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TFE_MonitoringGetCellSampler1 (0.1 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
auto* sampler1 = TFE_MonitoringNewSampler1("test/sampler1", buckets, status, "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);
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_MonitoringDeleteSampler1(TFE_MonitoringSampler1* sampler) { delete sampler; } TFE_MonitoringSamplerCell* TFE_MonitoringGetCellSampler1( TFE_MonitoringSampler1* sampler, const char* label1) { return static_cast<TFE_MonitoringSamplerCell*>( static_cast<void*>(sampler->sampler->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* description, const char* label1); TF_CAPI_EXPORT extern void TFE_MonitoringDeleteSampler1( TFE_MonitoringSampler1* sampler); TF_CAPI_EXPORT extern TFE_MonitoringSamplerCell* TFE_MonitoringGetCellSampler1( TFE_MonitoringSampler1* sampler, const char* label1); // APIs for Sampler with 2 label. typedef struct TFE_MonitoringSampler2 TFE_MonitoringSampler2;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0)