Google Cloud Ai Platform V1 Client - Class LogprobsResult (1.12.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class LogprobsResult.

Logprobs Result

Generated from protobuf message google.cloud.aiplatform.v1.LogprobsResult

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ top_candidates
array< LogprobsResult\TopCandidates >

Length = total number of decoding steps.

↳ chosen_candidates
array< LogprobsResult\Candidate >

Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.

getTopCandidates

Length = total number of decoding steps.

Returns
Type
Description

setTopCandidates

Length = total number of decoding steps.

Parameter
Name
Description
Returns
Type
Description
$this

getChosenCandidates

Length = total number of decoding steps.

The chosen candidates may or may not be in top_candidates.

Returns
Type
Description

setChosenCandidates

Length = total number of decoding steps.

The chosen candidates may or may not be in top_candidates.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: