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

Function fw_empty

utils/resize_right/resize_right.py:424–428  ·  view source on GitHub ↗
(shape, fw, device)

Source from the content-addressed store, hash-verified

422
423
424def fw_empty(shape, fw, device):
425 if fw is numpy:
426 return fw.empty(shape)
427 else:
428 return fw.empty(size=(*shape,), device=device)

Callers 1

apply_convsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected