Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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