related experience
Specify code range and highlight
For example, specify the code in lines 2612-L2686 of the nn_ops.py file: https://github.com/tensorflow/tensorflow/blob/v2.14.0/tensorflow/python/ops/nn_ops.py#L2612-L2686
FAQ
Q: The github webpage cannot be opened?
When using Google Chrome browser and Sogou browser to access the github.com website, the web page cannot be opened, which eliminates the problem of the browser.
github.com
There are many IP addresses corresponding to this domain name, some of which are within the scope of access allowed in our country, and some of which are not. When the corresponding address resolved by your computer through DNS github.com
happens to be within the range of access allowed in our country, you can access it, but not vice versa.
Under normal circumstances, if you refresh the browser a few times and resolve the DNS a few more times, you may be able to open github normally. But before long, the same problem will appear again. The solution is to simply resolve the accessed github.com
IP address to a domestically accessible IP address.
Get the official DSN address of github
Open IPADDRESS.COM and search in the upper right corner to find the following three DNS addresses:
http://github.com
http://assets-cdn.github.com http://github.global.ssl.fastly.net
http://github.com
http://assets-cdn.github.com
http://github.global.ssl.fastly.net
Modify the system hosts file
The location of the hosts file varies on each system. Details are as follows:
-
Windows system:
C:\Windows\System32\drivers\etc\hosts
; -
Linux system:
/etc/hosts
; -
Mac (Apple Computer) system:
/etc/hosts
; -
Android (Android) system:
/system/etc/hosts
; -
iPhone (iOS) system:
/etc/hosts
.
At the end of the hosts file, add dns content:
140.82.113.4 github.com
185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com
151.101.1.194 github.global.ssl.fastly.net
151.101.65.194 github.global.ssl.fastly.net
151.101.129.194 github.global.ssl.fastly.net
151.101.193.194 github.global.ssl.fastly.net
If the hosts file does not have modification permissions, modify the permissions.After modification, remember to change the permissions back。
Right-click the hosts file->Properties->Security->Edit->Select Users in the group or user name field->Write
Flush dns cache
ipconfig /flushdns
Reopen the web page
Close the browser and reopen GitHub. The garbled GitHub web page problem has been solved.
Q: Github web page is garbled?
When I use Google Chrome browser and Sogou browser to access the GitHub website, garbled characters are displayed, which eliminates the problem of the browser.
Modify the system hosts file
At the end of the hosts file, add the following:
# GitHub IP地址
140.82.121.4 github.com
185.199.108.133 raw.githubusercontent.com
185.199.109.133 raw.githubusercontent.com
185.199.110.133 raw.githubusercontent.com
185.199.111.133 raw.githubusercontent.com
185.199.108.133 objects.githubusercontent.com
185.199.109.133 objects.githubusercontent.com
185.199.110.133 objects.githubusercontent.com
185.199.111.133 objects.githubusercontent.com
185.199.108.154 github.githubassets.com
185.199.109.154 github.githubassets.com
185.199.110.154 github.githubassets.com
185.199.111.154 github.githubassets.com
The remaining steps are consistent with the solution to the ["github webpage cannot be opened" problem] and will not be repeated here.。