(x)
| 51 | |
| 52 | # Change the values of tensor x from range [0, 1] to [-1, 1] |
| 53 | def normalize(x): |
| 54 | return x.mul_(2).add_(-1) |
| 55 | |
| 56 | def same_padding(images, ksizes, strides, rates): |
| 57 | assert len(images.size()) == 4 |
nothing calls this directly
no outgoing calls
no test coverage detected