unilab.utils¶
- unilab.utils.to_torch(x, device)[source]¶
Convert numpy-like input to torch on the target device.
Supports torch tensors, numpy arrays, and any array exposing
__dlpack__.
Modules
Pure-filesystem log root and checkpoint resolution helpers. |
|
Standalone numpy helpers for coordinate frames and geometry. |
|
Hardware monitoring utilities for performance profiling. |
|
NaN/Inf guard for env-layer numerical anomaly detection and state dumping. |
|
Interactive viewer for NaN guard state dumps. |
|
Utility functions for reward config handling. |
|
Shared training seed contract helpers. |
|
Cross-backend sim2sim contract snapshot and resolution. |
|
Generic array <-> torch conversion utilities. |