MCPcopy Create free account
hub / github.com/MaureenZOU/TSAM / __init__

Method __init__

src/data_loader/transform.py:67–69  ·  view source on GitHub ↗
(self, mean, std)

Source from the content-addressed store, hash-verified

65
66class GroupNormalize(object):
67 def __init__(self, mean, std):
68 self.mean = mean
69 self.std = std
70
71 def __call__(self, tensor):
72 rep_mean = self.mean * (tensor.size()[0] // len(self.mean))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected