def set(self, child):
assert child.input_dims == self.input_dims<EOL>assert child.output_dims == self.output_dims<EOL>self._set(child)<EOL>self._invalid = <NUM_LIT:0><EOL>self.invalidate()<EOL>self._invalid = <NUM_LIT:0><EOL>
Replace the current child of this transform with another one.

The new child must have the same number of input and output
dimensions as the current child.