Пример #1
0
 public static ConvolutionalNeuralNetworkConfiguration AppendFullyConnectedLinearLayer
     (this ConvolutionalNeuralNetworkConfiguration config, DeviceDescriptor device)
 {
     return(config.AppendUsingPreviousStep(prevStep =>
                                           FullyConnectedLinearLayer(prevStep, config.NumberOfOutputClasses, device, config.OutputName), "Fully Connected Layer"));
 }
Пример #2
0
 public static ConvolutionalNeuralNetworkConfiguration AppendPoolingLayer
     (this ConvolutionalNeuralNetworkConfiguration config, PoolingParams parameters)
 {
     return(config.AppendUsingPreviousStep(prevStep => PoolingLayer(parameters, prevStep), "Pooling Layer"));
 }
Пример #3
0
 public static ConvolutionalNeuralNetworkConfiguration AppendReluActivation(this ConvolutionalNeuralNetworkConfiguration config)
 {
     return(config.AppendUsingPreviousStep(prevStep => CNTKLib.ReLU(prevStep), "ReLU Layer"));
 }
Пример #4
0
 public static ConvolutionalNeuralNetworkConfiguration AppendTanHActivation(this ConvolutionalNeuralNetworkConfiguration config)
 {
     return(config.AppendUsingPreviousStep(prevStep => CNTKLib.Tanh(prevStep), "TanH Layer"));
 }
Пример #5
0
 public static ConvolutionalNeuralNetworkConfiguration AppendConvolutionLayer(this ConvolutionalNeuralNetworkConfiguration config,
                                                                              ConvolutionParams parameters, DeviceDescriptor device)
 {
     return(config.AppendUsingPreviousStep(prevStep => ConvolutionLayer(parameters, prevStep, device), "Convolution Layer"));
 }