You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2024. It is now read-only.
function (::AbstractLuxDevice)(::LuxCore.AbstractExplicitLayer)
234
-
throw(ArgumentError("Lux layers are stateless and hence don't participate in device transfers. Apply this function on the parameters and states generated using `Lux.setup`."))
233
+
for dev in (LuxCPUDevice, LuxCUDADevice, LuxAMDGPUDevice)
234
+
@evalbegin
235
+
function (::$dev)(::LuxCore.AbstractExplicitLayer)
236
+
throw(ArgumentError("Lux layers are stateless and hence don't participate in device transfers. Apply this function on the parameters and states generated using `Lux.setup`."))
0 commit comments