Esempio n. 1
0
 /// <summary>
 /// Creates a new Layer.
 /// </summary>
 /// <param name="inputSize"></param>
 public Dave(Size inputSize, int sliceCount = 1, bool debuggingToggle = false)
 {
     PreInit();
     Config.inputSize       = inputSize;
     Config.DebuggingToggle = debuggingToggle;
     GPUHelper.CreateAccelerator(debuggingToggle);
     layers.Add(new InputLayer2D(inputSize, null, sliceCount, "ByteToByteFraction"));
 }