简体   繁体   English

边缘 TPU 是否支持 1D 卷积?

[英]Does edge TPU support 1D convolution?

I was interested in the google corral usb accelerator for a project I looked it up and it says it supports CNN models, but does that include 1 dimensional CNN models?我对 google corral usb 加速器很感兴趣,因为我查了一个项目,它说它支持 CNN 模型,但这是否包括一维 CNN 模型?

It's techincally possible.这在技术上是可能的。 TFLite (and by extension the EdgeTPU) doesn't directly suppord Conv1D. TFLite(以及扩展的 EdgeTPU)不直接支持 Conv1D。 But if you compile a model with Conv1D, the TFLite compiler will change that to a Reshape->Conv2D->Reshape.但是,如果您使用 Conv1D 编译 model,TFLite 编译器会将其更改为 Reshape->Conv2D->Reshape。 Because these operations are all accelerated on the EdgeTPU, you'll be able to run Conv1D without a significant performance hit.因为这些操作都是在 EdgeTPU 上加速的,所以您将能够运行 Conv1D 而不会显着影响性能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM