From 9361193b5d62065807fdb6721e95dca8bcf8bf74 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Tue, 8 Aug 2023 01:28:08 +0900 Subject: [PATCH] Fix typo in tensor.rs (#599) overriden -> overridden --- burn-tensor/src/tensor/ops/tensor.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/burn-tensor/src/tensor/ops/tensor.rs b/burn-tensor/src/tensor/ops/tensor.rs index 6465b7225..993e1ef37 100644 --- a/burn-tensor/src/tensor/ops/tensor.rs +++ b/burn-tensor/src/tensor/ops/tensor.rs @@ -765,7 +765,7 @@ pub trait TensorOps { /// Detaches a tensor from the computation graph. fn detach(tensor: B::TensorPrimitive) -> B::TensorPrimitive { - // Should only be overriden by autodiff backends. + // Should only be overridden by autodiff backends. tensor } @@ -774,13 +774,13 @@ pub trait TensorOps { tensor: B::TensorPrimitive, _require_grad: bool, ) -> B::TensorPrimitive { - // Should only be overriden by autodiff backends. + // Should only be overridden by autodiff backends. tensor } /// Returns the `require_grad` flag of a tensor. fn is_require_grad(_tensor: &B::TensorPrimitive) -> bool { - // Should only be overriden by autodiff backends. + // Should only be overridden by autodiff backends. false }