Class: TorchText::Datasets::AG_NEWS

Inherits:
Object
  • Object
show all
Defined in:
lib/torchtext/datasets/text_classification.rb

Class Method Summary collapse

Class Method Details

.load(*args, **kwargs) ⇒ Object



161
162
163
# File 'lib/torchtext/datasets/text_classification.rb', line 161

def self.load(*args, **kwargs)
  TextClassification.ag_news(*args, **kwargs)
end