torchsig.models.model_utils.model_utils_1d.conversions_to_1d.try_default

torchsig.models.model_utils.model_utils_1d.conversions_to_1d.try_default(fn_to_try, result_on_error)[source]

tries to return the result of a function call; returns result_on_error on error