- PyTorch 1.x Reinforcement Learning Cookbook
- Yuxi (Hayden) Liu
- 164字
- 2021-06-24 12:34:35
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: "By saying empty, it doesn't mean all elements have a value of Null."
A block of code is set as follows:
>>> def random_policy():
... action = torch.multinomial(torch.ones(n_action), 1).item()
... return action
Any command-line input or output is written as follows:
conda install pytorch torchvision -c pytorch
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: "This approach is called random search, since the weight is randomly picked in each trial with the hope that the best weight will be found with a large number of trials."
Warnings or important notes appear like this.
Tips and tricks appear like this.
推薦閱讀
- 中文版Photoshop CS5數(shù)碼照片處理完全自學(xué)一本通
- 網(wǎng)上生活必備
- 自動(dòng)檢測(cè)與傳感技術(shù)
- SharePoint 2010開(kāi)發(fā)最佳實(shí)踐
- 數(shù)據(jù)挖掘方法及天體光譜挖掘技術(shù)
- Windows環(huán)境下32位匯編語(yǔ)言程序設(shè)計(jì)
- 21天學(xué)通Java Web開(kāi)發(fā)
- JSP從入門到精通
- INSTANT Drools Starter
- 新編計(jì)算機(jī)圖形學(xué)
- 實(shí)用網(wǎng)絡(luò)流量分析技術(shù)
- 大數(shù)據(jù):引爆新的價(jià)值點(diǎn)
- 30天學(xué)通Java Web項(xiàng)目案例開(kāi)發(fā)
- Learning Cassandra for Administrators
- 企業(yè)級(jí)Web開(kāi)發(fā)實(shí)戰(zhàn)