init tensors