From 1f3a9adda9a19be7d2f4fe8a24f8407e5b5db076 Mon Sep 17 00:00:00 2001 From: Le-Zheng <30695225+Le-Zheng@users.noreply.github.com> Date: Wed, 20 Oct 2021 10:12:46 +0100 Subject: [PATCH] update dllib readme (#3155) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e772946b..e5029382 100644 --- a/README.md +++ b/README.md @@ -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() ```