View Source Evision.DNN.Layer (Evision v0.1.9)

Link to this section Summary

Functions

Raising version of finalize/2.

Computes and sets internal parameters according to inputs, outputs and blobs.

Computes and sets internal parameters according to inputs, outputs and blobs.

Raising version of get_blobs/1.

Raising version of get_name/1.

Raising version of get_type/1.

Returns index of output blob in output array.

Raising version of run/3.

Allocates layer and computes output.

Allocates layer and computes output.

Raising version of set_blobs/2.

Link to this section Functions

Raising version of finalize/2.

Link to this function

finalize!(self, inputs, opts)

View Source

Raising version of finalize/3.

Computes and sets internal parameters according to inputs, outputs and blobs.

Positional Arguments
  • inputs: [Evision.Mat]
Return
  • outputs: [Evision.Mat].

    vector of already allocated output blobs

If this method is called after network has allocated all memory for input and output blobs and before inferencing.

Python prototype (for reference):

finalize(inputs[, outputs]) -> outputs
Link to this function

finalize(self, inputs, opts)

View Source

Computes and sets internal parameters according to inputs, outputs and blobs.

Positional Arguments
  • inputs: [Evision.Mat]
Return
  • outputs: [Evision.Mat].

    vector of already allocated output blobs

If this method is called after network has allocated all memory for input and output blobs and before inferencing.

Python prototype (for reference):

finalize(inputs[, outputs]) -> outputs

Raising version of get_blobs/1.

Raising version of get_name/1.

Link to this function

get_preferableTarget!(self)

View Source

Raising version of get_preferableTarget/1.

Link to this function

get_preferableTarget(self)

View Source

Raising version of get_type/1.

Link to this function

outputNameToIndex!(self, outputName)

View Source

Raising version of outputNameToIndex/2.

Link to this function

outputNameToIndex(self, outputName)

View Source

Returns index of output blob in output array.

Positional Arguments

@see inputNameToIndex()

Python prototype (for reference):

outputNameToIndex(outputName) -> retval
Link to this function

run!(self, inputs, internals)

View Source

Raising version of run/3.

Link to this function

run!(self, inputs, internals, opts)

View Source

Raising version of run/4.

Link to this function

run(self, inputs, internals)

View Source

Allocates layer and computes output.

Positional Arguments
  • inputs: [Evision.Mat]
Return
  • outputs: [Evision.Mat].
  • internals: [Evision.Mat]

@deprecated This method will be removed in the future release.

Python prototype (for reference):

run(inputs, internals[, outputs]) -> outputs, internals
Link to this function

run(self, inputs, internals, opts)

View Source

Allocates layer and computes output.

Positional Arguments
  • inputs: [Evision.Mat]
Return
  • outputs: [Evision.Mat].
  • internals: [Evision.Mat]

@deprecated This method will be removed in the future release.

Python prototype (for reference):

run(inputs, internals[, outputs]) -> outputs, internals

Raising version of set_blobs/2.