1313
1414 < script data-cfasync ="false ">
1515 document . documentElement . dataset . mode = localStorage . getItem ( "mode" ) || "" ;
16- document . documentElement . dataset . theme = localStorage . getItem ( "theme" ) || "light " ;
16+ document . documentElement . dataset . theme = localStorage . getItem ( "theme" ) || "" ;
1717 </ script >
1818
1919 <!-- Loaded before other Sphinx assets -->
20- < link href ="../_static/styles/theme.css?digest=8d27b9dea8ad943066ae " rel ="stylesheet " />
21- < link href ="../_static/styles/bootstrap.css?digest=8d27b9dea8ad943066ae " rel ="stylesheet " />
22- < link href ="../_static/styles/pydata-sphinx-theme.css?digest=8d27b9dea8ad943066ae " rel ="stylesheet " />
20+ < link href ="../_static/styles/theme.css?digest=dfe6caa3a7d634c4db9b " rel ="stylesheet " />
21+ < link href ="../_static/styles/bootstrap.css?digest=dfe6caa3a7d634c4db9b " rel ="stylesheet " />
22+ < link href ="../_static/styles/pydata-sphinx-theme.css?digest=dfe6caa3a7d634c4db9b " rel ="stylesheet " />
2323
2424
25- < link href ="../_static/vendor/fontawesome/6.5.1 /css/all.min.css?digest=8d27b9dea8ad943066ae " rel ="stylesheet " />
26- < link rel ="preload " as ="font " type ="font/woff2 " crossorigin href ="../_static/vendor/fontawesome/6.5.1 /webfonts/fa-solid-900.woff2 " />
27- < link rel ="preload " as ="font " type ="font/woff2 " crossorigin href ="../_static/vendor/fontawesome/6.5.1 /webfonts/fa-brands-400.woff2 " />
28- < link rel ="preload " as ="font " type ="font/woff2 " crossorigin href ="../_static/vendor/fontawesome/6.5.1 /webfonts/fa-regular-400.woff2 " />
25+ < link href ="../_static/vendor/fontawesome/6.5.2 /css/all.min.css?digest=dfe6caa3a7d634c4db9b " rel ="stylesheet " />
26+ < link rel ="preload " as ="font " type ="font/woff2 " crossorigin href ="../_static/vendor/fontawesome/6.5.2 /webfonts/fa-solid-900.woff2 " />
27+ < link rel ="preload " as ="font " type ="font/woff2 " crossorigin href ="../_static/vendor/fontawesome/6.5.2 /webfonts/fa-brands-400.woff2 " />
28+ < link rel ="preload " as ="font " type ="font/woff2 " crossorigin href ="../_static/vendor/fontawesome/6.5.2 /webfonts/fa-regular-400.woff2 " />
2929
30- < link rel ="stylesheet " type ="text/css " href ="../_static/pygments.css?v=a746c00c " />
31- < link rel ="stylesheet " type ="text/css " href ="../_static/styles/sphinx-book-theme.css?v=384b581d " />
30+ < link rel ="stylesheet " type ="text/css " href ="../_static/pygments.css?v=8f2a1f02 " />
31+ < link rel ="stylesheet " type ="text/css " href ="../_static/styles/sphinx-book-theme.css?v=eba8b062 " />
3232
3333 <!-- Pre-loaded scripts that we'll load fully later -->
34- < link rel ="preload " as ="script " href ="../_static/scripts/bootstrap.js?digest=8d27b9dea8ad943066ae " />
35- < link rel ="preload " as ="script " href ="../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae " />
36- < script src ="../_static/vendor/fontawesome/6.5.1 /js/all.min.js?digest=8d27b9dea8ad943066ae "> </ script >
34+ < link rel ="preload " as ="script " href ="../_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b " />
35+ < link rel ="preload " as ="script " href ="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b " />
36+ < script src ="../_static/vendor/fontawesome/6.5.2 /js/all.min.js?digest=dfe6caa3a7d634c4db9b "> </ script >
3737
3838 < script src ="../_static/documentation_options.js?v=9eb32ce0 "> </ script >
3939 < script src ="../_static/doctools.js?v=9a2dae69 "> </ script >
4040 < script src ="../_static/sphinx_highlight.js?v=dc90522c "> </ script >
41- < script src ="../_static/scripts/sphinx-book-theme.js?v=efea14e4 "> </ script >
41+ < script src ="../_static/scripts/sphinx-book-theme.js?v=887ef09a "> </ script >
4242 < script > DOCUMENTATION_OPTIONS . pagename = '_modules/compressai' ; </ script >
4343 < link rel ="index " title ="Index " href ="../genindex.html " />
4444 < link rel ="search " title ="Search " href ="../search.html " />
5151
5252
5353
54- < a id ="pst-skip-link " class ="skip-link " href ="#main-content "> Skip to main content</ a >
54+ < div id ="pst-skip-link " class ="skip-link d-print-none " > < a href ="#main-content "> Skip to main content</ a > </ div >
5555
5656 < div id ="pst-scroll-pixel-helper "> </ div >
5757
5858 < button type ="button " class ="btn rounded-pill " id ="pst-back-to-top ">
59- < i class ="fa-solid fa-arrow-up "> </ i >
60- Back to top
61- </ button >
59+ < i class ="fa-solid fa-arrow-up "> </ i > Back to top</ button >
6260
6361
6462 < input type ="checkbox "
6563 class ="sidebar-toggle "
66- name ="__primary "
67- id ="__primary "/>
68- < label class ="overlay overlay-primary " for ="__primary "> </ label >
64+ id ="pst-primary-sidebar-checkbox "/>
65+ < label class ="overlay overlay-primary " for ="pst-primary-sidebar-checkbox "> </ label >
6966
7067 < input type ="checkbox "
7168 class ="sidebar-toggle "
72- name ="__secondary "
73- id ="__secondary "/>
74- < label class ="overlay overlay-secondary " for ="__secondary "> </ label >
69+ id ="pst-secondary-sidebar-checkbox "/>
70+ < label class ="overlay overlay-secondary " for ="pst-secondary-sidebar-checkbox "> </ label >
7571
7672 < div class ="search-button__wrapper ">
7773 < div class ="search-button__overlay "> </ div >
9389 < span class ="search-button__kbd-shortcut "> < kbd class ="kbd-shortcut__modifier "> Ctrl</ kbd > +< kbd > K</ kbd > </ span >
9490</ form > </ div >
9591 </ div >
92+
93+ < div class ="pst-async-banner-revealer d-none ">
94+ < aside id ="bd-header-version-warning " class ="d-none d-print-none " aria-label ="Version warning "> </ aside >
95+ </ div >
96+
9697
97- < header class ="bd-header navbar navbar-expand-lg bd-navbar ">
98+ < header class ="bd-header navbar navbar-expand-lg bd-navbar d-print-none ">
9899 </ header >
99100
100101
120121 < div class ="sidebar-primary-item ">
121122
122123
124+
125+
123126
124127< a class ="navbar-brand logo " href ="../index.html ">
125128
141144
142145 < script >
143146 document . write ( `
144- <button class="btn navbar-btn search-button-field search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
147+ <button class="btn search-button-field search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
145148 <i class="fa-solid fa-magnifying-glass"></i>
146149 <span class="search-button__default-text">Search</span>
147150 <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
199202
200203 </ div >
201204
202- < main id ="main-content " class ="bd-main ">
205+ < main id ="main-content " class ="bd-main " role =" main " >
203206
204207
205208
208211 < div class ="bd-content ">
209212 < div class ="bd-article-container ">
210213
211- < div class ="bd-header-article ">
214+ < div class ="bd-header-article d-print-none ">
212215< div class ="header-article-items header-article__inner ">
213216
214217 < div class ="header-article-items__start ">
215218
216- < div class ="header-article-item "> < label class ="sidebar-toggle primary-toggle btn btn-sm " for =" __primary " title ="Toggle primary sidebar " data-bs-placement ="bottom " data-bs-toggle ="tooltip ">
219+ < div class ="header-article-item "> < button class ="sidebar-toggle primary-toggle btn btn-sm " title ="Toggle primary sidebar " data-bs-placement ="bottom " data-bs-toggle ="tooltip ">
217220 < span class ="fa-solid fa-bars "> </ span >
218- </ label > </ div >
221+ </ button > </ div >
219222
220223 </ div >
221224
244247
245248< script >
246249document . write ( `
247- <button class="btn btn-sm navbar-btn theme-switch-button" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
248- <span class="theme-switch nav-link" data-mode="light"><i class=" fa-solid fa-sun fa-lg"></i></span >
249- <span class="theme-switch nav-link" data-mode="dark"><i class=" fa-solid fa-moon fa-lg"></i></span >
250- <span class="theme-switch nav-link" data-mode="auto"><i class=" fa-solid fa-circle-half-stroke fa-lg"></i></span >
250+ <button class="btn btn-sm nav-link pst- navbar-icon theme-switch-button" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
251+ <i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light" ></i>
252+ <i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark" ></i>
253+ <i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto" ></i>
251254 </button>
252255` ) ;
253256</ script >
254257
255258
256259< script >
257260document . write ( `
258- <button class="btn btn-sm navbar-btn search-button search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
261+ <button class="btn btn-sm pst- navbar-icon search-button search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
259262 <i class="fa-solid fa-magnifying-glass fa-lg"></i>
260263 </button>
261264` ) ;
@@ -315,7 +318,7 @@ <h1>Source code for compressai</h1><div class="highlight"><pre>
315318< span class ="c1 "> # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF</ span >
316319< span class ="c1 "> # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</ span >
317320
318- < span class ="kn "> from</ span > < span class ="nn "> compressai</ span > < span class ="kn "> import</ span > < span class ="p "> (</ span >
321+ < span class ="kn "> from</ span > < span class =" w " > </ span > < span class ="nn "> compressai</ span > < span class =" w " > </ span > < span class ="kn "> import</ span > < span class ="p "> (</ span >
319322 < span class ="n "> datasets</ span > < span class ="p "> ,</ span >
320323 < span class ="n "> entropy_models</ span > < span class ="p "> ,</ span >
321324 < span class ="n "> latent_codecs</ span > < span class ="p "> ,</ span >
@@ -331,15 +334,15 @@ <h1>Source code for compressai</h1><div class="highlight"><pre>
331334< span class ="p "> )</ span >
332335
333336< span class ="k "> try</ span > < span class ="p "> :</ span >
334- < span class ="kn "> from</ span > < span class ="nn "> .version</ span > < span class ="kn "> import</ span > < span class ="n "> __version__</ span >
337+ < span class ="kn "> from</ span > < span class =" w " > </ span > < span class ="nn "> .version</ span > < span class =" w " > </ span > < span class ="kn "> import</ span > < span class ="n "> __version__</ span >
335338< span class ="k "> except</ span > < span class ="ne "> ImportError</ span > < span class ="p "> :</ span >
336339 < span class ="k "> pass</ span >
337340
338341< span class ="n "> _entropy_coder</ span > < span class ="o "> =</ span > < span class ="s2 "> "ans"</ span >
339342< span class ="n "> _available_entropy_coders</ span > < span class ="o "> =</ span > < span class ="p "> [</ span > < span class ="n "> _entropy_coder</ span > < span class ="p "> ]</ span >
340343
341344< span class ="k "> try</ span > < span class ="p "> :</ span >
342- < span class ="kn "> import</ span > < span class ="nn "> range_coder</ span >
345+ < span class ="kn "> import</ span > < span class =" w " > </ span > < span class ="nn "> range_coder</ span >
343346
344347 < span class ="n "> _available_entropy_coders</ span > < span class ="o "> .</ span > < span class ="n "> append</ span > < span class ="p "> (</ span > < span class ="s2 "> "rangecoder"</ span > < span class ="p "> )</ span >
345348< span class ="k "> except</ span > < span class ="ne "> ImportError</ span > < span class ="p "> :</ span >
@@ -348,7 +351,7 @@ <h1>Source code for compressai</h1><div class="highlight"><pre>
348351
349352< div class ="viewcode-block " id ="set_entropy_coder ">
350353< a class ="viewcode-back " href ="../compressai.html#compressai.set_entropy_coder "> [docs]</ a >
351- < span class ="k "> def</ span > < span class ="nf "> set_entropy_coder</ span > < span class ="p "> (</ span > < span class ="n "> entropy_coder</ span > < span class ="p "> ):</ span >
354+ < span class ="k "> def</ span > < span class =" w " > </ span > < span class ="nf "> set_entropy_coder</ span > < span class ="p "> (</ span > < span class ="n "> entropy_coder</ span > < span class ="p "> ):</ span >
352355< span class ="w "> </ span > < span class ="sd "> """</ span >
353356< span class ="sd "> Specifies the default entropy coder used to encode the bit-streams.</ span >
354357
@@ -369,7 +372,7 @@ <h1>Source code for compressai</h1><div class="highlight"><pre>
369372
370373< div class ="viewcode-block " id ="get_entropy_coder ">
371374< a class ="viewcode-back " href ="../compressai.html#compressai.get_entropy_coder "> [docs]</ a >
372- < span class ="k "> def</ span > < span class ="nf "> get_entropy_coder</ span > < span class ="p "> ():</ span >
375+ < span class ="k "> def</ span > < span class =" w " > </ span > < span class ="nf "> get_entropy_coder</ span > < span class ="p "> ():</ span >
373376< span class ="w "> </ span > < span class ="sd "> """</ span >
374377< span class ="sd "> Return the name of the default entropy coder used to encode the bit-streams.</ span >
375378< span class ="sd "> """</ span >
@@ -379,7 +382,7 @@ <h1>Source code for compressai</h1><div class="highlight"><pre>
379382
380383< div class ="viewcode-block " id ="available_entropy_coders ">
381384< a class ="viewcode-back " href ="../compressai.html#compressai.available_entropy_coders "> [docs]</ a >
382- < span class ="k "> def</ span > < span class ="nf "> available_entropy_coders</ span > < span class ="p "> ():</ span >
385+ < span class ="k "> def</ span > < span class =" w " > </ span > < span class ="nf "> available_entropy_coders</ span > < span class ="p "> ():</ span >
383386< span class ="w "> </ span > < span class ="sd "> """</ span >
384387< span class ="sd "> Return the list of available entropy coders.</ span >
385388< span class ="sd "> """</ span >
@@ -413,7 +416,7 @@ <h1>Source code for compressai</h1><div class="highlight"><pre>
413416
414417
415418
416- < footer class ="prev-next-footer ">
419+ < footer class ="prev-next-footer d-print-none ">
417420
418421< div class ="prev-next-area ">
419422</ div >
@@ -423,8 +426,6 @@ <h1>Source code for compressai</h1><div class="highlight"><pre>
423426
424427
425428
426- < div class ="bd-sidebar-secondary bd-toc "> </ div >
427-
428429
429430 </ div >
430431 < footer class ="bd-footer-content ">
@@ -468,8 +469,8 @@ <h1>Source code for compressai</h1><div class="highlight"><pre>
468469 </ div >
469470
470471 <!-- Scripts loaded after <body> so the DOM is not blocked -->
471- < script src ="../_static/scripts/bootstrap.js?digest=8d27b9dea8ad943066ae "> </ script >
472- < script src ="../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae "> </ script >
472+ < script src ="../_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b "> </ script >
473+ < script src ="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b "> </ script >
473474
474475 < footer class ="bd-footer ">
475476 </ footer >
0 commit comments