MCPcopy
hub / github.com/microsoft/Cream / inference.py

File inference.py

TinyViT/inference.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Model Inference."""
2import torch
3import numpy as np
4from PIL import Image

Callers

nothing calls this directly

Calls 5

get_configFunction · 0.90
tiny_vit_21m_224Function · 0.90
build_transformFunction · 0.90
transformFunction · 0.50
printFunction · 0.50

Tested by

no test coverage detected