(the_list)
| 272 | |
| 273 | |
| 274 | def _max_by_axis(the_list): |
| 275 | # type: (List[List[int]]) -> List[int] |
| 276 | maxes = the_list[0] |
| 277 | for sublist in the_list[1:]: |
| 278 | for index, item in enumerate(sublist): |
| 279 | maxes[index] = max(maxes[index], item) |
| 280 | return maxes |
| 281 | |
| 282 | |
| 283 | class NestedTensor(object): |
no outgoing calls
no test coverage detected