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 , ...
Tabular model Embeddings emb_sz_rule [source] get_emb_sz [source] class TabularModel [source] tabular_config [source] Tabular model A basic model that can be...
A Generic Optimizer A Generic Optimizer To build up our accelerated SGD tricks, we’ll need to start with a nice flexible optimizer foundation. No library prior to fastai provid...
Questionnaire Further Research Questionnaire How did we get to a single vector of activations in the CNNs used for MNIST in previous chapters? Why isn’t that suitable for Ima...