Skip to content

RuntimeError: mat1 and mat2 shapes cannot be multiplied (2112x1000 and 96x96) #315

Description

@ENMA9527

return F.linear(input, self.weight, self.bias)
RuntimeError: mat1 and mat2 shapes cannot be multiplied (2112x1000 and 96x96)
请问这种参数该怎么设置?我的输入的张量形式是(96,1,22,1000)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions