Skip to content

Commit e71d689

Browse files
committed
pkgdown::build_site()
1 parent b52eff4 commit e71d689

File tree

514 files changed

+8815
-11354
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

514 files changed

+8815
-11354
lines changed

R/layer-attention.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,9 @@ layer_multi_head_attention <- function(
130130
...
131131
))
132132
}
133+
134+
# TODO: finish + document: https://www.tensorflow.org/api_docs/python/tf/keras/layers/AdditiveAttention
135+
layer_additive_attention <- function(object, use_scale=TRUE, ...) {
136+
args <- capture_args(match.call())
137+
create_layer(keras$layers$AdditiveAttention, object, args)
138+
}

website/404.html

Lines changed: 9 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/LICENSE-text.html

Lines changed: 9 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/articles/applications.html

Lines changed: 21 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2+
// be compatible with the behavior of Pandoc < 2.8).
3+
document.addEventListener('DOMContentLoaded', function(e) {
4+
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5+
var i, h, a;
6+
for (i = 0; i < hs.length; i++) {
7+
h = hs[i];
8+
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9+
a = h.attributes;
10+
while (a.length > 0) h.removeAttribute(a[0].name);
11+
}
12+
});

0 commit comments

Comments
 (0)