# NOT RUN {
library("mlr3")
task = tsk("wine")
opc = mlr_pipeops$get("chunk", 2)
# watch the row number: 89 during training (task is chunked)...
opc$train(list(task))
# ... 178 during predict (task is copied)
opc$predict(list(task))
# }
Run the code above in your browser using DataLab