@Override
    public TransformerProto serialize() {
        return ProtoUtil.serialize(this);
    }
@Test
    void testSerializeSimpleTransform() throws Exception {
        Transformer t = new SimpleTransform(Operation.exp, Math.E, Math.PI);
        TransformerProto tp = t.serialize();
        assertEquals(0, tp.getVersion());
        assertEquals("org.tribuo.transform.transformations.SimpleTransform", tp.getClassName());
        SimpleTransformProto proto = tp.getSerializedData().unpack(SimpleTransformProto.class);
        assertEquals("exp", proto.getOp());
        assertEquals(Math.E, proto.getFirstOperand());
        assertEquals(Math.PI, proto.getSecondOperand());

        Transformer tD = ProtoUtil.deserialize(tp);
        assertEquals(t, tD);
    }