update dllib readme (#3155)

This commit is contained in:
Le-Zheng 2021-10-20 10:12:46 +01:00 committed by GitHub
parent 2050ea16a6
commit 1f3a9adda9

View file

@ -37,12 +37,12 @@ pip install bigdl
To install latest nightly build, use ```pip install --pre --upgrade bigdl```; see [Python](https://analytics-zoo.readthedocs.io/en/latest/doc/UserGuide/python.html) and [Scala](https://analytics-zoo.readthedocs.io/en/latest/doc/UserGuide/scala.html) user guide for more details.
## Getting Started with DLlib
**DLlib** is a distributed deep learning library for Apache Spark; with DLlib, users can write distributed deep learning applications as standard Spark programs (using either Scala or Python APIs).
**DLlib** is a distributed deep learning library for Apache Spark; with DLlib, users can write distributed deep learning applications as standard Spark programs (using either Scala or Python APIs).
First, call `initNNContext` at the beginning of the code:
```scala
import com.intel.analytics.zoo.common.NNContext
import com.intel.analytics.bigdl.dllib.common.NNContext
val sc = NNContext.initNNContext()
```