Fix several typos (#1169)

Co-authored-by: isaacw <isaacw@nvidia.com>
This commit is contained in:
wang-y-z
2023-11-03 11:54:46 +08:00
committed by GitHub
parent c008b4aea8
commit 557be3ab0e
21 changed files with 30 additions and 30 deletions

View File

@ -123,7 +123,7 @@ transform(Tensor<EngineIn,LayoutIn>&& tensor_in, Tensor<EngineOut,LayoutOut>&& t
// Similar to std::transform with a binary operation
// Takes two tensors as input and one tensor as output.
// Applies the binary_op to tensor_in1 and and tensor_in2 and
// Applies the binary_op to tensor_in1 and tensor_in2 and
// assigns it to tensor_out
template <class EngineIn1, class LayoutIn1,
class EngineIn2, class LayoutIn2,

View File

@ -576,7 +576,7 @@ depth(Layout<Shape,Stride> const& layout)
// Return the codomain shape of a mode
// @post size(coshape(@a a)) == cosize(@a a)
// @return C Coordinate with smallest elements such that that
// @return C Coordinate with smallest elements such that
// @a elem_less(sub_layout(c), C) for all c < size(@a sub_layout)
// where sub_layout = get<Is...>(layout).
template <int... Is, class Shape, class Stride>