File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
tools/tensorflow_docs/tools/nblint/style Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 589
589
"accelerator" : " TPU" ,
590
590
"colab" : {
591
591
"name" : " tpu.ipynb" ,
592
- "toc_visible" : true
592
+ "toc_visible" : true ,
593
+ "machine_shape" : " hm" ,
594
+ "gpuType" : " V28"
593
595
},
594
596
"kernelspec" : {
595
597
"display_name" : " Python 3" ,
Original file line number Diff line number Diff line change @@ -81,9 +81,7 @@ def not_translation(args):
81
81
82
82
# Button checks
83
83
84
- # Look for class="tfo-notebook-buttons" (CSS used on website versions) or the
85
- # run-in-colab logo (for notebooks that stick to GitHub/Colab).
86
- is_button_cell_re = re .compile (r"class.*tfo-notebook-buttons|colab_logo_32px\.png" )
84
+ is_button_cell_re = re .compile (r"class.*tfo-notebook-buttons" )
87
85
88
86
89
87
def get_arg_or_fail (user_args , arg_name , arg_fmt ):
You can’t perform that action at this time.
0 commit comments