class_docstr: Representation of the linear function.
class_docstr_tok: ["Representation","of","the","linear","function","."]
docstr: Convert instance to a numpy array.
docstr_tok: ["Convert","instance","to","a","numpy","array","."]
code: def to_numpy(self) -> np.ndarray:
      """
      Convert instance to a numpy array.
      """
      return np.array([self.angle, self.bias])
  
imports: from abc import ABC, abstractmethod
  from logging import Logger
  from pathlib import Path
  import string
  from typing import Any, Callable, List, Tuple, Union
  import numpy
label_desc: Use image node_id 4 for calling the Line obj's underlying member method code with example usage: obj.to_numpy() and returns: np