PytorchBackend.astype# PytorchBackend.astype(arr, dtype)[source]# Change the datatype of arr. Parameters: arrBackendArrayInput data. dtypetypeTarget data type. Returns: BackendArrayFreshly allocated array containing the data of arr in dtype.