Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Fix '@noDerivative' warnings. #208

Merged
merged 1 commit into from
Sep 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Models/ImageClassification/WideResNet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public struct BatchNormConv2DBlock: Layer {
public var norm2: BatchNorm<Float>
public var conv2: Conv2D<Float>
public var shortcut: Conv2D<Float>
let isExpansion: Bool
let dropout: Dropout<Float> = Dropout(probability: 0.3)
@noDerivative let isExpansion: Bool
@noDerivative let dropout: Dropout<Float> = Dropout(probability: 0.3)

public init(
featureCounts: (Int, Int),
Expand Down