

# ComputeLogprobsResult
<a name="API_training_session_runtime_ComputeLogprobsResult"></a>

The result of a compute-logprobs operation.

## Contents
<a name="API_training_session_runtime_ComputeLogprobsResult_Contents"></a>

 ** logprobs **   <a name="sagemaker-Type-training_session_runtime_ComputeLogprobsResult-logprobs"></a>
The per-token log-probabilities for the input prompt.  
Type: Array of doubles  
Required: Yes

## See Also
<a name="API_training_session_runtime_ComputeLogprobsResult_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/sagemakertrainingsessionruntime-2025-02-10/ComputeLogprobsResult) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemakertrainingsessionruntime-2025-02-10/ComputeLogprobsResult) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemakertrainingsessionruntime-2025-02-10/ComputeLogprobsResult) 