You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Jonzchuang11 via TVM Discuss <no...@discuss.tvm.ai> on 2020/04/17 04:23:40 UTC
[TVM Discuss] [Questions] Lambda op for Keras
Operator Lambda is not supported for frontend Keras. Have plan for support?
---
[Visit Topic](https://discuss.tvm.ai/t/lambda-op-for-keras/6408/1) to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/e0e37b0f26f6ce18ef2cf4890a1e4900433c795ec573166c6f76e4196515e265).
[TVM Discuss] [Questions] Lambda op for Keras
Posted by Morita Kazutaka via TVM Discuss <no...@discuss.tvm.ai>.
@zchuang11 Supporting those operators looks difficult in near future. I think trying other models is better for now, unfortunately.
---
[Visit Topic](https://discuss.tvm.ai/t/lambda-op-for-keras/6408/5) to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/60702f60e19fe1e353e28a9f2ee485680bdc247fd18465cb4e575c1eaf97bf4a).
[TVM Discuss] [Questions] Lambda op for Keras
Posted by Jonzchuang11 via TVM Discuss <no...@discuss.tvm.ai>.
@kazum Could you help me to support it or give some suggestions ? any advice is great appreciated! Thanks a lot!
---
[Visit Topic](https://discuss.tvm.ai/t/lambda-op-for-keras/6408/4) to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/40c16f9bb4ef6949ca89e490d7b47b55246f714ca02d7192ab47328f8d54524b).
[TVM Discuss] [Questions] Lambda op for Keras
Posted by Jonzchuang11 via TVM Discuss <no...@discuss.tvm.ai>.
@kazum Thanks for your reply in patience.
I have converted the keras model '*.h5' to tensoflow model(*.pb). There are four ops are not supported using 'tensorflow frontend using relay.frontend.from_tensorflow', as:
```Python
otImplementedError: The following operators are not implemented: {'DenseToDenseSetOperation', 'NonMaxSuppressionV3', 'SparseToDense', 'Unique'}
```
Could you help me to support it? Thanks a lot!
---
[Visit Topic](https://discuss.tvm.ai/t/lambda-op-for-keras/6408/3) to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/7dc05a5040283aa9a718ba95ba131760b5a855ba85ab26e294ab62e6a98944cf).
[TVM Discuss] [Questions] Lambda op for Keras
Posted by Morita Kazutaka via TVM Discuss <no...@discuss.tvm.ai>.
The Lambda layer can contain anything, so I think it's difficult to support.
If your keras model contains Lambda, I'd suggest converting it to a tensorflow model and use the tensorflow frontend instead. c.f. https://github.com/amir-abdi/keras_to_tensorflow/
---
[Visit Topic](https://discuss.tvm.ai/t/lambda-op-for-keras/6408/2) to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/bf886b0c6d5b977fe15a44d8b118df142848762d65de89d5b5cf73ab9af57dfe).