Product of a sequence of integers
(xs)
| 27 | |
| 28 | |
| 29 | def intprod(xs): |
| 30 | """ |
| 31 | Product of a sequence of integers |
| 32 | """ |
| 33 | out = 1 |
| 34 | for x in xs: |
| 35 | out *= x |
| 36 | return out |
| 37 | |
| 38 | |
| 39 | class CnnBasicBlock(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected