pub fn shard_dataset<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>(
    ctx: &'a Context,
    input_dataset: &T0,
    num_shards: &T1,
    index: &T2
) -> Result<TensorHandle<'a>>
Expand description

Shorthand for ShardDataset::new().call(&ctx, &input_dataset, &num_shards, &index).

See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/ShardDataset