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 X (formerly) Twitter handles. Here is an example: “After getting the APK object and DalvikFormat
, more information about the Android application could be fetched up by these corresponding functions, such as get_permission()
, get_activities()
, and so on.”
A block of code is set as follows:
import tensorflow as tf import tensorflow_datasets as tfds (pcap_data_train, pcap_data_test), pcap_ds_info = tfds.load( ‘pcap_mnist’, split=[‘train’, ‘test’], shuffle_files=True, as_supervised=True, with_info=True, )
Any command-line input or output is written as follows:
$ SplitCap -r example.pcap -s flow
Tips or important notes
Appear like this.