Different Perspective of Line Regression

1. Line regression 1.1 Ordinary Least Squares (OLS) Perspective 1.1.1 Model Representation: The linear regression model is represented as: \hat{Y} = X

narcissuskid narcissuskid 发布于 2024-03-18

7.5. Pooling

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Implement average pooling through a convolution. import torch import torch.nn.functio

narcissuskid narcissuskid 发布于 2023-08-26

7.4. Multiple Input and Multiple Output Channels

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Assume that we have two convolution kernels of size k_1 and k_2, respectively (with n

narcissuskid narcissuskid 发布于 2023-08-26

7.3. Padding and Stride

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Given the final code example in this section with kernel size (3,5), padding (0,1), a

narcissuskid narcissuskid 发布于 2023-08-25

7.2. Convolutions for Images

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Construct an image X with diagonal edges. import torch def corr2d(X,K): h,w = K.

narcissuskid narcissuskid 发布于 2023-08-25

7.1. From Fully Connected Layers to Convolutions

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Assume that the size of the convolution kernel is \Delta=0. Show that in

narcissuskid narcissuskid 发布于 2023-08-25

6.6. File I/O

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Even if there is no need to deploy trained models to a different device, what are the

narcissuskid narcissuskid 发布于 2023-08-24

6.5. Custom Layers

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Design a layer that takes an input and computes a tensor reduction, i.e., it returns

narcissuskid narcissuskid 发布于 2023-08-24

6.4. Lazy Initialization

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. What happens if you specify the input dimensions to the first layer but not to subseq

narcissuskid narcissuskid 发布于 2023-08-23

6.2. Parameter Management

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Use the NestMLP model defined in Section 6.1 and access the parameters of the various

narcissuskid narcissuskid 发布于 2023-08-23

6.1. Layers and Modules

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. What kinds of problems will occur if you change MySequential to store modules in a Py

narcissuskid narcissuskid 发布于 2023-08-23