Skip to content

height and weight mistakenly swapped #22

@qq456cvb

Description

@qq456cvb

I see in the code that
MetalTensorDimensions(n: weight_shape[0], channels: weight_shape[1], width: weight_shape[2], height: weight_shape[3]).
Shouldn't the width to be the last dimension since caffe uses a row-major format? It is fine when the image is squared but not the general case.

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