MCPcopy Create free account
hub / github.com/UCSC-VLAA/OpenVision / Model

Function Model

src/models/text_decoder.py:579–581  ·  view source on GitHub ↗

Factory function, because linen really don't like what I'm doing!

(num_classes=None, *, variant=None, **kw)

Source from the content-addressed store, hash-verified

577
578
579def Model(num_classes=None, *, variant=None, **kw): # pylint: disable=invalid-name
580 """Factory function, because linen really don't like what I'm doing!"""
581 return _Model(num_classes, **{**decode_variant(variant), **kw})
582
583
584def decode_variant(variant):

Callers

nothing calls this directly

Calls 2

_ModelClass · 0.70
decode_variantFunction · 0.70

Tested by

no test coverage detected