MCPcopy Create free account
hub / github.com/openai/point-e / process_xstart

Method process_xstart

point_e/diffusion/gaussian_diffusion.py:320–325  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

318 model_log_variance = _extract_into_tensor(model_log_variance, t, x.shape)
319
320 def process_xstart(x):
321 if denoised_fn is not None:
322 x = denoised_fn(x)
323 if clip_denoised:
324 return x.clamp(-1, 1)
325 return x
326
327 if self.model_mean_type == "x_prev":
328 pred_xstart = process_xstart(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected