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

Method tower_func

tensorpack/train/tower.py:46–53  ·  view source on GitHub ↗

A :class:`TowerFunc` instance. See `tutorial on tower function `_ for more information.

(self)

Source from the content-addressed store, hash-verified

44
45 @property
46 def tower_func(self):
47 """
48 A :class:`TowerFunc` instance.
49 See `tutorial on tower function
50 <http://tensorpack.readthedocs.io/tutorial/trainer.html#tower-trainer>`_
51 for more information.
52 """
53 return self._tower_func
54
55 @tower_func.setter
56 def tower_func(self, val):

Callers 13

get_predictorMethod · 0.95
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
export_compactMethod · 0.80
export_servingMethod · 0.80
_build_gan_trainerMethod · 0.80
__init__Method · 0.80
_build_gan_trainerMethod · 0.80

Calls 1

_set_tower_funcMethod · 0.95

Tested by

no test coverage detected