Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFE_MonitoringGetCellIntGauge0 (0.19 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

    TEST(CAPI, MonitoringGauge0) {
      TF_Status* status = TF_NewStatus();
      auto* gauge = TFE_MonitoringNewIntGauge0("test/gauge", status, "test");
      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();
    Registered: Tue Oct 29 12:39:09 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

        delete result;
        return nullptr;
      }
      return result;
    }
    
    void TFE_MonitoringDeleteIntGauge0(TFE_MonitoringIntGauge0* gauge) {
      delete gauge;
    }
    
    TFE_MonitoringIntGaugeCell* TFE_MonitoringGetCellIntGauge0(
        TFE_MonitoringIntGauge0* gauge) {
      return static_cast<TFE_MonitoringIntGaugeCell*>(
          static_cast<void*>(gauge->gauge->GetCell()));
    }
    
    Registered: Tue Oct 29 12:39:09 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_MonitoringDeleteIntGauge0(
        TFE_MonitoringIntGauge0* gauge);
    TF_CAPI_EXPORT extern TFE_MonitoringIntGaugeCell*
    TFE_MonitoringGetCellIntGauge0(TFE_MonitoringIntGauge0* gauge);
    
    // APIs for Int Gauge with 1 label.
    typedef struct TFE_MonitoringIntGauge1 TFE_MonitoringIntGauge1;
    TF_CAPI_EXPORT extern TFE_MonitoringIntGauge1* TFE_MonitoringNewIntGauge1(
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
Back to top