The sequence is specified as a string which may contain the following characters: a: add previous_value n: apply normalization d: apply dropout z: zero add
1 2 3 4 5 6 7 8 9 10 | layer_prepost_process(
resid,
x,
sequence = NULL,
dropout = 0,
norm_type = "layer",
depth = tail(shape_list2(x), 1),
eps = 1e-09,
name = NULL
)
|
For example, if sequence=="dna", then the output is previous_value + normalize(dropout(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.