Chapter 4.自然语言处理 Feed-Forward Networks The Multilayer Perceptron A Simple Example: XOR Implementing MLPs in PyTorch Example: Surname Classification with a Multilayer Perceptron...
Chapter 6.自然语言处理 Sequence Modeling Introduction to Recurrent Neural Networks Implementing an Elman RNN Example: Classifying Surname Nationality using a Character RNN The Surnames...
Data Dataset Data Have a look at the source to untar_data to see how it works. We’ll use it here to access the 160-pixel version of Imagenette for use in this chapter: In [ ...
8.1 命令式和符号式混合编程 8.1.1 混合式编程取两者之长 8.1 命令式和符号式混合编程 本书到目前为止一直都在使用命令式编程,它使用编程语句改变程序状态。考虑下面这段简单的命令式程序。 def add ( a , b ): return a + b def fancy_func ( a , b , ...
Loss Functions class BaseLoss [source] class CrossEntropyLossFlat [source] class FocalLossFlat [source] class BCEWithLogitsLossFlat [source] BCELossFlat [source] ...