Function Layer.this

Constructs a new layer.

this (
  Layer[] deps,
  Operation outExpr,
  Operation trainOutExpr,
  Parameter[] params
);

Parameters

NameDescription
deps Other Layer objects that this layer depends on.
outExpr The output expression to use at test time.
trainOutExpr The output expression to use at train time.
params Any parameters managed by this layer.