N3PDF / vegasflow

VegasFlow: accelerating Monte Carlo simulation across multiple hardware platforms
https://vegasflow.readthedocs.io
Apache License 2.0
34 stars 9 forks source link

[WIP] inspect graph with tensorboard #6

Closed scarrazza closed 4 years ago

scarlehoff commented 4 years ago

So, I was trying to make the Vegas into a tf.function. It is relatively easy actually but I realised we don't necessarily want to do that. If we do we will create a graph with n_events node, which is extremely big. Otherwise we can do the batch thingy, but the problem of doing a graph where the number of events is something that come from the outside is that if two different numbers of events go in it will trigger two different compilations.

tl;dr can be done, I'll try uploading it before the lecture is finished, but I don't think we want it as a default