ModelConfig::setTopLogprobs( int $topLogprobs )

In this article

Sets the number of top log probabilities to return.

Parameters

$topLogprobsintrequired
The number of top log probabilities.

Source

public function setTopLogprobs(int $topLogprobs): void
{
    $this->topLogprobs = $topLogprobs;
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.