Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for cell (0.16 sec)

  1. 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)
  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.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)
  4. 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)
  5. tensorflow/c/env.h

    // Item points are invalidated after a call to TF_StringStreamDone.
    TF_CAPI_EXPORT extern bool TF_StringStreamNext(TF_StringStream* list,
                                                   const char** result);
    
    // Frees the resources associated with given string list. All pointers returned
    // by TF_StringStreamNext are invalid after this call.
    TF_CAPI_EXPORT extern void TF_StringStreamDone(TF_StringStream* list);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

    // `cond_output` and `body_outputs`.
    //
    // If `status` is OK, the caller must call either TF_FinishWhile or
    // TF_AbortWhile on the returned TF_WhileParams. If `status` isn't OK, the
    // returned TF_WhileParams is not valid, and the caller should not call
    // TF_FinishWhile() or TF_AbortWhile().
    //
    // Missing functionality (TODO):
    // - Gradients
    // - Reference-type inputs
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // A non-blocking version of `Execute`. After each call, `Join` must be called
      // before `StartExecute` is called again. Using `StartExecute` with `Join`
      // allows the caller to schedule computation on multiple ParallelDevices
      // without sequencing those operations (first call `StartExecute` on each
      // parallel device, then call `Join` on each; even if some of the `Join`s
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/swig/testdata/callback/main.h

    public:
    	Caller(): callback_(0) { }
    	~Caller() { delCallback(); }
    	void delCallback() { delete callback_; callback_ = 0; }
    	void setCallback(Callback *cb) { delCallback(); callback_ = cb; }
    	std::string call();
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 529 bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_context.h

      //
      // WARNING: The destructor of this class is marked as protected to disallow
      // clients from directly destroying this object since it may manage its own
      // lifetime through ref counting. Thus clients MUST call Release() in order to
      // destroy an instance of this class.
      virtual void Release() = 0;
    
      // Creates an operation builder and ties it to this context.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.h

    // '*num_retvals' should be set to the size of this array. It is an error if
    // the size of 'retvals' is less than the number of outputs. This call sets
    // *num_retvals to the number of outputs.
    //
    // If async execution is enabled, the call may simply enqueue the execution
    // and return "non-ready" handles in `retvals`. Note that any handles contained
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
Back to top