MCPcopy Index your code
hub / github.com/pytorch/pytorch / current_prefix

Method current_prefix

caffe2/python/core.py:1454–1457  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1452
1453 @staticmethod
1454 def current_prefix():
1455 from caffe2.python.net_builder import NetBuilder
1456 builder = NetBuilder.current(required=False)
1457 return builder.name if builder else ''
1458
1459 @staticmethod
1460 def _reset_used_names() -> None:

Callers 1

_get_next_net_nameMethod · 0.80

Calls 1

currentMethod · 0.80

Tested by

no test coverage detected