I have a tf.keras
model that uses tf.keras.layers.Conv1d
(https://www.tensorflow.org/api_docs/python/tf/keras/layers/Conv1D). However, when I try to convert the model to TVM, I get the stack trace below. Why isn’t this supported in TVM? It seems to be a fairly common layer for processing 1D time series data. Is there any plan to add this op to TVM?
>>> mod, params = relay.frontend.from_keras(model, shape_dict)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/tblstri/tvm/python/tvm/relay/frontend/keras.py", line 1161, in from_keras
keras_op_to_relay(inexpr, keras_layer, keras_layer.name + ":" + str(node_idx), etab)
File "/home/tblstri/tvm/python/tvm/relay/frontend/keras.py", line 1036, in keras_op_to_relay
"Operator {} is not supported for frontend Keras.".format(op_name)
tvm.error.OpNotImplemented: Operator Conv1D is not supported for frontend Keras.