MCPcopy Create free account
hub / github.com/pytorch/executorch / get_vision_model_dynamic_shapes

Function get_vision_model_dynamic_shapes

examples/vulkan/export.py:64–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62
63
64def 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
73def get_dog_image_tensor(image_size=224, normalization="imagenet"):

Callers 1

get_dynamic_shapesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected