()
| 62 | |
| 63 | |
| 64 | def get_vision_model_dynamic_shapes(): |
| 65 | return ( |
| 66 | { |
| 67 | 2: Dim("height", min=1, max=16) * 16, |
| 68 | 3: Dim("width", min=1, max=16) * 16, |
| 69 | }, |
| 70 | ) |
| 71 | |
| 72 | |
| 73 | def get_dog_image_tensor(image_size=224, normalization="imagenet"): |
no outgoing calls
no test coverage detected