フィルターのクリア

How to convert a trained ANN to function so i can call them easily when testing the network with new inputs?

1 回表示 (過去 30 日間)
Hi, May i know how to convert a trained ANN to function so i can call them easily when testing the network with new inputs? I am aware that there's a way to convert the trained ANN to function when using the training manager. however, i have a few trained network saved at workspace,for eg: the trained network is called 'net' how do i re-wrap it as a function call y=function_net(x)?
Then when i want to pass in the input x, i can just use the function and it will return the output y from any script?
  2 件のコメント
KSSV
KSSV 2018 年 8 月 8 日
rename your net to _function_net :)
Chin Kui Ku
Chin Kui Ku 2018 年 8 月 8 日
Thanks, this is just to rename at the workspace and i will need to load the workspace before i can use it correct?
I am looking for a way to save it as a function script, so i can call it at different script.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by