|
| virtual void | forwardSlice (const float *, float *, int, size_t, int, int) const |
| |
| virtual void | forwardSlice (const int *, const int *, int *, int, size_t, int, int) const |
| |
| virtual void | forwardSlice (const int8_t *, const int8_t *, int8_t *, int, size_t, int, int) const |
| |
| virtual ActivationFunc | getActivationFunc (int, std::vector< float > &) const |
| |
| virtual int | getLayouts (const std::vector< DataLayout > &actualInputs, std::vector< DataLayout > &desiredInputs, const int requiredOutputs, std::vector< DataLayout > &outputs) const CV_OVERRIDE |
| |
| | Layer () |
| |
| | Layer (const LayerParams ¶ms) |
| | name、type、blobs フィールドのみを初期化する。
|
| |
| virtual | ~Layer () |
| |
| virtual bool | alwaysSupportInplace () const |
| |
| virtual std::ostream & | dump (std::ostream &strm, int indent, bool comma) const |
| |
| virtual std::ostream & | dumpAttrs (std::ostream &strm, int indent) const |
| |
| virtual bool | dynamicOutputShapes () const |
| |
| virtual void | finalize (const std::vector< Mat * > &input, std::vector< Mat > &output) |
| | 入力・出力・blobに応じて内部パラメータを計算し設定する。
|
| |
| std::vector< Mat > | finalize (const std::vector< Mat > &inputs) |
| | これは利便性のために提供されているオーバーロードされたメンバ関数である。上記の関数とは受け取る引数のみが異なる。
|
| |
| void | finalize (const std::vector< Mat > &inputs, std::vector< Mat > &outputs) |
| | これは利便性のために提供されているオーバーロードされたメンバ関数である。上記の関数とは受け取る引数のみが異なる。
|
| |
| virtual void | finalize (InputArrayOfArrays inputs, OutputArrayOfArrays outputs) |
| | 入力・出力・blobに応じて内部パラメータを計算し設定する。
|
| |
| virtual void | forward (InputArrayOfArrays inputs, OutputArrayOfArrays outputs, OutputArrayOfArrays internals) |
| | input blobを与えて出力 blobs を計算する。
|
| |
| virtual void | forward (std::vector< Mat * > &input, std::vector< Mat > &output, std::vector< Mat > &internals) |
| | input blobを与えて出力 blobs を計算する。
|
| |
| void | forward_fallback (InputArrayOfArrays inputs, OutputArrayOfArrays outputs, OutputArrayOfArrays internals) |
| | input blobを与えて出力 blobs を計算する。
|
| |
| virtual int64 | getFLOPS (const std::vector< MatShape > &inputs, const std::vector< MatShape > &outputs) const |
| |
| virtual bool | getMemoryShapes (const std::vector< MatShape > &inputs, const int requiredOutputs, std::vector< MatShape > &outputs, std::vector< MatShape > &internals) const |
| |
| virtual void | getScaleShift (Mat &scale, Mat &shift) const |
| | チャンネルごとの乗算と加算を行うレイヤーのパラメータを返す。
|
| |
| virtual void | getScaleZeropoint (float &scale, int &zeropoint) const |
| | レイヤーのスケールとゼロポイントを返す。
|
| |
| virtual void | getTypes (const std::vector< MatType > &inputs, const int requiredOutputs, const int requiredInternals, std::vector< MatType > &outputs, std::vector< MatType > &internals) const |
| |
| virtual Ptr< BackendNode > | initCann (const std::vector< Ptr< BackendWrapper > > &inputs, const std::vector< Ptr< BackendWrapper > > &outputs, const std::vector< Ptr< BackendNode > > &nodes) |
| | CANNバックエンドノードを返す。
|
| |
| virtual Ptr< BackendNode > | initCUDA (void *context, const std::vector< Ptr< BackendWrapper > > &inputs, const std::vector< Ptr< BackendWrapper > > &outputs) |
| | CUDAバックエンドノードを返す。
|
| |
| virtual Ptr< BackendNode > | initNgraph (const std::vector< Ptr< BackendWrapper > > &inputs, const std::vector< Ptr< BackendNode > > &nodes) |
| |
| virtual Ptr< BackendNode > | initTimVX (void *timVxInfo, const std::vector< Ptr< BackendWrapper > > &inputsWrapper, const std::vector< Ptr< BackendWrapper > > &outputsWrapper, bool isLast) |
| | TimVXバックエンドノードを返す。
|
| |
| virtual Ptr< BackendNode > | initVkCom (const std::vector< Ptr< BackendWrapper > > &inputs, std::vector< Ptr< BackendWrapper > > &outputs) |
| |
| virtual Ptr< BackendNode > | initWebnn (const std::vector< Ptr< BackendWrapper > > &inputs, const std::vector< Ptr< BackendNode > > &nodes) |
| |
| virtual int | inputNameToIndex (String inputName) |
| | 入力配列における入力blobのインデックスを返す。
|
| |
| virtual bool | isDataShuffling () const |
| |
| virtual int | outputNameToIndex (const String &outputName) |
| | 出力配列における出力blobのインデックスを返す。
|
| |
| void | run (const std::vector< Mat > &inputs, std::vector< Mat > &outputs, std::vector< Mat > &internals) |
| | レイヤーを確保し出力を計算する。
|
| |
| virtual bool | setActivation (const Ptr< ActivationLayer > &layer) |
| | 後続の活性化レイヤーをこのレイヤーに結合しようとする。すなわち、部分的なケースでレイヤー融合を行う。
|
| |
| void | setParamsFrom (const LayerParams ¶ms) |
| | name、type、blobs フィールドのみを初期化する。
|
| |
| virtual std::vector< Ptr< Graph > > * | subgraphs () const |
| |
| virtual bool | supportBackend (int backendId) |
| | 計算に特定のバックエンドをレイヤーがサポートしているか問い合わせる。
|
| |
| virtual bool | tryFuse (Ptr< Layer > &top) |
| | 現在のレイヤーを次のレイヤーと融合しようとする。
|
| |
| virtual void | unsetAttached () |
| | 特定のレイヤーに結合されているすべてのレイヤーを「切り離す」。
|
| |
| virtual bool | updateMemoryShapes (const std::vector< MatShape > &inputs) |
| |
| | Algorithm () |
| |
| virtual | ~Algorithm () |
| |
| virtual void | clear () |
| | アルゴリズムの状態をクリアする。
|
| |
| virtual bool | empty () const |
| | Algorithm が空の場合(たとえば開始直後や読み込みに失敗した後)に true を返す。
|
| |
| virtual String | getDefaultName () const |
| |
| virtual void | read (const FileNode &fn) |
| | ファイルストレージからアルゴリズムの引数を読み込む。
|
| |
| virtual void | save (const String &filename) const |
| |
| virtual void | write (FileStorage &fs) const |
| | アルゴリズムの引数をファイルストレージに保存する。
|
| |
| void | write (FileStorage &fs, const String &name) const |
| |