MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / fw_arange

Function fw_arange

utils/resize_right/resize_right.py:417–421  ·  view source on GitHub ↗
(upper_bound, fw, device)

Source from the content-addressed store, hash-verified

415
416
417def fw_arange(upper_bound, fw, device):
418 if fw is numpy:
419 return fw.arange(upper_bound)
420 else:
421 return fw.arange(upper_bound, device=device)
422
423
424def fw_empty(shape, fw, device):

Callers 3

get_projected_gridFunction · 0.85
get_field_of_viewFunction · 0.85
calc_pad_szFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected