Learn R Programming

LBBNN (version 0.1.2)

std_prior: Generate prior standard deviation for weights and biases of either linear or convolutional layers.

Description

A function to generate prior standard deviations for each weight and bias in an LBBNN layer.

Usage

std_prior(x)

Value

a numeric to be added to either (out_shape,in_shape) in case of linear layers or (out_channels,in_channels,kernel0,kernel1) in case of convolutional layers

Arguments

x

A number greater than 0.