Base class for sharing some code between ops.
Move functionality into BaseActs.
ImageActs (full-mode convolution) op.
Refactor tests, reuse some sanity checks for ImageActs.