Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for cell (0.17 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      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();
      monitoring::CollectionRegistry::CollectMetricsOptions options;
    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)
  2. tensorflow/c/eager/tfe_monitoring_internal.h

    };
    
    struct TFE_MonitoringIntGaugeCell {
      tensorflow::monitoring::GaugeCell<int64_t> cell;
    };
    struct TFE_MonitoringStringGaugeCell {
      tensorflow::monitoring::GaugeCell<tensorflow::string> cell;
    };
    struct TFE_MonitoringBoolGaugeCell {
      tensorflow::monitoring::GaugeCell<bool> cell;
    };
    
    template <typename ValueType, int NumLabels>
    struct TFE_MonitoringGauge {
      template <typename... LabelDesc>
    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_reader.h

    #define TENSORFLOW_C_EAGER_C_API_EXPERIMENTAL_READER_H_
    
    #include "tensorflow/c/eager/c_api.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // Test only exports of the monitoring Cell Reader API which allows tests to
    // read current values from streamz counters defined in other modules.
    //
    // The code under test will have created streamz counters like this:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    //tensorflow/python/debug:grpc_tensorflow_server.par
    //tensorflow/python/feature_column:vocabulary_testdata
    //tensorflow/python/util:nest_test_main_lib
    //tensorflow/lite/experimental/examples/lstm:rnn_cell
    //tensorflow/lite/experimental/examples/lstm:rnn_cell.py
    //tensorflow/lite/experimental/examples/lstm:unidirectional_sequence_lstm_test
    //tensorflow/lite/experimental/examples/lstm:unidirectional_sequence_lstm_test.py
    //tensorflow/lite/python:interpreter
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.cc

      return context->GetContextId();
    }
    
    void TFE_MonitoringCounterCellIncrementBy(TFE_MonitoringCounterCell* cell,
                                              int64_t value) {
      cell->cell.IncrementBy(value);
    }
    
    int64_t TFE_MonitoringCounterCellValue(TFE_MonitoringCounterCell* cell) {
      return cell->cell.value();
    }
    
    TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(const char* name,
    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)
  6. tensorflow/c/eager/c_api_experimental_reader.cc

      return result;
    }
    
    int64_t TFE_MonitoringReadCounter0(TFE_MonitoringCounterReader* cell_reader) {
      int64_t result = cell_reader->Read();
    
      return result;
    }
    
    int64_t TFE_MonitoringReadCounter1(TFE_MonitoringCounterReader* cell_reader,
                                       const char* label) {
      int64_t result = cell_reader->Read(label);
    
      return result;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental_reader_test.cc

      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) {
      TF_Status* status = TF_NewStatus();
    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)
  8. tensorflow/c/eager/c_api_experimental.h

    // Atomically increments the value of the cell. The value must be non-negative.
    TF_CAPI_EXPORT extern void TFE_MonitoringCounterCellIncrementBy(
        TFE_MonitoringCounterCell* cell, int64_t value);
    
    // Retrieves the current value of the cell.
    TF_CAPI_EXPORT extern int64_t TFE_MonitoringCounterCellValue(
        TFE_MonitoringCounterCell* cell);
    
    // APIs for Counter without label.
    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)
  9. tensorflow/api_template_v1.__init__.py

    _current_module.__path__ = [_module_dir] + _current_module.__path__
    
    _current_module.nn.rnn_cell = _KerasLazyLoader(
        globals(),
        submodule="__internal__.legacy.rnn_cell",
        name="rnn_cell",
        mode="v1")
    if _tf_uses_legacy_keras:
      _module_dir = _module_util.get_parent_dir_for_name(
          "tf_keras.api._v1.keras.__internal__.legacy.rnn_cell")
    else:
      _module_dir = _module_util.get_parent_dir_for_name(
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/tfe_monitoring_reader_internal.h

    #ifndef TENSORFLOW_C_EAGER_TFE_MONITORING_READER_INTERNAL_H_
    #define TENSORFLOW_C_EAGER_TFE_MONITORING_READER_INTERNAL_H_
    
    #include <memory>
    
    #include "tensorflow/core/lib/monitoring/cell_reader.h"
    
    struct TFE_MonitoringCounterReader {
      explicit TFE_MonitoringCounterReader(const char* name) {
        counter = std::make_unique<
            ::tensorflow::monitoring::testing::CellReader<int64_t>>(name);
      }
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top