Or.evaluate

Or.evaluate(data: DataFrame | Dict[str, torch.Tensor | array]) array | torch.Tensor[source]

Evaluate the operator with given data.

Parameters:

data (pd.DataFrame or Dict[str, Union[torch.Tensor, np.array]]) – The data to evaluate the operator with.

Returns:

Tuple[np.array, torch.Tensor] – The result of the evaluation.