Skip to content

Commit

Permalink
fix doc error for tensor functions (#5252)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuecideng authored Jun 28, 2022
1 parent 55ded67 commit 4f78583
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cpp/open3d/core/TensorFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ namespace core {
///
/// Example:
/// \code{.cpp}
/// Tensor a = Tensor::Init<int64_t>({0, 1}, {2, 3});
/// Tensor b = Tensor::Init<int64_t>({4, 5});
/// Tensor c = Tensor::Init<int64_t>({6, 7});
/// Tensor a = Tensor::Init<int64_t>({{0, 1}, {2, 3}});
/// Tensor b = Tensor::Init<int64_t>({{4, 5}});
/// Tensor c = Tensor::Init<int64_t>({{6, 7}});
/// Tensor output = core::Concatenate({a, b, c}, 0);
/// // output:
/// // [[0 1],
Expand Down Expand Up @@ -84,8 +84,8 @@ Tensor Concatenate(const std::vector<Tensor>& tensors,
///
/// Example:
/// \code{.cpp}
/// Tensor a = Tensor::Init<int64_t>({0, 1}, {2, 3});
/// Tensor b = Tensor::Init<int64_t>({4, 5});
/// Tensor a = Tensor::Init<int64_t>({{0, 1}, {2, 3}});
/// Tensor b = Tensor::Init<int64_t>({{4, 5}});
/// Tensor t1 = core::Append(a, b, 0);
/// // t1:
/// // [[0 1],
Expand Down

0 comments on commit 4f78583

Please sign in to comment.