Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Forward Function #3

Description

@tehreemnaqvi

Hi,

I am referring to your code. I have some confusion related to forward function.

I'm trying to implement VGG11 using the CIFAR10 dataset but got some dimension errors.

Can you please explain how did you make the dimensions inside forward function like this?

torch.zeros(batch_size, 64, 32, 32, device=device))

When I tried this using VGG11 , got this error?

image

It means my dimensions are not correct.

Below is the snippet of my forward function:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions