Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for TFE_MonitoringStringGaugeCellValue (2.18 seconds)

  1. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern void TFE_MonitoringStringGaugeCellSet(
        TFE_MonitoringStringGaugeCell* cell, const char* value);
    // Retrieves the string value and saves it in the buffer.
    TF_CAPI_EXPORT extern const void TFE_MonitoringStringGaugeCellValue(
        TFE_MonitoringStringGaugeCell* cell, TF_Buffer* buf);
    
    // APIs for String Gauge without label.
    typedef struct TFE_MonitoringStringGauge0 TFE_MonitoringStringGauge0;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Click Count (1)
  2. tensorflow/c/eager/c_api_experimental.cc

    }
    
    void TFE_MonitoringStringGaugeCellSet(TFE_MonitoringStringGaugeCell* cell,
                                          const char* value) {
      cell->cell.Set({value});
    }
    
    const void TFE_MonitoringStringGaugeCellValue(
        TFE_MonitoringStringGaugeCell* cell, TF_Buffer* buf) {
      tensorflow::string value = cell->cell.value();
      void* data = tensorflow::port::Malloc(value.length());
    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)
  3. tensorflow/c/eager/c_api_experimental_test.cc

      auto* cell2 = TFE_MonitoringGetCellStringGauge2(gauge2, "foo", "bar");
      TFE_MonitoringStringGaugeCellSet(cell2, "str");
      auto* buf = new TF_Buffer;
      TFE_MonitoringStringGaugeCellValue(cell2, buf);
      string data(static_cast<const char*>(buf->data), buf->length);
      TF_DeleteBuffer(buf);
      EXPECT_EQ(data, "str");
      TFE_MonitoringDeleteStringGauge2(gauge2);
      TF_DeleteStatus(status);
    }
    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