(tag, data, *args, **kwargs)
| 153 | func = getattr(self, name, None) |
| 154 | # Return a wrapper for all functions. |
| 155 | def wrapper(tag, data, *args, **kwargs): |
| 156 | if func is not None: |
| 157 | if name not in self.tag_mode_exceptions: |
| 158 | tag = f"{tag}/{self.mode}" |
| 159 | func(tag, data, *args, global_step=self.step, **kwargs) |
| 160 | |
| 161 | return wrapper |
| 162 | else: |
nothing calls this directly
no outgoing calls
no test coverage detected