.DataAugmentationmakebuffer

function defined in module DataAugmentation


			makebuffer(tfm, item)

Create a buffer buf that can be used in a call to apply!(buf, tfm, item). Default to buffer = apply(tfm, item).

You only need to implement this if the default apply(tfm, item) isn't enough. See apply(tfm::Sequence, item) for an example of this.

Methods

There are 4 methods for DataAugmentation.makebuffer: