Clear Filters
Clear Filters

What is an equivalent for vl_nnconv in python?

3 views (last 30 days)
Prb
Prb on 8 May 2019
Answered: surya venu on 17 Jul 2024 at 6:02
Hi I want to translate the below set of code in python. What can I use only with the help of numpy or pandas (without using tensorflow or pytorch)
B_forward = vl_nnconv(single(B_forward),sign(Filters{WeightLayerIndex}),[],'pad',1,'stride',ConvStride(WeightLayerIndex));

Answers (1)

surya venu
surya venu on 17 Jul 2024 at 6:02
Hi,
If you are comfortable coding with MATLAB, you can make use of MATLAB engine API for Python.
With this feature, you will be able to call MATLSB functions from Python.
To know more about MATLAB engine API, check out:
Hope it helps.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!