Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BuildOnesLike (0.17 sec)

  1. tensorflow/c/eager/tape.h

          gtl::ArraySlice<Gradient*> output_gradients,
          absl::Span<Gradient*> result) const = 0;
    
      // Builds a tensor filled with ones with the same shape and dtype as `t`.
      virtual Status BuildOnesLike(const TapeTensor& t,
                                   Gradient** result) const = 0;
    
      // Looks up the ID of a Gradient.
      virtual int64_t TensorId(Gradient* tensor) const = 0;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  2. tensorflow/c/eager/gradients.cc

          gtl::ArraySlice<AbstractTensorHandle*> output_gradients,
          absl::Span<AbstractTensorHandle*> result) const override;
    
      // Builds a tensor filled with ones with the same shape and dtype as `t`.
      Status BuildOnesLike(const TapeTensor& t,
                           AbstractTensorHandle** result) const override;
    
      // Looks up the ID of a Gradient.
      int64_t TensorId(AbstractTensorHandle* tensor) const override;
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top