Convolutional neural network. Consider the following partial…
Convolutional neural network. Consider the following partially completed program which defines a convolutional neural network. Unless specified, assume zero padding and stride . (a) (3 pts) Suppose we feed this model with an input image tensor of shape 32 x 32 x 3, i.e., an RGB image with height and width of 32 pixels. After the first Conv2d layer (line 7), what is the shape of the output feature map? Height = [a1], Width = [a2], # Channels = [a3]. (b) (2 pts) How many trainable parameters does this Conv2d layer (line 7) have? You may disregard the bias terms. [b] (c) (1 pt) How many trainable parameters does the first max-pooling layer (line 9) have? [c] (d) (1 pt) How many filters/kernels are used in the second Conv2D layer (line 11)? [d] (e) (3 pts) In line 15, nn.Flatten() reshapes the output of the second convolutional block into a vector for each image. The network then passes the vector to fully-connected layers. The code for the first fully-connected layer is missing (line 18). Complete the definition based on the rest of the code. [e] (f) (1 pt) This network is originally design for a classification task with 10 classes. Assume the task later changes to 20 classes. Which line must be changed to reflect this? Line [f]
Read DetailsThe following statement is incorrect: ¡Me queda muy pequeña!…
The following statement is incorrect: ¡Me queda muy pequeña! Rewrite the incorrect expression into a grammatically correct Spanish sentence using only the content of chapter 7 for the following situation: Silvia has bought her son a pair of shoes but when she gets them home she discovers that they are too small. Write what Silvia’s expression should be once her son tries them on: á é í ó ú ñ
Read DetailsProvide an appropriate response.Suppose a brewery has a fill…
Provide an appropriate response.Suppose a brewery has a filling machine that fills 12 ounce bottles of beer. It is known that the amount of beer poured by this filling machine follows a normal distribution with a mean of and a standard deviation of 0.04 ounce. Find the probability that the bottle contains between 12.09 and 12.15 ounces.
Read DetailsQuestions 9 – 10 are based on the following fact situation:…
Questions 9 – 10 are based on the following fact situation: 9. Mike, who owns Blackacre in fee simple absolute, conveyed Blackacre “to Hill, if Hill is elected Senator.” At the time of the conveyance, Hill is 36 years old. Is this conveyance valid or void pursuant to the Rule Against Perpetuities?
Read Details