Skip to content

Commit 1a7ba59

Browse files
committed
Update TensorFlow documentation (2.4.0)
1 parent be1ec85 commit 1a7ba59

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,9 +798,9 @@ credits = [
798798
'http://tcl.tk/software/tcltk/license.html'
799799
], [
800800
'TensorFlow',
801-
'2019 The TensorFlow Authors',
801+
'2020 The TensorFlow Authors',
802802
'CC BY',
803-
'https://creativecommons.org/licenses/by/3.0/'
803+
'https://creativecommons.org/licenses/by/4.0/'
804804
], [
805805
'Terraform',
806806
'2018 HashiCorp',

lib/docs/scrapers/tensorflow/tensorflow.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,15 @@ class Tensorflow < UrlScraper
1515

1616
options[:attribution] = <<-HTML
1717
&copy; 2020 The TensorFlow Authors. All rights reserved.<br>
18-
Licensed under the Creative Commons Attribution License 3.0.<br>
18+
Licensed under the Creative Commons Attribution License 4.0.<br>
1919
Code samples licensed under the Apache 2.0 License.
2020
HTML
2121

22+
version '2.4' do
23+
self.release = "#{version}.0"
24+
self.base_url = "https://www.tensorflow.org/versions/r#{version}/api_docs/python/tf"
25+
end
26+
2227
version '2.3' do
2328
self.release = "#{version}.0"
2429
self.base_url = "https://www.tensorflow.org/versions/r#{version}/api_docs/python/tf"

lib/docs/scrapers/tensorflow/tensorflow_cpp.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ class TensorflowCpp < Tensorflow
33
self.name = 'TensorFlow C++'
44
self.slug = 'tensorflow_cpp'
55

6+
version '2.4' do
7+
self.release = "#{version}.0"
8+
self.base_url = "https://www.tensorflow.org/versions/r#{version}/api_docs/cc"
9+
end
10+
611
version '2.3' do
712
self.release = "#{version}.0"
813
self.base_url = "https://www.tensorflow.org/versions/r#{version}/api_docs/cc"

0 commit comments

Comments
 (0)