Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TFE_MonitoringGetCellSampler2 (0.24 seconds)

  1. tensorflow/c/eager/c_api_experimental.cc

        delete result;
        return nullptr;
      }
      return result;
    }
    
    void TFE_MonitoringDeleteSampler2(TFE_MonitoringSampler2* sampler) {
      delete sampler;
    }
    
    TFE_MonitoringSamplerCell* TFE_MonitoringGetCellSampler2(
        TFE_MonitoringSampler2* sampler, const char* label1, const char* label2) {
      return static_cast<TFE_MonitoringSamplerCell*>(
          static_cast<void*>(sampler->sampler->GetCell(label1, label2)));
    }
    
    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", "label1", "label2");
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      auto* cell2 = TFE_MonitoringGetCellSampler2(sampler2, "foo", "bar");
      TFE_MonitoringSamplerCellAdd(cell2, 2.0);
      TFE_MonitoringSamplerCellAdd(cell2, 3.0);
      TF_Buffer* result2 = TF_NewBuffer();
      TFE_MonitoringSamplerCellValue(cell2, result2);
    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