concepts.pdsketch.regression_utils.has_optimistic_value_or_list#

has_optimistic_value_or_list(x)[source]#

Check if there is any optimistic value in the input TensorValue or a list of TensorValue’s.

Parameters:

x (ListValue | TensorValue)

Return type:

bool