Skip to content

Commit

Permalink
Update a minor change.
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliu committed Nov 5, 2023
1 parent 60c5d25 commit d3cd86d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nnc/Optimizer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ fileprivate func _step(
let auxSize = savedAux.count / parameters.count
for (i, parameter) in parameters.enumerated() {
guard !(parameter.untyped.contains { $0.grad == nil }) else { continue }
let aux = [DynamicGraph_Any]()
newParameters.append(parameter)
for j in 0..<auxSize {
newSavedAux.append(savedAux[i * auxSize + j])
Expand Down

0 comments on commit d3cd86d

Please sign in to comment.