Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFE_MonitoringNewSampler2 (0.39 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

          {reinterpret_cast<const char*>(result1->data), result1->length}));
      EXPECT_EQ(histogram1.sum(), 3.0);
      TF_DeleteBuffer(result1);
      TFE_MonitoringDeleteSampler1(sampler1);
    
      auto* sampler2 = TFE_MonitoringNewSampler2("test/sampler2", buckets, status,
                                                 "test", "label1", "label2");
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    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)
  2. tensorflow/c/eager/c_api_experimental.cc

        TFE_MonitoringSampler1* sampler, const char* label1) {
      return static_cast<TFE_MonitoringSamplerCell*>(
          static_cast<void*>(sampler->sampler->GetCell(label1)));
    }
    
    TFE_MonitoringSampler2* TFE_MonitoringNewSampler2(
        const char* name, TFE_MonitoringBuckets* buckets, TF_Status* status,
        const char* description, const char* label1, const char* label2) {
      auto* result = new TFE_MonitoringSampler2(
    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)
  3. tensorflow/c/eager/c_api_experimental.h

        TFE_MonitoringSampler1* sampler, const char* label1);
    
    // APIs for Sampler with 2 label.
    typedef struct TFE_MonitoringSampler2 TFE_MonitoringSampler2;
    TF_CAPI_EXPORT extern TFE_MonitoringSampler2* TFE_MonitoringNewSampler2(
        const char* name, TFE_MonitoringBuckets* buckets, TF_Status* out_status,
        const char* description, const char* label1, const char* label2);
    TF_CAPI_EXPORT extern void TFE_MonitoringDeleteSampler2(
    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)
Back to top