Skip to content

add DataType::element_stride() #1207

@cyrush

Description

@cyrush

strides are in bytes, but per element strides are convenient when adapting to many apis.

caveat: its possible that byte-strides may not be element aligned -- also figure out how to identify this case

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions