Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- Introduce a "cast" definition that takes a number and a type, and returns the number cast to that type.

- Invoke cast during MLOperand and MLActivation creation.

TODO:

- Passing restrictions
  - Floating point - allow Infinities/NaNs or not?
  - Integer - throw or clamp if out of range?
- Simplify supported restrictions
- resample2d sizes option - is this part of the op data or not?
  • Loading branch information
inexorabletash committed May 14, 2024
1 parent ab54710 commit 9f0dd89
Showing 1 changed file with 138 additions and 5 deletions.
Loading

0 comments on commit 9f0dd89

Please sign in to comment.