Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFE_MonitoringDeleteSampler0 (0.17 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      EXPECT_EQ(6.0, metrics->point_set_map.at("test/sampler")
                         ->points.at(0)
                         ->histogram_value.sum());
      TFE_MonitoringDeleteBuckets(buckets);
      TFE_MonitoringDeleteSampler0(sampler);
      TF_DeleteStatus(status);
    }
    
    TEST(CAPI, MonitoringMultipleSampler) {
      TF_Status* status = TF_NewStatus();
      auto* buckets = TFE_MonitoringNewExponentialBuckets(1.0, 2.0, 2);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

      tsl::Set_TF_Status_from_Status(status, result->sampler->GetStatus());
      if (!result->sampler->GetStatus().ok()) {
        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*>(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern TFE_MonitoringSampler0* TFE_MonitoringNewSampler0(
        const char* name, TFE_MonitoringBuckets* buckets, TF_Status* out_status,
        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.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
Back to top