Skip to content

Commit

Permalink
Merge pull request #248 from liuzhanhao/patch-1
Browse files Browse the repository at this point in the history
[DOCS] Fix typo
  • Loading branch information
andyyehoo authored Nov 13, 2017
2 parents 62290ca + 04570d4 commit 362d4aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/overview/spark_on_angel.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Angel从v1.0.0版本开始,就加入了**PS-Service**的特性,不仅仅可

* **PSMatrix**
* 包括DensePSMatrix和SparsePSMatrix
* PSMatrix的创建和销毁:通过`PSMatrix.dense(rows: Int, cols: Int)`创建,当PSMatrix不再使用后,需要手动调用`destory`销毁该Matrix
* PSMatrix的创建和销毁:通过`PSMatrix.dense(rows: Int, cols: Int)`创建,当PSMatrix不再使用后,需要手动调用`destroy`销毁该Matrix

使用Spark on Angel的简单代码如下:

Expand Down
7 changes: 5 additions & 2 deletions docs/overview/spark_on_angel_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@ Spark-On-Angel is lightweight due to Angel's interface design. The core modules
* PSModelPool corresponds to a matrix on Angel PS, responsible for requesting, retrieving, and destructing PSVector

* **PSVector/PSVetorProxy**
* PSVectorRemotePSVector and BreezePSVector are encapsulated with PSVector's operations under different scenarios
* RemotePSVector and BreezePSVector are encapsulated with PSVector's operations under different scenarios
* `RemotePSVector` provides operations between PSVector and local value, including pull, push, increment
* `BreezePSVector` provides operations between PSVector and PSVector, including most algebraic operations
* PSVectorProxy is PSVector's proxy that points to a PSVector on Angel PS


* **PSMatrix**
* Including DensePSMatrix and SparsePSMatrix
* Construction and destruction of PSMatrix: Use ```PSMatrix.dense(rows: Int, cols: Int)``` to construct a PSMatrix. When the Matrix is not needed, call ```destroy``` to destruct it manually


## 3. Execution Process
Expand Down

0 comments on commit 362d4aa

Please sign in to comment.