MCPcopy Create free account
hub / github.com/AMAP-ML/Eevee / shape_checker

Method shape_checker

models/training.py:125–130  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

123
124
125 def shape_checker(self, inputs):
126 height, width, num_frames = self.pipe.check_resize_height_width(inputs["height"], inputs["width"], inputs["num_frames"])
127 inputs["height"] = height
128 inputs["width"] = width
129 inputs["num_frames"] = num_frames
130 return inputs
131
132
133 def noise_initializer(self, inputs):

Callers 1

forward_preprocessMethod · 0.95

Calls 1

Tested by

no test coverage detected