問題タブ [metal-performance-shaders]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ios - MPSNNGraph の入力で 2 つの MPSImages を使用する方法
MPSNNGraph に 2 つの画像を入力しようとしています。
しかし、「withSourceImages」に[input1,input2]のような配列を入力しても、入力画像として「input1」しか入力できません。理想的には、以下のようなグラフを作成する場合、「inputImage1」を「input1」、「inputImage2」を「input2」としたいと思います。
実際にこのように実行して「concat」の結果を見てみると、「input2」ではなく「input1」が連結されていることがわかりました。
グラフは次のようになります。
エンコーディンググラフの一部は次のようになります。
2 番目の入力を入力して、グラフがそれを受け取るにはどうすればよいですか?
アドバイスをいただけますか?