Exemplo n.º 1
0
 public static LayerFactory FullyConnected(
     int neurons, ActivationFunctionType activation, CostFunctionType cost,
     WeightsInitializationMode weightsMode = WeightsInitializationMode.GlorotUniform, BiasInitializationMode biasMode = BiasInitializationMode.Zero)
 => input => new OutputLayer(input, neurons, activation, cost, weightsMode, biasMode);
Exemplo n.º 2
0
 public static LayerFactory Softmax(
     int outputs,
     WeightsInitializationMode weightsMode = WeightsInitializationMode.GlorotUniform, BiasInitializationMode biasMode = BiasInitializationMode.Zero)
 => input => new SoftmaxLayer(input, outputs, weightsMode, biasMode);
Exemplo n.º 3
0
 public static LayerFactory Inception(InceptionInfo info, BiasInitializationMode biasMode = BiasInitializationMode.Zero)
 => input => new CuDnnInceptionLayer(input, info, biasMode);