ConstantPlusLayer

ConstantPlusLayer has been phased out in favor of NetGraph.

ConstantPlusLayer[]

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

ConstantPlusLayer[opts]

includes options for initial bias and other parameters.

Details

  • ConstantPlusLayer[] evaluates to the equivalent NetGraph.

Examples

open allclose all

Basic Examples  (1)

Create a net that adds a learnable bias to its input:

Options  (1)

"Biases"  (1)

Specify an initial bias:

Apply the layer to an input vector:

Wolfram Research (2017), ConstantPlusLayer, Wolfram Language function, https://reference.wolfram.com/language/ref/ConstantPlusLayer.html (updated 2020).

Text

Wolfram Research (2017), ConstantPlusLayer, Wolfram Language function, https://reference.wolfram.com/language/ref/ConstantPlusLayer.html (updated 2020).

CMS

Wolfram Language. 2017. "ConstantPlusLayer." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/ConstantPlusLayer.html.

APA

Wolfram Language. (2017). ConstantPlusLayer. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ConstantPlusLayer.html

BibTeX

@misc{reference.wolfram_2024_constantpluslayer, author="Wolfram Research", title="{ConstantPlusLayer}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ConstantPlusLayer.html}", note=[Accessed: 13-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_constantpluslayer, organization={Wolfram Research}, title={ConstantPlusLayer}, year={2020}, url={https://reference.wolfram.com/language/ref/ConstantPlusLayer.html}, note=[Accessed: 13-November-2024 ]}