Daniel Strobusch
|
479051ce1c
|
add numeric type hierarchy and issubdtype as well as a set_dtype meth… (#427)
* add numeric type hierarchy and issubdtype as well as a set_dtype method to nn.Module with predicate
numeric type hierarchy and issubtype is compatible to the [numpy hierarchy](https://github.com/numpy/numpy/blob/220f0ab2c5958f9d49b9a28c69a760657b06d9b9/numpy/_core/numerictypes.py#L42).
Closes #285.
* nits in docs
* unify type category checking
* nits in docs
* nits in docs
* more docs nits
* fix callable type
---------
Co-authored-by: Awni Hannun <awni@apple.com>
|
2024-03-25 12:32:59 -07:00 |
|
Awni Hannun
|
1e16331d9c
|
post nanobind docs fixes and some updates (#889)
* post nanobind docs fixes and some updates
* one more doc nit
* fix for stubs and latex
|
2024-03-24 15:03:27 -07:00 |
|
Angelos Katharopoulos
|
4d4af12c6f
|
Adds round op and primitive (#203)
|
2023-12-18 11:32:48 -08:00 |
|
Angelos Katharopoulos
|
d1f86272a2
|
angelos's commit files
|
2023-11-29 10:42:59 -08:00 |
|