MCPcopy
hub / github.com/huggingface/pytorch-image-models / pit_s_224

Function pit_s_224

timm/models/pit.py:464–473  ·  view source on GitHub ↗
(pretrained=False, **kwargs)

Source from the content-addressed store, hash-verified

462
463@register_model
464def pit_s_224(pretrained=False, **kwargs) -> PoolingVisionTransformer:
465 model_args = dict(
466 patch_size=16,
467 stride=8,
468 base_dims=[48, 48, 48],
469 depth=[2, 6, 4],
470 heads=[3, 6, 12],
471 mlp_ratio=4,
472 )
473 return _create_pit('pit_s_224', pretrained, **dict(model_args, **kwargs))
474
475
476@register_model

Callers

nothing calls this directly

Calls 1

_create_pitFunction · 0.85

Tested by

no test coverage detected