bool: whether the caller is under a training context or not.
(self)
| 85 | |
| 86 | @property |
| 87 | def training(self): |
| 88 | """ |
| 89 | bool: whether the caller is under a training context or not. |
| 90 | """ |
| 91 | return get_current_tower_context().is_training |
| 92 | |
| 93 | |
| 94 | class ModelDesc(ModelDescBase): |
no test coverage detected