Files
lerobot/tests
Adil Zouitine acf0ba7fb3 refactor(converters): rename _from_tensor to from_tensor_to_numpy for clarity (#1902)
- Updated the function name from _from_tensor to from_tensor_to_numpy to better reflect its purpose of converting PyTorch tensors to numpy arrays or scalars.
- Adjusted all references to the renamed function throughout the codebase to maintain consistency.
- Enhanced the _NormalizationMixin class to reconstruct the stats dictionary from tensor stats using the new function, ensuring compatibility after loading state dicts.
- Added tests to verify the correct reconstruction of stats and functionality of methods dependent on self.stats after loading.
2025-09-09 17:51:47 +02:00
..
2025-07-01 16:34:46 +02:00
2025-03-13 14:05:55 +01:00
2025-07-01 16:34:46 +02:00
2025-07-01 16:34:46 +02:00
2025-07-01 16:34:46 +02:00
2025-07-01 16:34:46 +02:00