concepts.pdsketch.regression_utils.is_single_optimistic_value_or_list#

is_single_optimistic_value_or_list(x)[source]#

Check if the input TensorValue is a single optimistic value or a list of TensorValue’s that are all single optimistic values.

Parameters:

x (ListValue | TensorValue) –

Return type:

bool