Class DpoHyperparameters.BatchSize
- 
                    
                    
- All Implemented Interfaces:
 
public final class DpoHyperparameters.BatchSizeNumber of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceDpoHyperparameters.BatchSize.VisitorAn interface that defines how to map each variant of BatchSize to a value of type T.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final Optional<JsonValue>auto()final Optional<Long>integer()final BooleanisAuto()final BooleanisInteger()final JsonValueasAuto()final LongasInteger()final Optional<JsonValue>_json()final <T extends Any> Taccept(DpoHyperparameters.BatchSize.Visitor<T> visitor)final DpoHyperparameters.BatchSizevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static DpoHyperparameters.BatchSizeofAuto()final static DpoHyperparameters.BatchSizeofInteger(Long integer)- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
accept
final <T extends Any> T accept(DpoHyperparameters.BatchSize.Visitor<T> visitor)
 
- 
                                        
validate
final DpoHyperparameters.BatchSize validate()
 
- 
                                        
ofAuto
final static DpoHyperparameters.BatchSize ofAuto()
 
- 
                                        
ofInteger
final static DpoHyperparameters.BatchSize ofInteger(Long integer)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -