def _parse_data(self, obj: DataArray) -> Tensor:
    assert (obj is not None)
    obj = utils.copy_to_tensor(obj)
    obj = utils.to_steps_nodes_channels(obj)
    obj = utils.cast_tensor(obj, self.precision)
    return obj
def _parse_data(self, obj: DataArray) -> Tensor:
    assert (obj is not None)
    obj = utils.copy_to_tensor(obj)
    obj = utils.to_steps_nodes_channels(obj)
    obj = utils.cast_tensor(obj, self.precision)
    return obj