def __call__(self, batch):
        if self.input_space:
            self.input_space.validate(batch)
        cur = batch
        if self._multiply_first:
            batch = self._add(self._multiply(batch))
        else:
            batch = self._multiply(self._add(batch))
        return batch
Test checks create/delete volume snapshot action
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/datasets/preprocessing.py/ExamplewiseAddScaleTransform.__call__--crossover with--dataset/ETHPy150Open openstack/horizon/openstack_dashboard/test/integration_tests/tests/test_volume_snapshots.py/TestVolumeSnapshotsBasic.test_create_edit_delete_volume_snapshot