sgnlp
Quickstart
Advanced Tutorial
API Reference
models
csgec
emotion_entailment
lsr
config
modeling
modules
postprocess
preprocess
train
utils
rst_pointer
rumour_detection_twitter
sentic_gcn
span_extraction
ufd
utils
sgnlp
»
sgnlp
»
models
»
lsr
»
train
»
sgnlp.models.lsr.train.get_optimizer
View page source
sgnlp.models.lsr.train.get_optimizer
¶
get_optimizer
(
name
,
parameters
,
lr
,
l2
=
0
)
[source]
¶