MCPcopy Create free account
hub / github.com/csuhan/OneLLM / forward

Method forward

data/data_utils.py:41–42  ·  view source on GitHub ↗
(self, tensors)

Source from the content-addressed store, hash-verified

39
40class PairNormalize(transforms.Normalize):
41 def forward(self, tensors):
42 return [F.normalize(tensor, self.mean, self.std, self.inplace) for tensor in tensors]
43
44
45transform_pairimg_train = transforms.Compose([

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected