MCPcopy Create free account
hub / github.com/NVlabs/ACID / normalize_coordinate

Function normalize_coordinate

ACID/src/common.py:161–184  ·  view source on GitHub ↗

Normalize coordinate to [0, 1] for unit cube experiments Args: p (tensor): point padding (float): conventional padding paramter of ONet for unit cube, so [-0.5, 0.5] -> [-0.55, 0.55] plane (str): plane feature type, ['xz', 'xy', 'yz']

(p, padding=0.1, plane='xz')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

forwardMethod · 0.90
sample_plane_featureMethod · 0.90
sample_plane_featureMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…