Skip to content

Commit

Permalink
use the more general outputsize
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianM-C committed Feb 27, 2024
1 parent 5dfa5f5 commit d3ebacd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/SymbolicsLuxCoreExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using LuxCore, Symbolics

@register_array_symbolic LuxCore.stateless_apply(
model::LuxCore.AbstractExplicitLayer, x::AbstractArray, ps::Union{NamedTuple, <:AbstractVector}) begin
size = LuxCore.outputsize(model)
size = LuxCore.outputsize(model, x, LuxCore._default_rng())
eltype = Real
end

Expand Down

0 comments on commit d3ebacd

Please sign in to comment.