ユーザ用ツール

サイト用ツール


max_pooling

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

max_pooling [2025/01/28 15:06] – 作成 118.158.174.226max_pooling [2025/01/28 15:14] (現在) bokupi
行 8: 行 8:
     col_size = array.shape[1] - kernel_size + 1     col_size = array.shape[1] - kernel_size + 1
  
-    output_array = np.zeros((int(row_size/stride), int(col_size/stride)))+    output_array = np.zeros((int(row_size/stride)+1, int(col_size/stride)+1))
          
     for row_index in range(0, row_size, stride):     for row_index in range(0, row_size, stride):
行 37: 行 37:
  
 print(output) print(output)
- 
 </code> </code>
max_pooling.1738076774.txt.gz · 最終更新: 2025/01/28 15:06 by 118.158.174.226

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki