code: def predict(self, X: gpflow.base.TensorData) -> tf.Tensor:
      return X @ self.slope + self.bias[:, None]
  
file_path: GPflow/doc/sphinx/notebooks/getting_started/parameters_and_their_optimisation.pct.py
imports: import os
  import warnings
  from typing import Optional
  import matplotlib.pyplot
  import numpy
  import pandas
  import tensorflow
  import tensorflow_probability
  from check_shapes import check_shapes
  from matplotlib.axes import Axes
  import gpflow
  from gpflow.ci_utils import is_continuous_integration
label_desc: Use image node_id 2 for calling the LinearModel obj's underlying member method code with example usage: obj.predict(X) and returns: unknown