MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / denormalize

Function denormalize

utils/common.py:2100–2102  ·  view source on GitHub ↗

Scale from [-1, +1] to [0, 1]

(x)

Source from the content-addressed store, hash-verified

2098 return metric * get_mask(metric)
2099
2100def denormalize(x):
2101 """Scale from [-1, +1] to [0, 1]"""
2102 return (x + 1) / 2
2103
2104def read_ply(
2105 file_path

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected