Writer.add_graph(model)

I’m trying to pass the model to tensorboard.
Model takes multiple inputs such as input_ids,attention,etc.

So, how exactly I should use writer.add_graph in my case to make it work