と下のようなエラー(Exception)が出ました。
(-209:Sizes of input arguments do not match) The operation is neither 'array op array' (where arrays have the same size and the same number of channels), nor 'array op scalar', nor 'scalar op array' in function 'arithm_op'
]
結論から言うと、
「入力と出力する画像のサイズが違います」
と言うことでした。あと、チャンネルも一緒である必要がある
翻訳すると。。。
操作は、「array op array」(配列のサイズとチャネル数が同じ)、「array op scalar」、「arithm_op」の「scalar op array」のいずれでもありません