diff --git a/docs/overview/spark_on_angel.md b/docs/overview/spark_on_angel.md index 32feda426..fc3c82092 100644 --- a/docs/overview/spark_on_angel.md +++ b/docs/overview/spark_on_angel.md @@ -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的简单代码如下: diff --git a/docs/overview/spark_on_angel_en.md b/docs/overview/spark_on_angel_en.md index 99f5b25e3..2261cd052 100644 --- a/docs/overview/spark_on_angel_en.md +++ b/docs/overview/spark_on_angel_en.md @@ -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