Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “We will store the computation time in five dictionaries, one for each compute profile (timings_np, timings_mx_cpu, and timings_mx_gpu).”
A block of code is set as follows:
import mxnet mxnet.__version__ features = mxnet.runtime.Features() print(features) print(features.is_enabled('CUDA')) print(features.is_enabled('CUDNN')) print(features.is_enabled('MKLDNN'))
Any command-line input or output is written as follows:
!python3 -m pip install gluoncv gluonnlp !python3 -m pip install gluoncv gluonnlp
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “For this step, we will use the pyplot module from a library called Matplotlib, which will allow us to create charts easily.”
Tips or important notes
Appear like this.