Hello, I'a a new learner of torch. I am very interested in the implementation of torch lua wrapper. It makes torch very easy to use. However, understanding the method of this implementation is very hard to me. Could anyone helps me about these two question?
1. the definition of torch.Tensor is t = torch.Tensor{1, 2, 3}. However, table connecting with {...} directly is not a common syntax in lua. Is this an origin lua syntax or an extension by torch lua wrapper.
2. torch defines Tensor with different type such as Double, Float, ... But origin lua type only has little type like number, table ... How torch extend it? Which file are these functions and structs located in torch source code?