Skip to content

Commit

Permalink
Update function.go
Browse files Browse the repository at this point in the history
  • Loading branch information
itsubaki authored Nov 26, 2023
1 parent c8f37f6 commit 83b7c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variable/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func (f *Function) First(x ...*Variable) *Variable {
return f.Forward(x...)[0]
}

// Apply applies the function
// Forward applies the function
func (f *Function) Forward(x ...*Variable) []*Variable {
y := f.Forwarder.Forward(x...)
if !Config.EnableBackprop {
Expand Down

0 comments on commit 83b7c5e

Please sign in to comment.