MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / _set_tower_func

Method _set_tower_func

tensorpack/train/tower.py:41–43  ·  view source on GitHub ↗
(self, tower_func)

Source from the content-addressed store, hash-verified

39
40 @call_only_once
41 def _set_tower_func(self, tower_func):
42 assert isinstance(tower_func, TowerFunc), tower_func
43 self._tower_func = tower_func
44
45 @property
46 def tower_func(self):

Callers 1

tower_funcMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected