setTopK

public final void setTopK(int value)

Maximum number of ranked predictions to return. 0 (default) returns all candidates, ranked by fused probability descending.

Parameters

value

The value to set for the TopK property.