Skip to content

from_NCHW_to_NHWC() and from_NHWC_to_NCHW() #487

@MirkoCalvi

Description

@MirkoCalvi

Feature Description

Implement a method for each conversion type that takes as input a TensorZant and returns a TensorZant. The methods must be placed inside src/IR_zant/utils.zig. Pay attention, it also affects the TensorZant.ptr: ?*AnyTensor. So ensure that the pointer refers to a new Tensor with the correct shape and weight disposition.

NHWC vs NCHW : A memory access perspective on GPUs

Understanding Memory Formats

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