What is an equivalent for vl_nnconv in python?
조회 수: 4 (최근 30일)
이전 댓글 표시
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));
댓글 수: 0
답변 (1개)
Divyajyoti Nayak
2025년 5월 9일
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.
'Install MATLAB Engine API for Python' : https://www.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html
'Getting started with MATLAB Engine API': https://www.mathworks.com/help/matlab/matlab_external/get-started-with-matlab-engine-for-python.html
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!