-
Hi, Good day, Some of them looks similar but I am really not sure about it. Below are some operations dumped from SSDMobilenetV1 model: Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey Vincent, The easiest way to find out where ops are placed is by using If you want to know the ops that get executed after the model's graph is optimized then you have to trace each execution. For example, you can trace a single
You pass the Personally I think the |
Beta Was this translation helpful? Give feedback.
Hey Vincent,
The easiest way to find out where ops are placed is by using
log_device_placement
in a tf.ConfigProto. Some more details here. However, this option can be misleading because it's telling you the placement of ops in the model before it gets optimized: for example, ops may be fused together or eliminated entirely because they can be evaluated statically (constant folding). Regardless, this tool tells you the intended device to execute each op.If you want to know the ops that get executed after the model's graph is optimized then you have to trace each execution. For example, you can trace a single
session.run
for training to collect stats. The tf.RunOptions object exposes two …