フィルターのクリア

How to create 1d image input layer to use convolution1dLayer?

17 ビュー (過去 30 日間)
Xiaohao Sun
Xiaohao Sun 2022 年 10 月 2 日
コメント済み: Xiaohao Sun 2024 年 1 月 22 日
I am trying to use convolution1dLayer on 1D image inputs. The documentation of convolution1dLayer says
  • For 1-D image input (data with three dimensions corresponding to the spatial pixels, channels, and observations), the layer convolves over the spatial dimension.
So its input format is "SCB". However, I didn't find an inputlayer that output data in the "SCB" format. The imageInputLayer can only output data in "SSCB". How should I input my 1D-image data to feed into convolution1dLayer? Many thanks for any helps in advance!
Best,
Xiaohao

採用された回答

Conor Daly
Conor Daly 2023 年 4 月 14 日
When working with dlnetwork input layers are not required. So you can work with "SCB" data by directly injecting into the network at the appropriate layer.
The repo linked below contains a network which operates on "SCB" data:
https://github.com/matlab-deep-learning/fourier-neural-operator
  1 件のコメント
Xiaohao Sun
Xiaohao Sun 2024 年 1 月 22 日
Interesting. Many thanks for your answer and example!
Also, it seems the functionLayer can be used in layer array to reformat the data.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by