torch.tile — PyTorch 1.10.1 documentation
pytorch.org › docs › stabletorch.tile. torch.tile(input, dims) → Tensor. Constructs a tensor by repeating the elements of input . The dims argument specifies the number of repetitions in each dimension. If dims specifies fewer dimensions than input has, then ones are prepended to dims until all dimensions are specified. For example, if input has shape (8, 6, 4, 2) and ...
AttributeError: 'Tensor' object has no attribute 'tile ...
github.com › unit8co › dartsmodel_nbeats.predict(n=48, series=ts_train[1]) # ts_train[1] is a TimeSeries ~\Anaconda3\envs\darts-venv\lib\site-packages\darts\models\torch_forecasting_model.py in _sample_tiling(self, input_data_tuple, batch_sample_size) 750 for tensor in input_data_tuple: 751 if tensor is not None: --> 752 tiled_input_data.append(tensor.tile((batch_sample_size, 1, 1))) 753 else: 754 tiled_input_data.append ...