class_docstr: Class implementing a dense layer on a zonotope.
  Bias is only added to the zeroth term.
class_docstr_tok: ["Class","implementing","a","dense","layer","on","a","zonotope",".","Bias","is","only","added","to","the","zeroth","term","."]
docstr: Modification required compared to the normal torch dense layer.
  The bias is added only to the central zonotope term and not the error terms.
  
  :param x: zonotope input to have the bias added.
  :return: zonotope with the bias added to the central (first) term.
docstr_tok: ["Modification","required","compared","to","the","normal","torch","dense","layer",".","The","bias","is","added","only","to","the","central","zonotope","term","and","not","the","error","terms",".",":","param","x",":","zonotope","input","to","have","the","bias","added",".",":","return",":","zonotope","with","the","bias","added","to","the","central","(","first",")","term","."]
code: def zonotope_add(self, x: "torch.Tensor") -> "torch.Tensor":
      """
      Modification required compared to the normal torch dense layer.
      The bias is added only to the central zonotope term and not the error terms.
  
      :param x: zonotope input to have the bias added.
      :return: zonotope with the bias added to the central (first) term.
      """
      x[0] = x[0] + self.bias
      return x
  
imports: from typing import Tuple, Union
  import numpy
  import torch
label_desc: Use image node_id 6 for calling the ZonoDenseLayer obj's underlying member method code with example usage: obj.zonotope_add(x) and returns: x