-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to add multi-dimension constant tensor via tensorflow2ncnn #119
Labels
Comments
Maybe need to check nullity before use |
And these two networks are translated to same bin/proto. shape = (1, 1, 1, 8)
images = tf.placeholder(tf.float32, shape=shape, name="input/image")
const = tf.constant([1, 2, 3, 4, 5, 6, 7, 8], dtype=tf.float32, shape=shape)
layer = tf.add(const, images)
output = tf.identity(layer, name="output/score") shape = (1, 2, 2, 2)
images = tf.placeholder(tf.float32, shape=shape, name="input/image")
const = tf.constant([1, 2, 3, 4, 5, 6, 7, 8], dtype=tf.float32, shape=shape)
layer = tf.add(images, const)
output = tf.identity(layer, name="output/score") |
TODO |
ghimiredhikura
pushed a commit
to ghimiredhikura/NCNNSFD
that referenced
this issue
Jul 26, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This network cannot be translated to ncnn via tensorflow2ncnn.
The text was updated successfully, but these errors were encountered: