MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / meshgrid_ij

Function meshgrid_ij

monai/networks/utils.py:1079–1083  ·  view source on GitHub ↗
(*tensors)

Source from the content-addressed store, hash-verified

1077
1078
1079def meshgrid_ij(*tensors):
1080 if torch.meshgrid.__kwdefaults__ is not None and "indexing" in torch.meshgrid.__kwdefaults__:
1081 return torch.meshgrid(*tensors, indexing="ij") # new api pytorch after 1.10
1082
1083 return torch.meshgrid(*tensors)
1084
1085
1086def meshgrid_xy(*tensors):

Callers 7

get_reference_gridMethod · 0.90
get_reference_gridMethod · 0.90
_create_grid_torchFunction · 0.90
__call__Method · 0.90
__init__Method · 0.90
make_gridFunction · 0.90

Calls

no outgoing calls

Tested by 1

make_gridFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…