Skip to content

[TENSORFLOW] Frontend update to 1.12  #3077

@srkreddy1238

Description

@srkreddy1238

w.r.t
https://discuss.tvm.ai/t/support-for-tensorflow-ops-for-newer-tf-version/2324

Standard Tensorflow models exported in TF 1.12 & later have newer ops which have not been implemented in TVM right now.

VariableV2: I guess TF has deprecated Variable and moved to variable2. I am not 100% sure though. Here is the link 1
TruncatedNormal
Assign
I havent encountered any other non supported op. Want to know whats the way forward ?

Traceback (most recent call last):
  File "tvm_basic_infra_testing.py", line 106, in <module>
    net, params = tvm.relay.frontend.from_tensorflow(graph_def, shape={'input':input_shape}, layout=layout)
  File "/tvm/python/tvm/relay/frontend/tensorflow.py", line 2182, in from_tensorflow
    sym, params = g.from_tensorflow(graph, layout, shape, outputs)
  File "/tvm/python/tvm/relay/frontend/tensorflow.py", line 1700, in from_tensorflow
    "The following operators are not implemented: {}".format(missing_operators))
NotImplementedError: The following operators are not implemented: {'TruncatedNormal', 'Assign', 'VariableV2'}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions