Esempio n. 1
0
 public Conv2DLayerTexture(ConvLayer2D layer)
 {
     Layer   = layer;
     ActTex  = TextureUtils.CreateTexture2DArray(layer.OutWidth, layer.OutWidth, layer.NumFilters);
     KernTex = TextureUtils.CreateTexture2DArray(layer.KWidth, layer.KWidth, layer.NumFilters * layer.InDepth);
 }