ext/torch/templates.h in torch-rb-0.7.0 vs ext/torch/templates.h in torch-rb-0.8.0
- old
+ new
@@ -19,9 +19,10 @@
using torch::MemoryFormat;
using torch::IntArrayRef;
using torch::ArrayRef;
using torch::TensorList;
using torch::Storage;
+using ScalarList = ArrayRef<Scalar>;
using torch::nn::init::FanModeType;
using torch::nn::init::NonlinearityType;
#define HANDLE_TH_ERRORS \