pub fn thread_unsafe_unigram_candidate_sampler<'a, T0: ToTensorHandle<'a>>(
    ctx: &'a Context,
    true_classes: &T0
) -> Result<[TensorHandle<'a>; 3]>
Expand description

Shorthand for ThreadUnsafeUnigramCandidateSampler::new().call(&ctx, &true_classes).

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