SwiftstructMLModelSpecification

struct MLModelSpecification.NeuralNetwork.Layer.ConvolutionParameters

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 20

  1. fieldvar message: MLModelSpecification.Proto_ConvolutionLayerParams
  2. initinit(outputChannelCount: Int, kernelChannelCount: Int, groupCount: Int, kernelSize: MLModelSpecification.NeuralNetwork.Extent<Int>, strides: MLModelSpecification.NeuralNetwork.Extent<Int>, padding: MLModelSpecification.NeuralNetwork.Layer.ConvolutionParameters.PaddingKind?) -> MLModelSpecification.NeuralNetwork.Layer.ConvolutionParameters
  3. initinit() -> MLModelSpecification.NeuralNetwork.Layer.ConvolutionParameters
  4. typealiastypealias Message = MLModelSpecification.Proto_ConvolutionLayerParams
  5. varvar bias: MLModelSpecification.NeuralNetwork.WeightParameters? { get set }
  6. varvar customMirror: Mirror { get }
  7. varvar dilationFactor: MLModelSpecification.NeuralNetwork.Extent<Int> { get set }
  8. varvar groupCount: Int { get set }
  9. varvar hasBias: Bool { get set }
  10. varvar isDeconvolution: Bool { get set }
  11. varvar kernelChannelCount: Int { get set }
  12. varvar kernelSize: MLModelSpecification.NeuralNetwork.Extent<Int> { get set }
  13. varvar namedWeights: [(name: String, weights: MLModelSpecification.NeuralNetwork.WeightParameters)] { get }
  14. varvar outputChannelCount: Int { get set }
  15. varvar outputShape: MLModelSpecification.NeuralNetwork.Extent<Int>? { get set }
  16. varvar padding: MLModelSpecification.NeuralNetwork.Layer.ConvolutionParameters.PaddingKind? { get set }
  17. varvar propertyDescriptions: [(name: String, value: String)] { get }
  18. varvar strides: MLModelSpecification.NeuralNetwork.Extent<Int> { get set }
  19. varvar weights: MLModelSpecification.NeuralNetwork.WeightParameters { get set }
  20. varvar weightsShape: [Int] { get }
struct MLModelSpecification.NeuralNetwork.Layer.ConvolutionParameters {
    enum PaddingKind {
        case valid(MLModelSpecification.NeuralNetwork.ValidPaddingParameters)
        case same(MLModelSpecification.NeuralNetwork.SamePaddingParameters)

        var propertyDescriptions: [(name: Swift.String, value: Swift.String)] {
            get
        }

        static func same(asymmetryMode: MLModelSpecification.NeuralNetwork.SamePaddingParameters.AsymmetryMode) -> MLModelSpecification.NeuralNetwork.Layer.ConvolutionParameters.PaddingKind
        static func valid(leadingHeight: Swift.Int, trailingHeight: Swift.Int, leadingWidth: Swift.Int, trailingWidth: Swift.Int) -> MLModelSpecification.NeuralNetwork.Layer.ConvolutionParameters.PaddingKind
    }
    var message: MLModelSpecification.Proto_ConvolutionLayerParams

    init(outputChannelCount: Swift.Int, kernelChannelCount: Swift.Int, groupCount: Swift.Int, kernelSize: MLModelSpecification.NeuralNetwork.Extent<Swift.Int>, strides: MLModelSpecification.NeuralNetwork.Extent<Swift.Int>, padding: MLModelSpecification.NeuralNetwork.Layer.ConvolutionParameters.PaddingKind?)
    init()

    var bias: MLModelSpecification.NeuralNetwork.WeightParameters? {
        get
        set
    }
    var customMirror: Swift.Mirror {
        get
    }
    var dilationFactor: MLModelSpecification.NeuralNetwork.Extent<Swift.Int> {
        get
        set
    }
    var groupCount: Swift.Int {
        get
        set
    }
    var hasBias: Swift.Bool {
        get
        set
    }
    var isDeconvolution: Swift.Bool {
        get
        set
    }
    var kernelChannelCount: Swift.Int {
        get
        set
    }
    var kernelSize: MLModelSpecification.NeuralNetwork.Extent<Swift.Int> {
        get
        set
    }
    var namedWeights: [(name: Swift.String, weights: MLModelSpecification.NeuralNetwork.WeightParameters)] {
        get
    }
    var outputChannelCount: Swift.Int {
        get
        set
    }
    var outputShape: MLModelSpecification.NeuralNetwork.Extent<Swift.Int>? {
        get
        set
    }
    var padding: MLModelSpecification.NeuralNetwork.Layer.ConvolutionParameters.PaddingKind? {
        get
        set
    }
    var propertyDescriptions: [(name: Swift.String, value: Swift.String)] {
        get
    }
    var strides: MLModelSpecification.NeuralNetwork.Extent<Swift.Int> {
        get
        set
    }
    var weights: MLModelSpecification.NeuralNetwork.WeightParameters {
        get
        set
    }
    var weightsShape: [Swift.Int] {
        get
    }
}