tfp.experimental.mcmc.GradientBasedTrajectoryLengthAdaptationResults
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
Internal state of GradientBasedTrajectoryLengthAdaptation.
tfp.experimental.mcmc.GradientBasedTrajectoryLengthAdaptationResults(
    inner_results,
    max_trajectory_length,
    step,
    adaptation_rate,
    jitter_amount,
    averaged_sq_grad,
    averaged_sq_grad_adaptation_rate,
    averaged_max_trajectory_length,
    criterion,
    seed
)
| Attributes | 
|---|
| inner_results | Results of the inner kernel. | 
| max_trajectory_length | Floating point scalar Tensor. Maximum HMC
trajectory length. | 
| step | Int32 scalar Tensor. The number of steps this kernel has taken.
Increases by 1 for every call toone_step. | 
| adaptation_rate | Floating point scalar Tensor. How rapidly to adapt the
trajectory length. | 
| jitter_amount | Floating point scalar Tensor. How much to jitter the
trajectory on the next step. The trajectory length is sampled from[(1 -
jitter_amount) * max_trajectory_length, max_trajectory_length]. | 
| averaged_sq_grad | Floating point scalar Tensor. Moving average of squared
criterion gradients. | 
| averaged_sq_grad_adaptation_rate | Floating point scalar Tensor. How
rapidly to adapt the running average squared gradient. This is1 -
beta_2from Adam. | 
| averaged_max_trajectory_length | Floating point scalar Tensor. Moving
average of the maximum of trajectory length. This is used after the burnin
period. | 
| criterion | Floating point Tensorwith shape[C0, ..., Cb]withb > 0.
The value of the criterion returned by thecriterion_fncorresponding to
each Markov chain. | 
| seed | PRNG seed; see tfp.random.sanitize_seedfor details. The random seed
used by the kernel in the previous step. | 
  
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2023-11-21 UTC.
  
  
  
    
      [null,null,["Last updated 2023-11-21 UTC."],[],[]]