フィルターのクリア

How to know where a class and its members are located ?

1 回表示 (過去 30 日間)
RuiQi
RuiQi 2016 年 12 月 8 日
コメント済み: RuiQi 2016 年 12 月 8 日
How do I locate where this file / function is ? dagnn
% Add softmax loss layer.
pFc8 = (arrayfun(@(a) strcmp(a.name, 'predcls'), net.layers)==1);
net.addLayer('losscls',dagnn.Loss(), ...
{net.layers(pFc8).outputs{1},'label'}, ...
'losscls',{});
I want to specifically know the classes it has like dagnn.Loss(). I tried which dagnn which does not work but help dagnn works. Why does which dagnn not work ? help dagnn works but it does not tell me everything.
>> help dagnn
Contents of dagnn:
dagnn - Directed acyclic graph neural network
AffineGridGenerator - dagnn.AFFINEGRIDGENERATIOR Generate an affine grid for bilinear resampling
BilinearSampler - Wrapper for BilinearSampler block:
Crop - DagNN cropping layer.
ElementWise - DagNN layers that operate at individual spatial locations
Layer - Base class for a network layer in a DagNN
Sum - DagNN sum layer
UniformScalingGridGenerator - dagnn.UNIFORMSCALINGGRIDGENERATOR Generate an iso-tropic scaling + translation

採用された回答

Walter Roberson
Walter Roberson 2016 年 12 月 8 日
  2 件のコメント
RuiQi
RuiQi 2016 年 12 月 8 日
編集済み: RuiQi 2016 年 12 月 8 日
Thanks ! I am aware of that but the website doesn't tell me anything about the function. I want to read the code in dagnn and its members.. And i'd like to know where it is stored. Im not sure why 'which' is not telling me where its stored at
RuiQi
RuiQi 2016 年 12 月 8 日
Ok so I just learnt something today. It turns out the classes were 'package folders' so I should read up on it first https://www.mathworks.com/help/matlab/matlab_oop/scoping-classes-with-packages.html

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by