How to see matlab code for any inbuilt function

I used bilstm layer. I want to see the code for modification. please guide.

 채택된 답변

Dinesh
Dinesh 2024년 1월 29일
Hi Shilpa.
If the source code is available publicly, then you can use the following command in the MATLAB command line:
>> edit <function_name>
It will open up the file where you can either see the documentation or the source code.
If it shows documentation, then it means that the source code is unavailable publicly. For example, if you try to use the "edit sort" command, then you will see something like the following:

댓글 수: 7

Sir
I tried as per suggestion. but i can't see the code. I can see only initilization of differnt parammeters there.Is there other way to find out code.
@Shilpa Sonawane, then it means that the source code is private. It won't be visible.
The initialization of the parameters is the code.
Oh okay. I thought that meant the function and its parameters in code comments like the image I attached.
how to write custom code for bilstmlayer?
please guide
You would have to use the custom layers interface; https://www.mathworks.com/help/deeplearning/custom-layers.html in order to write custom code for something that operates like bilstmLayer

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

2024년 1월 29일

댓글:

2024년 1월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by