官术网_书友最值得收藏!

  • Mastering TensorFlow 1.x
  • Armando Fandango
  • 137字
  • 2021-06-25 22:50:53

Conventions used

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: "The most common practice is to use the with</kbd> block, which will be shown later in this chapter."

A block of code is set as follows:

from datasetslib.ptb import PTBSimple
ptb = PTBSimple()
ptb.load_data()
print('Train :',ptb.part['train'][0:5])
print('Test: ',ptb.part['test'][0:5])
print('Valid: ',ptb.part['valid'][0:5])
print('Vocabulary Length = ',ptb.vocab_len)

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: "Select System info from the Administration panel."

Warnings or important notes appear like this.

Tips and tricks appear like this.

主站蜘蛛池模板: 肇庆市| 大港区| 伽师县| 岢岚县| 墨江| 宜良县| 茶陵县| 三河市| 深水埗区| 凭祥市| 江华| 宜都市| 民丰县| 天全县| 商城县| 巩留县| 柘荣县| 河池市| 金秀| 金平| 台北市| 大荔县| 敦化市| 尤溪县| 桑植县| 崇礼县| 陈巴尔虎旗| 孝昌县| 大新县| 峡江县| 漳浦县| 曲周县| 墨脱县| 德阳市| 湖北省| 台安县| 高碑店市| 巴里| 微博| 泾阳县| 桐城市|