Skip to content

pooling for blobs with num_axes()>4 #3724

@shaibagon

Description

@shaibagon

Trying to work with Blobs with num_axes()>4, Pooling layer exits with the following error:

F0225 11:36:13.204582 23703 pooling_layer.cpp:81] Check failed: 4 == bottom[0]->num_axes() (4 vs. 5) Input must have 4 axes, corresponding to (num, channels, height, width)

This check: CHECK_EQ(4, bottom[0]->num_axes()) seems to safeguard pooling from working with "non-legacy" blobs.

Can this layer be extended (like conv layer) to handle N-D Blobs as well?

Thank you very much,
Shai

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