def METHOD_NAME(
    self, value: Union[np.ndarray, torch.Tensor, Sequence[Number], Number]
) -> 'ActionDataSample':
    """Set label of ``pred_label``."""
    label_data = getattr(self, '_pred_label', LabelData())
    label_data.item = format_label(value)
    self.pred_labels = label_data
    return self