Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for ZerosLike (0.18 seconds)

  1. tensorflow/c/eager/gradients.h

    // gradients.
    //
    // `ZerosLike` is not expected to be called and returns a nullptr. The creation
    // of default zeros grads is handled by the `DefaultGradientFunction` registered
    // for each op.
    // TODO(srbs): We need to define `ZerosLike` here to keep the compiler happy.
    // Figure out a way to avoid this.
    // TODO(srbs): Should ZerosLike check-fail instead of returning nullptr?
    class TapeTensor {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  2. tensorflow/c/eager/gradients.cc

    int64_t ToId(const AbstractTensorHandle* t) {
      return static_cast<int64_t>(reinterpret_cast<uintptr_t>(t));
    }
    
    absl::Status ZerosLike(AbstractContext* ctx, AbstractTensorHandle* t,
                           AbstractTensorHandle** result) {
      AbstractOperationPtr op(ctx->CreateOperation());
      TF_RETURN_IF_ERROR(op->Reset("ZerosLike", /*raw_device_name=*/nullptr));
      if (isa<tracing::TracingOperation>(op.get())) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 24 06:18:31 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  3. RELEASE.md

    *   Added support for Type III DCT, and `tf.spectral.idct(type=2|3)`.
    *   Correctly handle CuDNN RNN weight loaded when nest in `TimeDistributed`.
    *   Adding per-element weight support for `WALSComputePartialLhsAndRhsOp`.
    *   ZerosLike and OnesLike ops treated as constants by Graph Transform Tool.
    *   Gamma distribution and the derived distributions (Beta, Dirichlet, Student's
        t, inverse Gamma) now fully reparameterized.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
Back to Top