Conv3D Constructor (Int32, Tuple<(Of <(<'Int32, Int32, Int32>)>)>, Tuple<(Of <(<'Int32, Int32, Int32>)>)>, Boolean, Tuple<(Of <(<'Int32, Int32, Int32>)>)>, String, Boolean, String, String)
Initializes a new instance of the Conv3D class.
Namespace:
SiaNet.Model.LayersAssembly: SiaNet (in SiaNet.dll)
Syntax
public Conv3D( int channels, Tuple<int, int, int> kernalSize, Tuple<int, int, int> strides, bool padding, Tuple<int, int, int> dialation, string activation, bool useBias, string weightInitializer, string biasInitializer )
Public Sub New ( _ channels As Integer, _ kernalSize As Tuple(Of Integer, Integer, Integer), _ strides As Tuple(Of Integer, Integer, Integer), _ padding As Boolean, _ dialation As Tuple(Of Integer, Integer, Integer), _ activation As String, _ useBias As Boolean, _ weightInitializer As String, _ biasInitializer As String _ )
Parameters
- channels
- Type: Int32
Integer, the dimensionality of the output space.
- kernalSize
- Type: Tuple<(Of <(<'Int32, Int32, Int32>)>)>
A tuple of 3 integers, specifying the depth, height and width of the 3D convolution window. Can be a single integer to specify the same value for all spatial dimensions.
- strides
- Type: Tuple<(Of <(<'Int32, Int32, Int32>)>)>
A tuple of 3 integers, specifying the strides of the convolution along each spatial dimension. Can be a single integer to specify the same value for all spatial dimensions. Specifying any stride value != 1 is incompatible with specifying any dilation_rate value != 1.
- padding
- Type: Boolean
Boolean, if true results in padding the input such that the output has the same length as the original input.
- dialation
- Type: Tuple<(Of <(<'Int32, Int32, Int32>)>)>
A tuple of 3 integers, specifying the dilation rate to use for dilated convolution. Can be a single integer to specify the same value for all spatial dimensions. Currently, specifying any dilation_rate value != 1 is incompatible with specifying any stride value != 1.
- activation
- Type: String
Activation function to use. If you don't specify anything, no activation is applied (ie. "linear" activation: a(x) = x). OptActivations
- useBias
- Type: Boolean
Boolean, whether the layer uses a bias vector.
- weightInitializer
- Type: String
Initializer for the kernel weights matrix. OptInitializers
- biasInitializer
- Type: String
Initializer for the bias vector. OptInitializers