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

Function coordinate2index

ACID/src/common.py:226–241  ·  view source on GitHub ↗

Normalize coordinate to [0, 1] for unit cube experiments. Corresponds to our 3D model Args: x (tensor): coordinate reso (int): defined resolution coord_type (str): coordinate type

(x, reso, coord_type='2d')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

forwardMethod · 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…