hiddenlayer icon indicating copy to clipboard operation
hiddenlayer copied to clipboard

how can we use this tool with a model that have multiple parts in input?

Open chg0901 opened this issue 6 years ago • 3 comments

For example, my model takes two inputs like the following coding shows

outputs = net(inputs, tr_angles)

chg0901 avatar Jan 06 '20 11:01 chg0901

For example, my model takes two inputs like the following coding shows

outputs = net(inputs, tr_angles)

I have tried graph = hl.build_graph(net, inputs, tr_angles) and graph = hl.build_graph(net, (inputs, tr_angles)) and graph = hl.build_graph(net, [inputs, tr_angles])

chg0901 avatar Jan 06 '20 11:01 chg0901

Hello, have you solved thsi question? I have the same question as you.

luciaL avatar Apr 16 '20 02:04 luciaL

For models that require two inputs (e.g. outputs = net(input1, input2)), graph = hl.build_graph(net, (input1, input2)) worked fine in v0.3.

checche avatar Oct 29 '21 01:10 checche