# ERROR: MethodError: no method matching \*(::Array{Float32,2}, ::Array{Float32,4})

**URL:** <https://discourse.julialang.org/t/error-methoderror-no-method-matching-array-float32-2-array-float32-4/37906>\
**Category:** Machine Learning\
**Tags:** flux\
**Created:** [April 20, 2020, 3:38pm UTC](https://discourse.julialang.org/t/error-methoderror-no-method-matching-array-float32-2-array-float32-4/37906 "2020-04-20T15:38:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![B0001](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@B0001](https://discourse.julialang.org/u/B0001)\
**Post date:** [April 20, 2020, 3:38pm UTC](https://discourse.julialang.org/t/error-methoderror-no-method-matching-array-float32-2-array-float32-4/37906/1 "2020-04-20T15:38:10Z")

</div>

I receive the above error when running the following on Julia 1.4.0 and 1.4.1:

```julia
using Flux

x = rand(Float32, 2, 2, 256, 10)
Dense(256, 2)(x)

```
