NervanaSystems / ngraph-python

Original Python version of Intel® Nervana™ Graph
http://ngraph.nervanasys.com/docs/legacy/
Apache License 2.0
215 stars 39 forks source link

[Question] - Reshape implimentation #11

Closed 0shimax closed 7 years ago

0shimax commented 7 years ago

I got error(NotImplementedError("Reshape can only support flatten") in importer.import_graph_def(tf.get_default_graph().as_graph_def()) when I used tf.reshape in my tenforslow model. I also got same error when used tf.contrib.layers.flatten(). Can't we input 4d array into tf.reshape or tf.contrib.layers.flatten() in ngraph Reshape implimentation?

ghost commented 7 years ago

Hi @0shimax. Sorry about that sharp corner you hit. We are actually moving away from/deprecating the TF importer that you are using and towards an XLA backend approach as described here. Keep an eye on our repo https://github.com/NervanaSystems/ngraph-tensorflow once we open this up to the public.

0shimax commented 7 years ago

@jknight-nervana Thank you for the reply. I got it. I wait that you develop TF importer on XLA. BTW, I can't open https://github.com/NervanaSystems/ngraph-tensorflow. Is this private repository?

ghost commented 7 years ago

Correct, Github 404's on private repo links if you're not part of the project.

0shimax commented 7 years ago

I got it. Thank you for the information.