Skip to content

pytorch bug? #1250

@lzmchina

Description

@lzmchina

I want to use adaptive_avg_pool2d function to transform input tensor to output tensor:

output = adaptive_avg_pool2d(input, new LongArrayRef(new long[] { 7, 7 }, 2));

The input variable's shape is [64, 512, 7, 7], but the output's shape is [64, 512, 0, 7].

The correct output shape should be [64, 512, 7, 7]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions