Skip to content

[RFC] Enforce strides to be not NULL for non-zero ndims #177

@tqchen

Description

@tqchen

In the past, we allow DLTensor.strides to be NULL and use that to signal compactness. In practice, most frameworks will always export with strides for nonzero ndims. Enforcing strides to be not NULL would help with memory safety here. So this RFC proposes for us to enforce the strides to be not NULL.

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