フィルターのクリア

Repmat equivalent in python

10 ビュー (過去 30 日間)
Prb
Prb 2019 年 5 月 2 日
コメント済み: Walter Roberson 2019 年 5 月 2 日
Hi What is is the equivalent of repmat in python and how does the below code translates to python.
BlocksEachScale =6
ResidualModuleInference = {'csReLU','conv','shift','csReLU','conv','shift','residual'};
LayerTypesInference = [InputModuleInference ...
repmat(ResidualModuleInference,1,BlocksEachScale)...
repmat(ResidualModuleInference,1,BlocksEachScale)...
repmat(ResidualModuleInference,1,BlocksEachScale)...
OutputModuleInference];
  3 件のコメント
Prb
Prb 2019 年 5 月 2 日
LayerTypesInference = [InputModuleInference, np.tile(ResidualModuleInference,(1,BlocksEachScale)), np.tile(ResidualModuleInference,(1,BlocksEachScale)),np.tile(ResidualModuleInference,(1,BlocksEachScale)),OutputModuleInference]
So could this be a an appropriate translation for this?
Walter Roberson
Walter Roberson 2019 年 5 月 2 日
Maybe??

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by