Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Consumer (0.72 sec)

  1. tensorflow/c/c_api.h

    // Get the number of current consumers of a specific output of an
    // operation.  Note that this number can change when new operations
    // are added to the graph.
    TF_CAPI_EXPORT extern int TF_OperationOutputNumConsumers(TF_Output oper_out);
    
    // Get list of all current consumers of a specific output of an
    // operation.  `consumers` must point to an array of length at least
    // `max_consumers` (ideally set to
    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)
  2. tensorflow/c/eager/tape.h

    class VSpace {
     public:
      virtual ~VSpace() {}
    
      // Returns the number of elements in the gradient tensor.
      virtual int64_t NumElements(Gradient* tensor) const = 0;
    
      // Consumes references to the tensors in the gradient_tensors list and returns
      // a tensor with the result.
      virtual Gradient* AggregateGradients(
          gtl::ArraySlice<Gradient*> gradient_tensors) const = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  3. tensorflow/c/eager/c_api_unified_experimental.h

                             TF_Status* s);
    
    // Creates a new TF_AbstractFunction from the current tracing states in the
    // context. The provided `ctx` is consumed by this API call and deleted.
    // The returned TF_AbstractFunction must be deleted by the client,
    // TODO(aminim): clarify the contract on the state of the context after this
    // call.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradients.h

          absl::Span<const AbstractTensorHandle* const> tensors) const;
      // Unwatches this tensor on the tape. Mainly used for cleanup when deleting
      // eager tensors.
      void DeleteTrace(const AbstractTensorHandle*);
    
      // Consumes the internal state of the tape (so cannot be called more than
      // once unless the tape is persistent) and produces the gradient of the target
      // tensors with respect to the source tensors. The output gradients are used
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
Back to top