HarisIqbal88 / PlotNeuralNet

Latex code for making neural networks diagrams
MIT License
21.93k stars 2.86k forks source link

What about "to_output"? #100

Closed TianhangWang closed 3 years ago

TianhangWang commented 3 years ago

I mean I want to output the results of network, same as the input of the network, the images are provided by users.

TianhangWang commented 3 years ago

In tikzeng.py, add code just like this: def to_output( pathfile, to='(13,0,0)' , width=8, height=8, name="temp" ): return r""" \node[canvas is zy plane at x=0] (""" + name + """) at """+ to +""" {\includegraphics[width="""+ str(width)+"cm"+""",height="""+ str(height)+"cm"+"""]{"""+ pathfile +"""}}; """ just adjust "to=( ?,0,0)"