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
»
utils
»
sgnlp.models.lsr.utils.get_default_device
View page source
sgnlp.models.lsr.utils.get_default_device
¶
get_default_device
(
)
[source]
¶