class_docstr: Adapts the PyTorch SummaryWriter to output crypten graphs.
code: def add_graph(self, model, input_to_model=None, verbose=False):
      self._get_file_writer().add_onnx_graph(graph(model))
  
file_path: CrypTen/crypten/nn/tensorboard.py
imports: import crypten.nn
  from tensorboard.compat.proto.attr_value_pb2 import AttrValue
  from tensorboard.compat.proto.graph_pb2 import GraphDef
  from tensorboard.compat.proto.node_def_pb2 import NodeDef
  from tensorboard.compat.proto.versions_pb2 import VersionDef
  from torch.utils.tensorboard import SummaryWriter
label_desc: Use image node_id 1 for calling the SummaryWriter obj's underlying member method code with example usage: obj.add_graph(model, input_to_model, verbose) without return types