Skip to content

_quantize_mx() is not handling axes=None proper #36

Description

@teabun

It seems _quantize_mx() is not properly handling axes=None.

At

axes = [x + A.ndim if x < 0 else x for x in axes]

    return _quantize_mx(
  File "c:\mx\microxcaling\mx_ops.py", line 194, in _quantize_mx
    axes = [x + A.ndim if x < 0 else x for x in axes]
TypeError: 'NoneType' object is not iterable 

Should not axes be initialized to shape of A if None?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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