Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFE_MonitoringIntGaugeCellValue (0.15 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      auto* cell = TFE_MonitoringGetCellIntGauge0(gauge);
      TFE_MonitoringIntGaugeCellSet(cell, 1);
      EXPECT_EQ(TFE_MonitoringIntGaugeCellValue(cell), 1);
      auto* collection_registry = monitoring::CollectionRegistry::Default();
      monitoring::CollectionRegistry::CollectMetricsOptions options;
      std::unique_ptr<monitoring::CollectedMetrics> metrics =
    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

    }
    
    void TFE_MonitoringIntGaugeCellSet(TFE_MonitoringIntGaugeCell* cell,
                                       int64_t value) {
      cell->cell.Set(value);
    }
    
    int64_t TFE_MonitoringIntGaugeCellValue(TFE_MonitoringIntGaugeCell* cell) {
      return cell->cell.value();
    }
    
    TFE_MonitoringIntGauge0* TFE_MonitoringNewIntGauge0(const char* name,
                                                        TF_Status* status,
    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 void TFE_MonitoringIntGaugeCellSet(
        TFE_MonitoringIntGaugeCell* cell, int64_t value);
    
    // Retrieves the current value of the cell.
    TF_CAPI_EXPORT extern int64_t TFE_MonitoringIntGaugeCellValue(
        TFE_MonitoringIntGaugeCell* cell);
    
    // APIs for Int Gauge without label.
    typedef struct TFE_MonitoringIntGauge0 TFE_MonitoringIntGauge0;
    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