There are a number of text conventions used throughout this book.
CodeInText: 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: "This will give you a list of the running containers. Then, open the /data folder."
A block of code is set as follows:
import numpy as np
import torch
from torch import nn
from torch import optim
import torch.nn.functional as F
from torchvision import datasets, transforms, models
from torch.utils.data.sampler import SubsetRandomSampler
Any command-line input or output is written as follows:
cd jetson-inference
mkdir build
cd build
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Click on the New project tile. Then, fill out the Create new project wizard."
Warnings or important notes appear like this.
Tips and tricks appear like this.