Skip to content

Tensors

def rerun.log_tensor(entity_path, tensor, *, names=None, meter=None, ext=None, timeless=False, recording=None)

Log an n-dimensional tensor.

Parameters:

Name Type Description Default
entity_path str

Path to the tensor in the space hierarchy.

required
tensor npt.ArrayLike

A Tensor object.

required
names Optional[Iterable[Optional[str]]]

Optional names for each dimension of the tensor.

None
meter Optional[float]

Optional scale of the tensor (e.g. meters per cell).

None
ext Optional[Dict[str, Any]]

Optional dictionary of extension components. See rerun.log_extension_components

None
timeless bool

If true, the tensor will be timeless (default: False).

False
recording Optional[RecordingStream]

Specifies the rerun.RecordingStream to use. If left unspecified, defaults to the current active data recording, if there is one. See also: rerun.init, rerun.set_global_data_recording.

None