ext/torch/generator.cpp in torch-rb-0.13.0 vs ext/torch/generator.cpp in torch-rb-0.13.1

- old
+ new

@@ -5,10 +5,9 @@ #include "utils.h" void init_generator(Rice::Module& m, Rice::Class& rb_cGenerator) { // https://github.com/pytorch/pytorch/blob/master/torch/csrc/Generator.cpp rb_cGenerator - .add_handler<torch::Error>(handle_error) .define_singleton_function( "new", []() { // TODO support more devices return torch::make_generator<torch::CPUGeneratorImpl>();