ConstantPlusLayer

ConstantPlusLayer[]

represents a layer that adds a learnable bias to its input.

ConstantPlusLayer[opts]

includes options for initial bias and other parameters.

Details and Options

Examples

open all close all

Basic Examples  (2)

Create a ConstantPlusLayer:

In[1]:=
Click for copyable input
Out[1]=

Create an initialized ConstantPlusLayer whose input is a vector of length 3:

In[1]:=
Click for copyable input
Out[1]=

Apply the layer to an input vector:

In[2]:=
Click for copyable input
Out[2]=

Scope  (3)

Options  (1)

Properties & Relations  (4)

Possible Issues  (1)

Introduced in 2017
(11.1)