What is an equivalent for vl_nnconv in python?

4 visualizaciones (últimos 30 días)
Prb
Prb el 8 de Mayo de 2019
Respondida: Divyajyoti Nayak el 9 de Mayo de 2025
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));

Respuestas (1)

Divyajyoti Nayak
Divyajyoti Nayak el 9 de Mayo de 2025
Hi @Prb,
MATLAB commands can be run in python by using the 'MATLAB Engine API' for Python. Here's some documentation to help intall the 'MATLAB Engine API' and getting started with using to write MATLAB code in python.
Hope this helps!

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by