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

  • 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.

主站蜘蛛池模板: 织金县| 邢台县| 新津县| 孙吴县| 玉龙| 新巴尔虎右旗| 松滋市| 黎平县| 呼图壁县| 呼玛县| 古田县| 莒南县| 呼和浩特市| 天气| 邢台县| 景宁| 共和县| 南华县| 临沭县| 神木县| 岳阳市| 荔波县| 谷城县| 临漳县| 靖安县| 盐源县| 宁陵县| 平顶山市| 伊宁县| 梁平县| 大丰市| 莱芜市| 铁岭县| 凤冈县| 石嘴山市| 寿阳县| 盐池县| 南阳市| 长子县| 新郑市| 恩平市|