pub fn sampling_dataset<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>>(
    ctx: &'a Context,
    input_dataset: &T0,
    rate: &T1,
    seed: &T2,
    seed2: &T3
) -> Result<TensorHandle<'a>>
Expand description

Shorthand for SamplingDataset::new().call(&ctx, &input_dataset, &rate, &seed, &seed2).

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