Loading TOC...

cntk:image-scaler

cntk:image-scaler(
   $x as cntk:variable,
   $scaler as xs:float,
   $biases as xs:float*,
   $name as xs:string
) as cntk:function

Summary

Alteration of image by scaling its individual values.

Parameters
$x Any Function that outputs a tensor.
$scaler Scalar channel factor.
$biases Bias values for each channel.
$name The name of the function instance in the network.

Example

  let $shape := cntk:shape((16,12,3))
  let $input := cntk:input-variable($shape, "float")
  return cntk:image-scaler($input, 0.5, (2, 3.1, 0.22), "image-scaler")
  => cntk:function(Composite ImageScaler (Input(Uid(Input973),
  Shape([16 x 12 x 3]), Dynamic Axes([Sequence Axis(Default Dynamic Axis),
  Batch Axis(Default Batch Axis)]))))

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.