class_docstr: An affine deterministic model.
code: def forward(self, X: Tensor) -> Tensor:
      return self.b + torch.einsum("...d,dm", X, self.a)
  
imports: from __future__ import annotations
  from abc import abstractmethod
  from typing import Callable, List, Optional, Union
  import torch
  from botorch.models.ensemble import EnsembleModel
  from botorch.models.model import Model
  from torch import Tensor
label_desc: Use image node_id 3 for calling the AffineDeterministicModel obj's underlying member method code with example usage: obj.forward(X) and returns: unknown