Function programinduction::domains::strings::make_tasks
source · pub fn make_tasks<R: Rng>(
rng: &mut R,
count: usize,
n_examples: usize
) -> Vec<impl Task<[(Vec<Space>, Space)], Representation = Language, Expression = Expression>>
Expand description
Randomly generate string editing Task
s.
The task observations input/output pairs, where sequentially-applied inputs are gathered into a list.