Skip to content

Commit

Permalink
make RDD.unpersist blocking called
Browse files Browse the repository at this point in the history
  • Loading branch information
WeichenXu123 committed Jul 21, 2016
1 parent e5ed33b commit 3d8c60d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -478,7 +478,7 @@ final class OnlineLDAOptimizer extends LDAOptimizer {
_ += _, _ += _)
val gammat: BDM[Double] = breeze.linalg.DenseMatrix.vertcat(
stats.map(_._2).flatMap(list => list).collect().map(_.toDenseMatrix): _*)
stats.unpersist(false)
stats.unpersist()
expElogbetaBc.destroy(false)
val batchResult = statsSum :* expElogbeta.t

Expand Down

0 comments on commit 3d8c60d

Please sign in to comment.