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

- old
+ new

@@ -5,10 +5,9 @@ #include "utils.h" void init_ivalue(Rice::Module& m, Rice::Class& rb_cIValue) { // https://pytorch.org/cppdocs/api/structc10_1_1_i_value.html rb_cIValue - .add_handler<torch::Error>(handle_error) .define_method("bool?", &torch::IValue::isBool) .define_method("bool_list?", &torch::IValue::isBoolList) .define_method("capsule?", &torch::IValue::isCapsule) .define_method("custom_class?", &torch::IValue::isCustomClass) .define_method("device?", &torch::IValue::isDevice)