Tutorials
Advanced JAX Tutorials
Notes
Developer documentation
API documentation
jit
vmap
pmap
Warning
This page was created from a pull request.
jax.lax.
top_k
Returns top k values and their indices along the last axis of operand.
k
operand
operand (Any) –
Any
k (int) –
int
Tuple[Any, Any]
Tuple