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.lsr_collate_fn
View page source
sgnlp.models.lsr.train.lsr_collate_fn
¶
lsr_collate_fn
(
batch
)
[source]
¶
Manually processes labels and uses default for the rest.