No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
08b9f6b
... +0 ...
a811279
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
175 | 175 | ||
176 | 176 | @staticmethod |
|
177 | 177 | def _check_loss_name_collision(losses: List[ashpy.losses.Executor]): |
|
178 | - | """Check that all losses have unique names.""" |
|
178 | + | """ |
|
179 | + | Check that all losses have unique names. |
|
180 | + | ||
181 | + | Args: |
|
182 | + | losses (List[:py:class:`ashpy.losses.Executor`]): List of losses used by the current trainer. |
|
183 | + | Raises: |
|
184 | + | ValueError if there are losses with conflicting names |
|
185 | + | ||
186 | + | """ |
|
179 | 187 | names = [] |
|
180 | 188 | ||
181 | 189 | for loss in losses: |
Files | Coverage |
---|---|
src/ashpy | 87.17% |
Project Totals (56 files) | 87.17% |
#56
a811279
#56
08b9f6b