Searched refs:correct_array (Results 1 – 1 of 1) sorted by relevance
56 def verify_training_data(database_array, correct_array, ceed_resource, atol=1e-8, rtol=1e-8): argument65 if not np.allclose(database_array, correct_array, atol=atol, rtol=rtol):67 … total_tolerances = atol + rtol * np.abs(correct_array) # mimic np.allclose tolerance calculation68 idx_notclose = np.where(np.abs(database_array - correct_array) > total_tolerances)74 correct_vorticity = correct_array[idx_notclose]