Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TFE_MonitoringGetCellIntGauge0 (0.18 seconds)

  1. 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()));
    }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 35.9K bytes
    - Click Count (0)
  2. 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();
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 31.5K bytes
    - Click Count (0)
Back to Top