Return a product of sequence items.
(seq)
| 152 | |
| 153 | |
| 154 | def product(seq): |
| 155 | """ |
| 156 | Return a product of sequence items. |
| 157 | """ |
| 158 | return functools.reduce(lambda a, b: a*b, seq, 1) |
| 159 | |
| 160 | |
| 161 | def get_contiguous_span(shape, strides, itemsize): |
no outgoing calls
no test coverage detected