Autoaugment test policy for debugging.
()
| 86 | |
| 87 | |
| 88 | def policy_vtest(): |
| 89 | """Autoaugment test policy for debugging.""" |
| 90 | # Each tuple is an augmentation operation of the form |
| 91 | # (operation, probability, magnitude). Each element in policy is a |
| 92 | # sub-policy that will be applied sequentially on the image. |
| 93 | policy = [ |
| 94 | [('TranslateX', 1.0, 4), ('Equalize', 1.0, 10)], |
| 95 | ] |
| 96 | return policy |
| 97 | |
| 98 | |
| 99 | def blend(image1, image2, factor): |
nothing calls this directly
no outgoing calls
no test coverage detected