Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TFE_MonitoringCounter0 (0.37 sec)

  1. tensorflow/c/eager/c_api_experimental_reader_test.cc

    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace {
    
    TFE_MonitoringCounter0* CreateCounter0(const char* counter_name);
    TFE_MonitoringCounter1* CreateCounter1(const char* counter_name,
                                           const char* label);
    void IncrementCounter0(TFE_MonitoringCounter0* counter, int64_t delta = 1);
    void IncrementCounter1(TFE_MonitoringCounter1* counter, const char* label,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tfe_monitoring_internal.h

        counter = absl::WrapUnique(tensorflow::monitoring::Counter<NumLabels>::New(
            name, description, label...));
      }
    
      std::unique_ptr<tensorflow::monitoring::Counter<NumLabels>> counter;
    };
    
    struct TFE_MonitoringCounter0 : TFE_MonitoringCounter<0> {
      using TFE_MonitoringCounter::TFE_MonitoringCounter;
    };
    struct TFE_MonitoringCounter1 : TFE_MonitoringCounter<1> {
      using TFE_MonitoringCounter::TFE_MonitoringCounter;
    };
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.cc

    int64_t TFE_MonitoringCounterCellValue(TFE_MonitoringCounterCell* cell) {
      return cell->cell.value();
    }
    
    TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(const char* name,
                                                      TF_Status* status,
                                                      const char* description) {
      auto* result = new TFE_MonitoringCounter0({name, description});
      tsl::Set_TF_Status_from_Status(status, result->counter->GetStatus());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  4. tensorflow/c/eager/c_api_experimental.h

        TFE_MonitoringCounterCell* cell);
    
    // APIs for Counter without label.
    typedef struct TFE_MonitoringCounter0 TFE_MonitoringCounter0;
    // Returns a new Counter metric object. The caller should manage lifetime of
    // the object. Using duplicate metric name will crash the program with fatal
    // error.
    TF_CAPI_EXPORT extern TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(
        const char* name, TF_Status* status, const char* description);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
Back to top