MCPcopy Create free account
hub / github.com/pytorch/tutorials / fmodel

Function fmodel

intermediate_source/ensembling.py:111–112  ·  view source on GitHub ↗
(params, buffers, x)

Source from the content-addressed store, hash-verified

109base_model = base_model.to('meta')
110
111def fmodel(params, buffers, x):
112 return functional_call(base_model, (params, buffers), (x,))
113
114######################################################################
115# Option 1: get predictions using a different minibatch for each model.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected