MCPcopy
hub / github.com/yerfor/GeneFacePlusPlus / custom_meshgrid

Function custom_meshgrid

modules/radnerfs/utils.py:63–68  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

61
62
63def custom_meshgrid(*args):
64 # ref: https://pytorch.org/docs/stable/generated/torch.meshgrid.html?highlight=meshgrid#torch.meshgrid
65 if pver.parse(torch.__version__) < pver.parse('1.10'):
66 return torch.meshgrid(*args)
67 else:
68 return torch.meshgrid(*args, indexing='ij')
69
70
71def get_audio_features(features, att_mode, index):

Callers 7

mark_untrained_gridMethod · 0.90
update_extra_stateMethod · 0.90
update_extra_stateMethod · 0.90
update_extra_stateMethod · 0.90
get_bg_coordsFunction · 0.85
get_raysFunction · 0.85
extract_fieldsFunction · 0.85

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected