logo

Crowdly

CONVERSATIONAL AI: SPEECH PROCESSING AND SYNTHESIS-UCS749-2425EVESEM

Looking for CONVERSATIONAL AI: SPEECH PROCESSING AND SYNTHESIS-UCS749-2425EVESEM test answers and solutions? Browse our comprehensive collection of verified answers for CONVERSATIONAL AI: SPEECH PROCESSING AND SYNTHESIS-UCS749-2425EVESEM at lms.thapar.edu.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Suppose the input to the below CNN is feature matrix of shape [80 X 16000]. Calculate the ???? in the code below i.e. you need to calculate the input for self.linear layer.

import torch.nn as nn

class SimpleASRCNN(nn.Module):

    def __init__(self, num_classes):

        super(SimpleASRCNN, self).__init__()

        self.conv_layers = nn.Sequential(

            nn.Conv2d(1, 32, kernel_size=(3,3), padding=1),

            nn.ReLU(),

            nn.MaxPool2d((2,2)),

            nn.Conv2d(32, 64, kernel_size=(3,3), padding=1),

            nn.ReLU(),

            nn.MaxPool2d((2,2))

        )

        self.fc = nn.Linear(????, num_classes)

    def forward(self, x):

        x = self.conv_layers(x)

        x = x.view(x.size(0), -1)

        return self.fc(x)

View this question

Want instant access to all verified answers on lms.thapar.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!