From b67291aedb30f0d00ed86de3bc9d15b89d14a7b6 Mon Sep 17 00:00:00 2001 From: qijun Date: Thu, 18 May 2017 14:42:36 +0800 Subject: [PATCH] fix typo error --- paddle/majel/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/paddle/majel/README.md b/paddle/majel/README.md index 670c1792c..7a80816d8 100644 --- a/paddle/majel/README.md +++ b/paddle/majel/README.md @@ -157,11 +157,11 @@ Please reference the section of `Learn from Majel` for more details. ### ArrayView -`ViewIterator` is a class template which implements basic iterator operation, including increment(++), decrement(--), dereference(*), equalit comparisons(==) and so on. +`ViewIterator` is a class template which implements basic iterator operation, including increment(++), decrement(--), dereference(*), equality comparisons(==) and so on. -`ArrayView` is an encapsulation of `Array`, which introduces extra iterator menthods, such as `begin()` and `end()`. The `begin()` method returns an iterator pointing to the first element in the ArrayView. And the `end()` method returns an iterator pointing to the pass-the-end element in the ArrayView. +`ArrayView` is an encapsulation of `Array`, which introduces extra iterator methods, such as `begin()` and `end()`. The `begin()` method returns an iterator pointing to the first element in the ArrayView. And the `end()` method returns an iterator pointing to the pass-the-end element in the ArrayView. -`ArrayView` make the visting and manipulating an array more efficently, flexibly and safely. +`ArrayView` make the visting and manipulating an array more efficiently, flexibly and safely. A global function `make_view` is provided to transform an array to corresponding arrayview. @@ -186,4 +186,4 @@ ViewIterator> make_iterator(const Array& in, Dim idx) { The operations that manipulate DArray are defined as global functions, such as `ones`, `zeros`, `reshape`, `gemm` and so on. -An array will be trasformed into an arrayview and then passed to the operation launching on a specific deviec(CPU/GPU). +An array will be trasformed into an arrayview and then passed to the operation launching on a specific device(CPU/GPU). -- GitLab