Closed austinmw closed 4 years ago
Please use F.np.concatenate
@leezu Thanks, that worked! Is F.np.<op>
the new way to do things going forward? Can't find any documentation for this syntax.
@austinmw it's the correct syntax for the experimental numpy support in MXNet 1.x. Sorry for the unclear documentation.
With the upcoming MXNet 2 release, users can directly use np.<op>
inside HybridBlock
and don't need F
anymore. The documentation will be updated accordingly in time for the first "official" MXNet 2 Alpha or Beta release.
Awesome, thanks!
Description
I’m trying to adapt the GoogLeNet/InceptionV1 implementation in the online book d2l.ai to be compatible with hybridization. However, I’m currently facing issues with
mx.np.concatenate
.Error Message
To Reproduce
Steps to reproduce
What have you tried to solve it?
Also tried
return F.concat(p1, p2, p3, p4, dim=1)
which results in a different error:Environment
We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below: