AI Dynamics

Global AI News Aggregator

About

PyTorch Model Inference Optimization with torch.no_grad()

this isn't the case bc i'm using the same image every time; my code looks like this for _ in range(n_iters): with http://
torch.no_grad(): model.forward(x)

→ View original post on X — @jxmnop