Skip to content

Commit 8bd0b74

Browse files
AleksMatcopybara-github
authored andcommitted
Replace unicode escaped characters in ipynb files
PiperOrigin-RevId: 854213756
1 parent 36e707f commit 8bd0b74

10 files changed

Lines changed: 93 additions & 93 deletions

File tree

tensorflow_graphics/notebooks/interpolation.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
},
4343
"source": [
4444
"# Interpolation\n",
45-
"\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n",
46-
" \u003ctd\u003e\n",
47-
" \u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/interpolation.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" /\u003eRun in Google Colab\u003c/a\u003e\n",
48-
" \u003c/td\u003e\n",
49-
" \u003ctd\u003e\n",
50-
" \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/interpolation.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n",
51-
" \u003c/td\u003e\n",
52-
"\u003c/table\u003e"
45+
"<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
46+
" <td>\n",
47+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/interpolation.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
48+
" </td>\n",
49+
" <td>\n",
50+
" <a target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/interpolation.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
51+
" </td>\n",
52+
"</table>"
5353
]
5454
},
5555
{
@@ -77,7 +77,7 @@
7777
"id": "TcP7ZpfIsWPA"
7878
},
7979
"source": [
80-
"## Setup \u0026 Imports\n",
80+
"## Setup & Imports\n",
8181
"If Tensorflow Graphics is not installed on your system, the following cell can install the Tensorflow Graphics package for you."
8282
]
8383
},

tensorflow_graphics/notebooks/intrinsics_optimization.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
},
4343
"source": [
4444
"# Camera calibration\n",
45-
"\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n",
46-
" \u003ctd\u003e\n",
47-
" \u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/intrinsics_optimization.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" /\u003eRun in Google Colab\u003c/a\u003e\n",
48-
" \u003c/td\u003e\n",
49-
" \u003ctd\u003e\n",
50-
" \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/intrinsics_optimization.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n",
51-
" \u003c/td\u003e\n",
52-
"\u003c/table\u003e"
45+
"<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
46+
" <td>\n",
47+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/intrinsics_optimization.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
48+
" </td>\n",
49+
" <td>\n",
50+
" <a target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/intrinsics_optimization.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
51+
" </td>\n",
52+
"</table>"
5353
]
5454
},
5555
{
@@ -79,7 +79,7 @@
7979
"id": "7U2aF6a5z7_T"
8080
},
8181
"source": [
82-
"## Setup \u0026 Imports\n",
82+
"## Setup & Imports\n",
8383
"If Tensorflow Graphics is not installed on your system, the following cell can install the Tensorflow Graphics package for you."
8484
]
8585
},

tensorflow_graphics/notebooks/matting.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
},
4343
"source": [
4444
"# Closed Form Matting Energy\n",
45-
"\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n",
46-
" \u003ctd\u003e\n",
47-
" \u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/matting.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" /\u003eRun in Google Colab\u003c/a\u003e\n",
48-
" \u003c/td\u003e\n",
49-
" \u003ctd\u003e\n",
50-
" \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/matting.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n",
51-
" \u003c/td\u003e\n",
52-
"\u003c/table\u003e"
45+
"<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
46+
" <td>\n",
47+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/matting.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
48+
" </td>\n",
49+
" <td>\n",
50+
" <a target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/matting.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
51+
" </td>\n",
52+
"</table>"
5353
]
5454
},
5555
{
@@ -82,7 +82,7 @@
8282
"id": "9iWqeS9qYBAJ"
8383
},
8484
"source": [
85-
"## Setup \u0026 Imports\n",
85+
"## Setup & Imports\n",
8686
"If TensorFlow Graphics is not installed on your system, the following cell can install the TensorFlow Graphics package for you."
8787
]
8888
},
@@ -260,7 +260,7 @@
260260
"id": "INHsXVYHZdIi"
261261
},
262262
"source": [
263-
"## Setup \u0026 run the optimization"
263+
"## Setup & run the optimization"
264264
]
265265
},
266266
{

tensorflow_graphics/notebooks/non_rigid_deformation.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
},
4343
"source": [
4444
"# Non-rigid surface deformation\n",
45-
"\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n",
46-
" \u003ctd\u003e\n",
47-
" \u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/non_rigid_deformation.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" /\u003eRun in Google Colab\u003c/a\u003e\n",
48-
" \u003c/td\u003e\n",
49-
" \u003ctd\u003e\n",
50-
" \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/non_rigid_deformation.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n",
51-
" \u003c/td\u003e\n",
52-
"\u003c/table\u003e"
45+
"<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
46+
" <td>\n",
47+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/non_rigid_deformation.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
48+
" </td>\n",
49+
" <td>\n",
50+
" <a target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/non_rigid_deformation.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
51+
" </td>\n",
52+
"</table>"
5353
]
5454
},
5555
{
@@ -73,7 +73,7 @@
7373
"id": "BSMKlF6nAEPE"
7474
},
7575
"source": [
76-
"## Setup \u0026 Imports\n",
76+
"## Setup & Imports\n",
7777
"\n",
7878
"If Tensorflow Graphics is not installed on your system, the following cell can install the Tensorflow Graphics package for you."
7979
]

tensorflow_graphics/notebooks/reflectance.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
},
4343
"source": [
4444
"# Light interaction with materials\n",
45-
"\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n",
46-
" \u003ctd\u003e\n",
47-
" \u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/reflectance.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" /\u003eRun in Google Colab\u003c/a\u003e\n",
48-
" \u003c/td\u003e\n",
49-
" \u003ctd\u003e\n",
50-
" \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/reflectance.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n",
51-
" \u003c/td\u003e\n",
52-
"\u003c/table\u003e"
45+
"<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
46+
" <td>\n",
47+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/reflectance.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
48+
" </td>\n",
49+
" <td>\n",
50+
" <a target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/reflectance.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
51+
" </td>\n",
52+
"</table>"
5353
]
5454
},
5555
{
@@ -77,7 +77,7 @@
7777
"id": "E87e3hO5SWN9"
7878
},
7979
"source": [
80-
"## Setup \u0026 Imports\n",
80+
"## Setup & Imports\n",
8181
"If Tensorflow Graphics is not installed on your system, the following cell can install the Tensorflow Graphics package for you."
8282
]
8383
},

tensorflow_graphics/notebooks/spherical_harmonics_approximation.ipynb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
},
4343
"source": [
4444
"# Spherical Harmonics Approximation\n",
45-
"\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n",
46-
" \u003ctd\u003e\n",
47-
" \u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/spherical_harmonics_approximation.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" /\u003eRun in Google Colab\u003c/a\u003e\n",
48-
" \u003c/td\u003e\n",
49-
" \u003ctd\u003e\n",
50-
" \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/spherical_harmonics_approximation.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n",
51-
" \u003c/td\u003e\n",
52-
"\u003c/table\u003e"
45+
"<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
46+
" <td>\n",
47+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/spherical_harmonics_approximation.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
48+
" </td>\n",
49+
" <td>\n",
50+
" <a target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/spherical_harmonics_approximation.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
51+
" </td>\n",
52+
"</table>"
5353
]
5454
},
5555
{
@@ -87,7 +87,7 @@
8787
"id": "IT_MsDnVOLq1"
8888
},
8989
"source": [
90-
"## Setup \u0026 Imports\n",
90+
"## Setup & Imports\n",
9191
"If Tensorflow Graphics is not installed on your system, the following cell can install the Tensorflow Graphics package for you."
9292
]
9393
},
@@ -523,7 +523,7 @@
523523
"\n",
524524
"# SH\n",
525525
"l, m = spherical_harmonics.generate_l_m_permutations(\n",
526-
" max_band) # recomputed =\u003e optimize\n",
526+
" max_band) # recomputed => optimize\n",
527527
"l = tf.convert_to_tensor(l)\n",
528528
"m = tf.convert_to_tensor(m)\n",
529529
"l_broadcasted = tf.broadcast_to(l,\n",
@@ -559,7 +559,7 @@
559559
"\n",
560560
"factor = 4.0 * np.pi / (light_image_width * light_image_height)\n",
561561
"gt = tf.einsum(\n",
562-
" \"hwn,uvn-\u003ehwuv\", surface_normal,\n",
562+
" \"hwn,uvn->hwuv\", surface_normal,\n",
563563
" samples_direction_to_light *\n",
564564
" tf.expand_dims(sampled_light_function, axis=-1))\n",
565565
"gt = tf.maximum(gt, 0.0) # removes negative dot products\n",

tensorflow_graphics/notebooks/spherical_harmonics_optimization.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
},
4343
"source": [
4444
"#Spherical Harmonics Optimization\n",
45-
"\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n",
46-
" \u003ctd\u003e\n",
47-
" \u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/spherical_harmonics_optimization.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" /\u003eRun in Google Colab\u003c/a\u003e\n",
48-
" \u003c/td\u003e\n",
49-
" \u003ctd\u003e\n",
50-
" \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/spherical_harmonics_optimization.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n",
51-
" \u003c/td\u003e\n",
52-
"\u003c/table\u003e"
45+
"<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
46+
" <td>\n",
47+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/spherical_harmonics_optimization.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
48+
" </td>\n",
49+
" <td>\n",
50+
" <a target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/spherical_harmonics_optimization.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
51+
" </td>\n",
52+
"</table>"
5353
]
5454
},
5555
{
@@ -78,7 +78,7 @@
7878
"id": "hM73at_pLadB"
7979
},
8080
"source": [
81-
"## Setup \u0026 Imports\n",
81+
"## Setup & Imports\n",
8282
"If Tensorflow Graphics is not installed on your system, the following cell can install the Tensorflow Graphics package for you."
8383
]
8484
},

tensorflow_graphics/projects/neural_voxel_renderer/demo.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@
5656
"\n",
5757
"\n",
5858
"\n",
59-
"\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n",
60-
" \u003ctd\u003e\n",
61-
" \u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/projects/neural_voxel_renderer/demo.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" /\u003eRun in Google Colab\u003c/a\u003e\n",
62-
" \u003c/td\u003e\n",
63-
" \u003ctd\u003e\n",
64-
" \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/projects/neural_voxel_renderer/demo.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n",
65-
" \u003c/td\u003e\n",
66-
"\u003c/table\u003e\n"
59+
"<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
60+
" <td>\n",
61+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/projects/neural_voxel_renderer/demo.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
62+
" </td>\n",
63+
" <td>\n",
64+
" <a target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/projects/neural_voxel_renderer/demo.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
65+
" </td>\n",
66+
"</table>\n"
6767
]
6868
},
6969
{
@@ -164,7 +164,7 @@
164164
"The first input of the network is the scene voxels (object + ground). The object voxels extracted above cover a smaller area in the 3D world, thus they need to be placed in the volume that the network \"sees\" as a scene (and adjust also for the camera elevation).\n",
165165
"\n",
166166
"\n",
167-
" \u003cimg src=https://storage.googleapis.com/tensorflow-graphics/notebooks/neural_voxel_renderer/world_voxel_coords.png width=\"400\"\u003e\n",
167+
" <img src=https://storage.googleapis.com/tensorflow-graphics/notebooks/neural_voxel_renderer/world_voxel_coords.png width=\"400\">\n",
168168
"\n"
169169
]
170170
},
@@ -344,7 +344,7 @@
344344
"source": [
345345
"## Running the Network\n",
346346
" \n",
347-
" \u003cimg src=https://storage.googleapis.com/tensorflow-graphics/notebooks/neural_voxel_renderer/rerender_architecture.png width=\"400\"\u003e\n"
347+
" <img src=https://storage.googleapis.com/tensorflow-graphics/notebooks/neural_voxel_renderer/rerender_architecture.png width=\"400\">\n"
348348
]
349349
},
350350
{

tensorflow_graphics/projects/neural_voxel_renderer/train.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@
4848
"\n",
4949
"This notebook illustrates how to train [Neural Voxel Renderer](https://arxiv.org/abs/1912.04591) (CVPR2020) in Tensorflow 2.\n",
5050
"\n",
51-
"\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n",
52-
" \u003ctd\u003e\n",
53-
" \u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/projects/neural_voxel_renderer/train.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" /\u003eRun in Google Colab\u003c/a\u003e\n",
54-
" \u003c/td\u003e\n",
55-
" \u003ctd\u003e\n",
56-
" \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/projects/neural_voxel_renderer/train.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n",
57-
" \u003c/td\u003e\n",
58-
"\u003c/table\u003e\n"
51+
"<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
52+
" <td>\n",
53+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/graphics/blob/master/tensorflow_graphics/projects/neural_voxel_renderer/train.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
54+
" </td>\n",
55+
" <td>\n",
56+
" <a target=\"_blank\" href=\"https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/projects/neural_voxel_renderer/train.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
57+
" </td>\n",
58+
"</table>\n"
5959
]
6060
},
6161
{
@@ -170,7 +170,7 @@
170170
"def _expand_tfrecords_pattern(tfr_pattern):\n",
171171
" \"\"\"Helper function to expand a tfrecord patter\"\"\"\n",
172172
" def format_shards(m):\n",
173-
" return '{}-?????-of-{:0\u003e5}{}'.format(*m.groups())\n",
173+
" return '{}-?????-of-{:0>5}{}'.format(*m.groups())\n",
174174
" tfr_pattern = re.sub(r'^([^@]+)@(\\d+)([^@]+)$', format_shards, tfr_pattern)\n",
175175
" return tfr_pattern\n",
176176
"\n",

0 commit comments

Comments
 (0)