(flow, factor)
| 450 | return vox |
| 451 | |
| 452 | def downsample3dflow(flow, factor): |
| 453 | down = torch.nn.AvgPool3d(factor) |
| 454 | flow = down(flow) * 1./factor |
| 455 | return flow |
| 456 | |
| 457 | def l2_normalize(x, dim=1): |
| 458 | # dim1 is the channel dim |
nothing calls this directly
no outgoing calls
no test coverage detected