Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFE_MonitoringGetCellSampler0 (0.24 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      auto* sampler =
          TFE_MonitoringNewSampler0("test/sampler", buckets, status, "test");
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      auto* cell = TFE_MonitoringGetCellSampler0(sampler);
      TFE_MonitoringSamplerCellAdd(cell, 1.0);
      auto* collection_registry = monitoring::CollectionRegistry::Default();
      monitoring::CollectionRegistry::CollectMetricsOptions options;
    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

        delete result;
        return nullptr;
      }
      return result;
    }
    
    void TFE_MonitoringDeleteSampler0(TFE_MonitoringSampler0* sampler) {
      delete sampler;
    }
    
    TFE_MonitoringSamplerCell* TFE_MonitoringGetCellSampler0(
        TFE_MonitoringSampler0* sampler) {
      return static_cast<TFE_MonitoringSamplerCell*>(
          static_cast<void*>(sampler->sampler->GetCell()));
    }
    
    TFE_MonitoringSampler1* TFE_MonitoringNewSampler1(
    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

        const char* description);
    TF_CAPI_EXPORT extern void TFE_MonitoringDeleteSampler0(
        TFE_MonitoringSampler0* sampler);
    TF_CAPI_EXPORT extern TFE_MonitoringSamplerCell* TFE_MonitoringGetCellSampler0(
        TFE_MonitoringSampler0* sampler);
    
    // APIs for Sampler with 1 label.
    typedef struct TFE_MonitoringSampler1 TFE_MonitoringSampler1;
    TF_CAPI_EXPORT extern TFE_MonitoringSampler1* TFE_MonitoringNewSampler1(
    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