Skip to content

Commit

Permalink
prepare release (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
OriolAbril authored Dec 9, 2022
1 parent 479fb13 commit 8d4ce30
Show file tree
Hide file tree
Showing 5 changed files with 677 additions and 288 deletions.
2 changes: 1 addition & 1 deletion docs/source/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log

## v0.x.x (Unreleased)
## v0.4.0 (2022 Dec 9)
### New features
* Add `multivariate_normal` distribution class {pull}`23`

Expand Down
38 changes: 25 additions & 13 deletions docs/source/tutorials/einops-basics-port.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"}\n",
"\n",
"html[theme=dark],\n",
"body[data-theme=dark],\n",
"body.vscode-dark {\n",
" --xr-font-color0: rgba(255, 255, 255, 1);\n",
" --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
Expand Down Expand Up @@ -341,6 +342,11 @@
" grid-column: 4;\n",
"}\n",
"\n",
".xr-index-preview {\n",
" grid-column: 2 / 5;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-name,\n",
".xr-var-dims,\n",
".xr-var-dtype,\n",
Expand All @@ -362,14 +368,16 @@
"}\n",
"\n",
".xr-var-attrs,\n",
".xr-var-data {\n",
".xr-var-data,\n",
".xr-index-data {\n",
" display: none;\n",
" background-color: var(--xr-background-color) !important;\n",
" padding-bottom: 5px !important;\n",
"}\n",
"\n",
".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
".xr-var-data-in:checked ~ .xr-var-data {\n",
".xr-var-data-in:checked ~ .xr-var-data,\n",
".xr-index-data-in:checked ~ .xr-index-data {\n",
" display: block;\n",
"}\n",
"\n",
Expand All @@ -379,13 +387,16 @@
"\n",
".xr-var-name span,\n",
".xr-var-data,\n",
".xr-index-name div,\n",
".xr-index-data,\n",
".xr-attrs {\n",
" padding-left: 25px !important;\n",
"}\n",
"\n",
".xr-attrs,\n",
".xr-var-attrs,\n",
".xr-var-data {\n",
".xr-var-data,\n",
".xr-index-data {\n",
" grid-column: 1 / -1;\n",
"}\n",
"\n",
Expand Down Expand Up @@ -423,7 +434,8 @@
"}\n",
"\n",
".xr-icon-database,\n",
".xr-icon-file-text2 {\n",
".xr-icon-file-text2,\n",
".xr-no-icon {\n",
" display: inline-block;\n",
" vertical-align: middle;\n",
" width: 1em;\n",
Expand All @@ -436,7 +448,7 @@
"Dimensions: (batch: 6, height: 96, width: 96, channel: 3)\n",
"Dimensions without coordinates: batch, height, width, channel\n",
"Data variables:\n",
" ims (batch, height, width, channel) float64 1.0 0.902 ... 1.0 0.8039</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-d65d7429-93f7-4920-8cef-19f3b647bdb1' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-d65d7429-93f7-4920-8cef-19f3b647bdb1' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span>batch</span>: 6</li><li><span>height</span>: 96</li><li><span>width</span>: 96</li><li><span>channel</span>: 3</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-ed0ffa03-2b9e-4b9a-b115-feeb2ead65b6' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-ed0ffa03-2b9e-4b9a-b115-feeb2ead65b6' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-387e9e37-746e-4c25-9f64-735cac4f8554' class='xr-section-summary-in' type='checkbox' checked><label for='section-387e9e37-746e-4c25-9f64-735cac4f8554' class='xr-section-summary' >Data variables: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>ims</span></div><div class='xr-var-dims'>(batch, height, width, channel)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>1.0 0.902 0.902 ... 1.0 1.0 0.8039</div><input id='attrs-2fe6111c-4b79-4af2-b40c-ab6bc550114b' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-2fe6111c-4b79-4af2-b40c-ab6bc550114b' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-97530fa6-7130-46f6-926b-6155c1f13fd2' class='xr-var-data-in' type='checkbox'><label for='data-97530fa6-7130-46f6-926b-6155c1f13fd2' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[[[1. , 0.90196078, 0.90196078],\n",
" ims (batch, height, width, channel) float64 1.0 0.902 ... 1.0 0.8039</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-3e0bf49d-d0af-4c1f-ae80-dadeab32208e' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-3e0bf49d-d0af-4c1f-ae80-dadeab32208e' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span>batch</span>: 6</li><li><span>height</span>: 96</li><li><span>width</span>: 96</li><li><span>channel</span>: 3</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-51cecf05-5bd1-469c-891e-b5d7520889f7' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-51cecf05-5bd1-469c-891e-b5d7520889f7' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-f18ffa3d-01d2-4201-afb0-edea6af2ff86' class='xr-section-summary-in' type='checkbox' checked><label for='section-f18ffa3d-01d2-4201-afb0-edea6af2ff86' class='xr-section-summary' >Data variables: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>ims</span></div><div class='xr-var-dims'>(batch, height, width, channel)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>1.0 0.902 0.902 ... 1.0 1.0 0.8039</div><input id='attrs-204ed73f-5f0c-4923-be6b-f0c882adc2db' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-204ed73f-5f0c-4923-be6b-f0c882adc2db' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-ca1710a6-9c59-4d5a-9d5b-0712baca885e' class='xr-var-data-in' type='checkbox'><label for='data-ca1710a6-9c59-4d5a-9d5b-0712baca885e' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[[[1. , 0.90196078, 0.90196078],\n",
" [1. , 0.90196078, 0.90196078],\n",
" [1. , 0.90196078, 0.90196078],\n",
" ...,\n",
Expand Down Expand Up @@ -476,7 +488,7 @@
" ...,\n",
" [1. , 1. , 0.80392157],\n",
" [1. , 1. , 0.80392157],\n",
" [1. , 1. , 0.80392157]]]])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-5e8afd04-44f7-4dfe-99c4-b83bc82e155a' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-5e8afd04-44f7-4dfe-99c4-b83bc82e155a' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
" [1. , 1. , 0.80392157]]]])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-fa8eb569-f3f5-4b1c-9066-d67c6dbc90fb' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-fa8eb569-f3f5-4b1c-9066-d67c6dbc90fb' class='xr-section-summary' title='Expand/collapse section'>Indexes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-b739a30e-9ef6-4e9c-ba75-2835a8b8af4f' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-b739a30e-9ef6-4e9c-ba75-2835a8b8af4f' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
],
"text/plain": [
"<xarray.Dataset>\n",
Expand Down Expand Up @@ -1681,17 +1693,17 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Last updated: Sun Jun 19 2022\n",
"Last updated: Fri Dec 09 2022\n",
"\n",
"Python implementation: CPython\n",
"Python version : 3.9.10\n",
"Python version : 3.9.13\n",
"IPython version : 8.4.0\n",
"\n",
"einops : 0.4.1\n",
"xarray_einstats: 0.3.0\n",
"einops : 0.6.0\n",
"xarray_einstats: 0.4.0\n",
"\n",
"xarray: 2022.3.0\n",
"numpy : 1.22.4\n",
"xarray: 2022.12.0\n",
"numpy : 1.23.5\n",
"\n",
"Watermark: 2.3.1\n",
"\n"
Expand Down Expand Up @@ -1727,7 +1739,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.10"
"version": "3.9.13"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 8d4ce30

Please sign in to comment.