-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add float cast op for JIT backend (#2511)
* Fix backend FloatElem docstring * Remove elem type generic from JitTensor (float ops still using default dtype) * Use execute_with_dtype macro for float ops * Add cast for fusion * Add warning for type promotion * Add cast to backend router * Add Primitive trait to correctly display the tensor dtype * Fix primtiive associated type * Fix jit bool tensor display * Fix CI * Fix clippy * Whoops * Fix candle bool tensor display * Add shape to primitive trait * Add primitive tests * Rename trait to TensorMetadata * Add missing changes to example * Fix split from merge
- Loading branch information
Showing
149 changed files
with
2,225 additions
and
1,627 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.