ext/torch/random.cpp in torch-rb-0.13.0 vs ext/torch/random.cpp in torch-rb-0.13.1
- old
+ new
@@ -4,10 +4,9 @@
#include "utils.h"
void init_random(Rice::Module& m) {
Rice::define_module_under(m, "Random")
- .add_handler<torch::Error>(handle_error)
.define_singleton_function(
"initial_seed",
[]() {
return at::detail::getDefaultCPUGenerator().current_seed();
})