You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Converts an array to half precision floating number.\
252
+
Converts an array to half precision floating number.
253
253
254
254
- src input array
255
255
- dst output array
@@ -285,6 +285,18 @@ invoke(
285
285
):void;
286
286
```
287
287
288
+
### convertTo
289
+
290
+
Converts an array to another data type with optional scaling.
291
+
292
+
- src input array
293
+
- dst output array of the same type as src
294
+
- rtype desired output matrix type or, rather, the depth since the number of channels are the same as the input has; if rtype is negative, the output matrix will have the same type as the input.
* Converts an array to another data type with optional scaling.
909
+
* @param name Function name.
910
+
* @param src input array.
911
+
* @param dst output array of the same type as src
912
+
* @param rtype desired output matrix type or, rather, the depth since the number of channels are the same as the input has; if rtype is negative, the output matrix will have the same type as the input.
0 commit comments