Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TFE_MonitoringGetCellCounter0 (0.29 sec)

  1. tensorflow/c/eager/c_api_experimental_reader_test.cc

          TFE_MonitoringNewCounter0(counter_name, status, "description");
      TF_DeleteStatus(status);
      return counter;
    }
    
    void IncrementCounter0(TFE_MonitoringCounter0* counter, int64_t delta) {
      auto* cell = TFE_MonitoringGetCellCounter0(counter);
      TFE_MonitoringCounterCellIncrementBy(cell, delta);
    }
    
    TFE_MonitoringCounter1* CreateCounter1(const char* counter_name,
                                           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/c_api_experimental_test.cc

      auto* counter =
          TFE_MonitoringNewCounter0("test/counter", status, "description");
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
      auto* cell = TFE_MonitoringGetCellCounter0(counter);
      TFE_MonitoringCounterCellIncrementBy(cell, 1);
      EXPECT_EQ(TFE_MonitoringCounterCellValue(cell), 1);
      auto* collection_registry = monitoring::CollectionRegistry::Default();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  3. tensorflow/c/eager/c_api_experimental.cc

        delete result;
        return nullptr;
      }
      return result;
    }
    
    void TFE_MonitoringDeleteCounter0(TFE_MonitoringCounter0* counter) {
      delete counter;
    }
    
    TFE_MonitoringCounterCell* TFE_MonitoringGetCellCounter0(
        TFE_MonitoringCounter0* counter) {
      return static_cast<TFE_MonitoringCounterCell*>(
          static_cast<void*>(counter->counter->GetCell()));
    }
    
    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_MonitoringCounter0* counter);
    // Retrieves the cell from the Counter object. The Counter object will manage
    // lifetime of the cell.
    TF_CAPI_EXPORT extern TFE_MonitoringCounterCell* TFE_MonitoringGetCellCounter0(
        TFE_MonitoringCounter0* counter);
    
    // APIs for Counter with 1 label.
    typedef struct TFE_MonitoringCounter1 TFE_MonitoringCounter1;
    TF_CAPI_EXPORT extern TFE_MonitoringCounter1* TFE_MonitoringNewCounter1(
    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