| shards_list | R Documentation |
Constructs a shard_descriptor from a user-supplied list of index vectors.
This is useful for non-contiguous workloads like searchlights/feature sets
where each shard operates on an arbitrary subset.
shards_list(idxs)
idxs |
List of integer vectors (1-based indices). Each element becomes
one shard with fields |
A shard_descriptor list describing the chunk layout.
sh <- shards_list(list(1:10, 11:20, 21:30))
length(sh)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.