Deep learning for NeuroImaging in Python.
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.
- nidl.metrics._regression._find_matching_floating_dtype(*arrays)[source]ΒΆ
Find a suitable floating point dtype when computing with arrays.
If any of the arrays are floating point, return the dtype with the highest precision by following official type promotion rules:
https://data-apis.org/array-api/latest/API_specification/type_promotion.html
If there are no floating point input arrays (all integral inputs for instance), return the default floating point dtype for the namespace.
Follow us