mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-21 17:01:53 +00:00
chore(format): formatting code
This commit is contained in:
@@ -93,7 +93,7 @@ def log_rerun_data(
|
|||||||
|
|
||||||
def _log_vector(key: str, arr: np.ndarray) -> None:
|
def _log_vector(key: str, arr: np.ndarray) -> None:
|
||||||
"""
|
"""
|
||||||
Logs an array as one batch so all dimensions share a single view, while keeping the per-dimension `{key}_{i}` names via SeriesLines.
|
Logs an array as one batch so all dimensions share a single view, while keeping the per-dimension `{key}_{i}` names via SeriesLines.
|
||||||
Arrays with more than one dimension are flattened.
|
Arrays with more than one dimension are flattened.
|
||||||
"""
|
"""
|
||||||
arr = arr.reshape(-1).astype(float)
|
arr = arr.reshape(-1).astype(float)
|
||||||
|
|||||||
Reference in New Issue
Block a user