Skip to content

Make basis functions jit compilable #393

@sjvenditto

Description

@sjvenditto

Right now, basis functions can't be jit compiled for at least two reasons:

  1. the pynapple support decorator is hard-coded to convert to numpy
  2. the min-max rescale of features uses boolean indexing to set out-of-range values in-place

Additionally, some functions (e.g. evaluate functions) have multiple, redundant pynapple support decorators. This is because the decorator @check_transform_input is already decorated for pynapple support

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