General:
Deployment
Preprocessing:
Custom:
TransformerXL:
DummyTorchModel
DummyTorchModel.__init__()
DummyTorchModel.forward()
GCP Integration:
A small dummy model specifically for unit and integration testing purposes.
A dummy model that will return a tensor of ones (batch_size, forecast_len).
forecast_length (int) – The length to forecast
The forward pass for the dummy model.
x (torch.Tensor) – Here the data is irrelvant. Only batch_size is grabbed
mask (torch.Tensor, optional) – [description], defaults to None
A tensor with fixed data of one
torch.Tensor