xla
xla copied to clipboard
Allow variable k type and output index type in topk.
trafficstars
Allow variable k type and output index type in topk.
This is to help support smaller model sizes for some
tflite models. Requires expanding the TF API to allow
specification of the type, output_index_type.
The change is backward-compatible.
Some changes in XLA were required to support the new API.