Ccan't pickle local object 'RandomSplitter.<locals>._inner'

If I just remove splitter = RandomSplitter(seed42), it’ll export just fine and the model seems to work.

So what’s difference if have/havn’t splitter specified?