Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ZerosLike (0.21 sec)

  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 {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 6.9K bytes
    - Viewed (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())) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (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.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top