public void Update() { for (int i = 0; i < Layer.NumFilters; i++) { TextureUtils.ActivationToTexture(Layer.output, i, ActTex[i]); } for (int f = 0; f < Layer.NumFilters; f++) { for (int fs = 0; fs < Layer.InDepth; fs++) { TextureUtils.KernelToTexture(Layer, f, fs, KernTex[f * Layer.InDepth + fs]); } } }