<< Deep Learning Deep Learning dnn_getparam >>

IPCV - Image Processing and Computer Vision Toolbox for Scilab >> Deep Learning > dnn_forward

dnn_forward

Runs forward pass to compute output of layer with name layer_name

Syntax

out = dnn_forward(net,img,scalefactor,image_size,rgb_mean,swapRB,layer_name);

Parameters

net :

DNN object loaded in Scilab

img :

Image in Scilab format

input_size :

DNN input size

layer_name :

Name for layer which output is needed to get

scalefactor :

Spatial size for input image

rgb_mean :

Scalar with mean values which are subtracted from channels. Values are intended to be in (mean-R, mean-G, mean-B) order if image has BGR ordering and swapRB is true.

swapRB :

Flag which indicates that swap first and last channels in 3-channel image is necessary.

crop :

flag which indicates whether image will be cropped after resize or not

out :

Output matrix of the results depending on the type of DNN loaded.

Description

This function is used to run forward pass to compute output of layer with name layer_name

Examples

// Under beta test, please visit http://scilabipcv.tritytech.com/ for examples

See also

Authors


Report an issue
<< Deep Learning Deep Learning dnn_getparam >>