Commit d536e0d3 authored by rusty1s's avatar rusty1s
Browse files

typo

parent 632a1783
...@@ -28,6 +28,7 @@ The package consists of the following operations: ...@@ -28,6 +28,7 @@ The package consists of the following operations:
* [**Scatter Mul**](https://rusty1s.github.io/pytorch_scatter/build/html/functions/mul.html) * [**Scatter Mul**](https://rusty1s.github.io/pytorch_scatter/build/html/functions/mul.html)
* [**Scatter Div**](https://rusty1s.github.io/pytorch_scatter/build/html/functions/div.html) * [**Scatter Div**](https://rusty1s.github.io/pytorch_scatter/build/html/functions/div.html)
* [**Scatter Mean**](https://rusty1s.github.io/pytorch_scatter/build/html/functions/mean.html) * [**Scatter Mean**](https://rusty1s.github.io/pytorch_scatter/build/html/functions/mean.html)
* [**Scatter Std**](https://rusty1s.github.io/pytorch_scatter/build/html/functions/std.html)
* [**Scatter Min**](https://rusty1s.github.io/pytorch_scatter/build/html/functions/min.html) * [**Scatter Min**](https://rusty1s.github.io/pytorch_scatter/build/html/functions/min.html)
* [**Scatter Max**](https://rusty1s.github.io/pytorch_scatter/build/html/functions/max.html) * [**Scatter Max**](https://rusty1s.github.io/pytorch_scatter/build/html/functions/max.html)
......
#!/bin/bash #!/bin/bash
files=(add sub mul div mean max min) files=(add sub mul div mean max min std)
for name in "${files[@]}"; do for name in "${files[@]}"; do
pdflatex "$name" pdflatex "$name"
......
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="144.766pt" height="76.934pt" viewBox="0 0 144.766 76.934" version="1.1">
<defs>
<g>
<symbol overflow="visible" id="glyph0-0">
<path style="stroke:none;" d=""/>
</symbol>
<symbol overflow="visible" id="glyph0-1">
<path style="stroke:none;" d="M 1.765625 -4.40625 L 0.375 -4.296875 L 0.375 -3.984375 C 1.015625 -3.984375 1.109375 -3.921875 1.109375 -3.4375 L 1.109375 -0.75 C 1.109375 -0.3125 1 -0.3125 0.328125 -0.3125 L 0.328125 0 C 0.640625 -0.015625 1.1875 -0.03125 1.421875 -0.03125 C 1.78125 -0.03125 2.125 -0.015625 2.46875 0 L 2.46875 -0.3125 C 1.796875 -0.3125 1.765625 -0.359375 1.765625 -0.75 Z M 1.796875 -6.140625 C 1.796875 -6.453125 1.5625 -6.671875 1.28125 -6.671875 C 0.96875 -6.671875 0.75 -6.40625 0.75 -6.140625 C 0.75 -5.875 0.96875 -5.609375 1.28125 -5.609375 C 1.5625 -5.609375 1.796875 -5.828125 1.796875 -6.140625 Z M 1.796875 -6.140625 "/>
</symbol>
<symbol overflow="visible" id="glyph0-2">
<path style="stroke:none;" d="M 1.09375 -3.421875 L 1.09375 -0.75 C 1.09375 -0.3125 0.984375 -0.3125 0.3125 -0.3125 L 0.3125 0 C 0.671875 -0.015625 1.171875 -0.03125 1.453125 -0.03125 C 1.703125 -0.03125 2.21875 -0.015625 2.5625 0 L 2.5625 -0.3125 C 1.890625 -0.3125 1.78125 -0.3125 1.78125 -0.75 L 1.78125 -2.59375 C 1.78125 -3.625 2.5 -4.1875 3.125 -4.1875 C 3.765625 -4.1875 3.875 -3.65625 3.875 -3.078125 L 3.875 -0.75 C 3.875 -0.3125 3.765625 -0.3125 3.09375 -0.3125 L 3.09375 0 C 3.4375 -0.015625 3.953125 -0.03125 4.21875 -0.03125 C 4.46875 -0.03125 5 -0.015625 5.328125 0 L 5.328125 -0.3125 C 4.8125 -0.3125 4.5625 -0.3125 4.5625 -0.609375 L 4.5625 -2.515625 C 4.5625 -3.375 4.5625 -3.671875 4.25 -4.03125 C 4.109375 -4.203125 3.78125 -4.40625 3.203125 -4.40625 C 2.46875 -4.40625 2 -3.984375 1.71875 -3.359375 L 1.71875 -4.40625 L 0.3125 -4.296875 L 0.3125 -3.984375 C 1.015625 -3.984375 1.09375 -3.921875 1.09375 -3.421875 Z M 1.09375 -3.421875 "/>
</symbol>
<symbol overflow="visible" id="glyph0-3">
<path style="stroke:none;" d="M 3.78125 -0.546875 L 3.78125 0.109375 L 5.25 0 L 5.25 -0.3125 C 4.5625 -0.3125 4.46875 -0.375 4.46875 -0.875 L 4.46875 -6.921875 L 3.046875 -6.8125 L 3.046875 -6.5 C 3.734375 -6.5 3.8125 -6.4375 3.8125 -5.9375 L 3.8125 -3.78125 C 3.53125 -4.140625 3.09375 -4.40625 2.5625 -4.40625 C 1.390625 -4.40625 0.34375 -3.421875 0.34375 -2.140625 C 0.34375 -0.875 1.3125 0.109375 2.453125 0.109375 C 3.09375 0.109375 3.53125 -0.234375 3.78125 -0.546875 Z M 3.78125 -3.21875 L 3.78125 -1.171875 C 3.78125 -1 3.78125 -0.984375 3.671875 -0.8125 C 3.375 -0.328125 2.9375 -0.109375 2.5 -0.109375 C 2.046875 -0.109375 1.6875 -0.375 1.453125 -0.75 C 1.203125 -1.15625 1.171875 -1.71875 1.171875 -2.140625 C 1.171875 -2.5 1.1875 -3.09375 1.46875 -3.546875 C 1.6875 -3.859375 2.0625 -4.1875 2.609375 -4.1875 C 2.953125 -4.1875 3.375 -4.03125 3.671875 -3.59375 C 3.78125 -3.421875 3.78125 -3.40625 3.78125 -3.21875 Z M 3.78125 -3.21875 "/>
</symbol>
<symbol overflow="visible" id="glyph0-4">
<path style="stroke:none;" d="M 1.109375 -2.515625 C 1.171875 -4 2.015625 -4.25 2.359375 -4.25 C 3.375 -4.25 3.484375 -2.90625 3.484375 -2.515625 Z M 1.109375 -2.296875 L 3.890625 -2.296875 C 4.109375 -2.296875 4.140625 -2.296875 4.140625 -2.515625 C 4.140625 -3.5 3.59375 -4.46875 2.359375 -4.46875 C 1.203125 -4.46875 0.28125 -3.4375 0.28125 -2.1875 C 0.28125 -0.859375 1.328125 0.109375 2.46875 0.109375 C 3.6875 0.109375 4.140625 -1 4.140625 -1.1875 C 4.140625 -1.28125 4.0625 -1.3125 4 -1.3125 C 3.921875 -1.3125 3.890625 -1.25 3.875 -1.171875 C 3.53125 -0.140625 2.625 -0.140625 2.53125 -0.140625 C 2.03125 -0.140625 1.640625 -0.4375 1.40625 -0.8125 C 1.109375 -1.28125 1.109375 -1.9375 1.109375 -2.296875 Z M 1.109375 -2.296875 "/>
</symbol>
<symbol overflow="visible" id="glyph0-5">
<path style="stroke:none;" d="M 2.859375 -2.34375 C 3.15625 -2.71875 3.53125 -3.203125 3.78125 -3.46875 C 4.09375 -3.828125 4.5 -3.984375 4.96875 -3.984375 L 4.96875 -4.296875 C 4.703125 -4.28125 4.40625 -4.265625 4.140625 -4.265625 C 3.84375 -4.265625 3.3125 -4.28125 3.1875 -4.296875 L 3.1875 -3.984375 C 3.40625 -3.96875 3.484375 -3.84375 3.484375 -3.671875 C 3.484375 -3.515625 3.375 -3.390625 3.328125 -3.328125 L 2.71875 -2.546875 L 1.9375 -3.5625 C 1.84375 -3.65625 1.84375 -3.671875 1.84375 -3.734375 C 1.84375 -3.890625 2 -3.984375 2.1875 -3.984375 L 2.1875 -4.296875 C 1.9375 -4.28125 1.28125 -4.265625 1.109375 -4.265625 C 0.90625 -4.265625 0.4375 -4.28125 0.171875 -4.296875 L 0.171875 -3.984375 C 0.875 -3.984375 0.875 -3.984375 1.34375 -3.375 L 2.328125 -2.09375 L 1.390625 -0.90625 C 0.921875 -0.328125 0.328125 -0.3125 0.125 -0.3125 L 0.125 0 C 0.375 -0.015625 0.6875 -0.03125 0.953125 -0.03125 C 1.234375 -0.03125 1.65625 -0.015625 1.890625 0 L 1.890625 -0.3125 C 1.671875 -0.34375 1.609375 -0.46875 1.609375 -0.625 C 1.609375 -0.84375 1.890625 -1.171875 2.5 -1.890625 L 3.265625 -0.890625 C 3.34375 -0.78125 3.46875 -0.625 3.46875 -0.5625 C 3.46875 -0.46875 3.375 -0.3125 3.109375 -0.3125 L 3.109375 0 C 3.40625 -0.015625 3.96875 -0.03125 4.1875 -0.03125 C 4.453125 -0.03125 4.84375 -0.015625 5.140625 0 L 5.140625 -0.3125 C 4.609375 -0.3125 4.421875 -0.328125 4.203125 -0.625 Z M 2.859375 -2.34375 "/>
</symbol>
<symbol overflow="visible" id="glyph0-6">
<path style="stroke:none;" d="M 1.71875 -3.75 L 1.71875 -4.40625 L 0.28125 -4.296875 L 0.28125 -3.984375 C 0.984375 -3.984375 1.0625 -3.921875 1.0625 -3.484375 L 1.0625 1.171875 C 1.0625 1.625 0.953125 1.625 0.28125 1.625 L 0.28125 1.9375 C 0.625 1.921875 1.140625 1.90625 1.390625 1.90625 C 1.671875 1.90625 2.171875 1.921875 2.515625 1.9375 L 2.515625 1.625 C 1.859375 1.625 1.75 1.625 1.75 1.171875 L 1.75 -0.59375 C 1.796875 -0.421875 2.21875 0.109375 2.96875 0.109375 C 4.15625 0.109375 5.1875 -0.875 5.1875 -2.15625 C 5.1875 -3.421875 4.234375 -4.40625 3.109375 -4.40625 C 2.328125 -4.40625 1.90625 -3.96875 1.71875 -3.75 Z M 1.75 -1.140625 L 1.75 -3.359375 C 2.03125 -3.875 2.515625 -4.15625 3.03125 -4.15625 C 3.765625 -4.15625 4.359375 -3.28125 4.359375 -2.15625 C 4.359375 -0.953125 3.671875 -0.109375 2.9375 -0.109375 C 2.53125 -0.109375 2.15625 -0.3125 1.890625 -0.71875 C 1.75 -0.921875 1.75 -0.9375 1.75 -1.140625 Z M 1.75 -1.140625 "/>
</symbol>
<symbol overflow="visible" id="glyph0-7">
<path style="stroke:none;" d="M 3.890625 -0.78125 L 3.890625 0.109375 L 5.328125 0 L 5.328125 -0.3125 C 4.640625 -0.3125 4.5625 -0.375 4.5625 -0.875 L 4.5625 -4.40625 L 3.09375 -4.296875 L 3.09375 -3.984375 C 3.78125 -3.984375 3.875 -3.921875 3.875 -3.421875 L 3.875 -1.65625 C 3.875 -0.78125 3.390625 -0.109375 2.65625 -0.109375 C 1.828125 -0.109375 1.78125 -0.578125 1.78125 -1.09375 L 1.78125 -4.40625 L 0.3125 -4.296875 L 0.3125 -3.984375 C 1.09375 -3.984375 1.09375 -3.953125 1.09375 -3.078125 L 1.09375 -1.578125 C 1.09375 -0.796875 1.09375 0.109375 2.609375 0.109375 C 3.171875 0.109375 3.609375 -0.171875 3.890625 -0.78125 Z M 3.890625 -0.78125 "/>
</symbol>
<symbol overflow="visible" id="glyph0-8">
<path style="stroke:none;" d="M 1.71875 -3.984375 L 3.15625 -3.984375 L 3.15625 -4.296875 L 1.71875 -4.296875 L 1.71875 -6.125 L 1.46875 -6.125 C 1.46875 -5.3125 1.171875 -4.25 0.1875 -4.203125 L 0.1875 -3.984375 L 1.03125 -3.984375 L 1.03125 -1.234375 C 1.03125 -0.015625 1.96875 0.109375 2.328125 0.109375 C 3.03125 0.109375 3.3125 -0.59375 3.3125 -1.234375 L 3.3125 -1.796875 L 3.0625 -1.796875 L 3.0625 -1.25 C 3.0625 -0.515625 2.765625 -0.140625 2.390625 -0.140625 C 1.71875 -0.140625 1.71875 -1.046875 1.71875 -1.21875 Z M 1.71875 -3.984375 "/>
</symbol>
<symbol overflow="visible" id="glyph0-9">
<path style="stroke:none;" d="M 4.578125 -3.1875 C 4.578125 -3.984375 4.53125 -4.78125 4.1875 -5.515625 C 3.734375 -6.484375 2.90625 -6.640625 2.5 -6.640625 C 1.890625 -6.640625 1.171875 -6.375 0.75 -5.453125 C 0.4375 -4.765625 0.390625 -3.984375 0.390625 -3.1875 C 0.390625 -2.4375 0.421875 -1.546875 0.84375 -0.78125 C 1.265625 0.015625 2 0.21875 2.484375 0.21875 C 3.015625 0.21875 3.78125 0.015625 4.21875 -0.9375 C 4.53125 -1.625 4.578125 -2.40625 4.578125 -3.1875 Z M 2.484375 0 C 2.09375 0 1.5 -0.25 1.328125 -1.203125 C 1.21875 -1.796875 1.21875 -2.71875 1.21875 -3.3125 C 1.21875 -3.953125 1.21875 -4.609375 1.296875 -5.140625 C 1.484375 -6.328125 2.234375 -6.421875 2.484375 -6.421875 C 2.8125 -6.421875 3.46875 -6.234375 3.65625 -5.25 C 3.765625 -4.6875 3.765625 -3.9375 3.765625 -3.3125 C 3.765625 -2.5625 3.765625 -1.890625 3.65625 -1.25 C 3.5 -0.296875 2.9375 0 2.484375 0 Z M 2.484375 0 "/>
</symbol>
<symbol overflow="visible" id="glyph0-10">
<path style="stroke:none;" d="M 4.46875 -2 C 4.46875 -3.1875 3.65625 -4.1875 2.578125 -4.1875 C 2.109375 -4.1875 1.671875 -4.03125 1.3125 -3.671875 L 1.3125 -5.625 C 1.515625 -5.5625 1.84375 -5.5 2.15625 -5.5 C 3.390625 -5.5 4.09375 -6.40625 4.09375 -6.53125 C 4.09375 -6.59375 4.0625 -6.640625 3.984375 -6.640625 C 3.984375 -6.640625 3.953125 -6.640625 3.90625 -6.609375 C 3.703125 -6.515625 3.21875 -6.3125 2.546875 -6.3125 C 2.15625 -6.3125 1.6875 -6.390625 1.21875 -6.59375 C 1.140625 -6.625 1.125 -6.625 1.109375 -6.625 C 1 -6.625 1 -6.546875 1 -6.390625 L 1 -3.4375 C 1 -3.265625 1 -3.1875 1.140625 -3.1875 C 1.21875 -3.1875 1.234375 -3.203125 1.28125 -3.265625 C 1.390625 -3.421875 1.75 -3.96875 2.5625 -3.96875 C 3.078125 -3.96875 3.328125 -3.515625 3.40625 -3.328125 C 3.5625 -2.953125 3.59375 -2.578125 3.59375 -2.078125 C 3.59375 -1.71875 3.59375 -1.125 3.34375 -0.703125 C 3.109375 -0.3125 2.734375 -0.0625 2.28125 -0.0625 C 1.5625 -0.0625 0.984375 -0.59375 0.8125 -1.171875 C 0.84375 -1.171875 0.875 -1.15625 0.984375 -1.15625 C 1.3125 -1.15625 1.484375 -1.40625 1.484375 -1.640625 C 1.484375 -1.890625 1.3125 -2.140625 0.984375 -2.140625 C 0.84375 -2.140625 0.5 -2.0625 0.5 -1.609375 C 0.5 -0.75 1.1875 0.21875 2.296875 0.21875 C 3.453125 0.21875 4.46875 -0.734375 4.46875 -2 Z M 4.46875 -2 "/>
</symbol>
<symbol overflow="visible" id="glyph0-11">
<path style="stroke:none;" d="M 2.9375 -6.375 C 2.9375 -6.625 2.9375 -6.640625 2.703125 -6.640625 C 2.078125 -6 1.203125 -6 0.890625 -6 L 0.890625 -5.6875 C 1.09375 -5.6875 1.671875 -5.6875 2.1875 -5.953125 L 2.1875 -0.78125 C 2.1875 -0.421875 2.15625 -0.3125 1.265625 -0.3125 L 0.953125 -0.3125 L 0.953125 0 C 1.296875 -0.03125 2.15625 -0.03125 2.5625 -0.03125 C 2.953125 -0.03125 3.828125 -0.03125 4.171875 0 L 4.171875 -0.3125 L 3.859375 -0.3125 C 2.953125 -0.3125 2.9375 -0.421875 2.9375 -0.78125 Z M 2.9375 -6.375 "/>
</symbol>
<symbol overflow="visible" id="glyph0-12">
<path style="stroke:none;" d="M 4.75 -6.078125 C 4.828125 -6.1875 4.828125 -6.203125 4.828125 -6.421875 L 2.40625 -6.421875 C 1.203125 -6.421875 1.171875 -6.546875 1.140625 -6.734375 L 0.890625 -6.734375 L 0.5625 -4.6875 L 0.8125 -4.6875 C 0.84375 -4.84375 0.921875 -5.46875 1.0625 -5.59375 C 1.125 -5.65625 1.90625 -5.65625 2.03125 -5.65625 L 4.09375 -5.65625 C 3.984375 -5.5 3.203125 -4.40625 2.984375 -4.078125 C 2.078125 -2.734375 1.75 -1.34375 1.75 -0.328125 C 1.75 -0.234375 1.75 0.21875 2.21875 0.21875 C 2.671875 0.21875 2.671875 -0.234375 2.671875 -0.328125 L 2.671875 -0.84375 C 2.671875 -1.390625 2.703125 -1.9375 2.78125 -2.46875 C 2.828125 -2.703125 2.953125 -3.5625 3.40625 -4.171875 Z M 4.75 -6.078125 "/>
</symbol>
<symbol overflow="visible" id="glyph0-13">
<path style="stroke:none;" d="M 1.265625 -0.765625 L 2.328125 -1.796875 C 3.875 -3.171875 4.46875 -3.703125 4.46875 -4.703125 C 4.46875 -5.84375 3.578125 -6.640625 2.359375 -6.640625 C 1.234375 -6.640625 0.5 -5.71875 0.5 -4.828125 C 0.5 -4.28125 1 -4.28125 1.03125 -4.28125 C 1.203125 -4.28125 1.546875 -4.390625 1.546875 -4.8125 C 1.546875 -5.0625 1.359375 -5.328125 1.015625 -5.328125 C 0.9375 -5.328125 0.921875 -5.328125 0.890625 -5.3125 C 1.109375 -5.96875 1.65625 -6.328125 2.234375 -6.328125 C 3.140625 -6.328125 3.5625 -5.515625 3.5625 -4.703125 C 3.5625 -3.90625 3.078125 -3.125 2.515625 -2.5 L 0.609375 -0.375 C 0.5 -0.265625 0.5 -0.234375 0.5 0 L 4.203125 0 L 4.46875 -1.734375 L 4.234375 -1.734375 C 4.171875 -1.4375 4.109375 -1 4 -0.84375 C 3.9375 -0.765625 3.28125 -0.765625 3.0625 -0.765625 Z M 1.265625 -0.765625 "/>
</symbol>
<symbol overflow="visible" id="glyph0-14">
<path style="stroke:none;" d="M 2.890625 -3.515625 C 3.703125 -3.78125 4.28125 -4.46875 4.28125 -5.265625 C 4.28125 -6.078125 3.40625 -6.640625 2.453125 -6.640625 C 1.453125 -6.640625 0.6875 -6.046875 0.6875 -5.28125 C 0.6875 -4.953125 0.90625 -4.765625 1.203125 -4.765625 C 1.5 -4.765625 1.703125 -4.984375 1.703125 -5.28125 C 1.703125 -5.765625 1.234375 -5.765625 1.09375 -5.765625 C 1.390625 -6.265625 2.046875 -6.390625 2.40625 -6.390625 C 2.828125 -6.390625 3.375 -6.171875 3.375 -5.28125 C 3.375 -5.15625 3.34375 -4.578125 3.09375 -4.140625 C 2.796875 -3.65625 2.453125 -3.625 2.203125 -3.625 C 2.125 -3.609375 1.890625 -3.59375 1.8125 -3.59375 C 1.734375 -3.578125 1.671875 -3.5625 1.671875 -3.46875 C 1.671875 -3.359375 1.734375 -3.359375 1.90625 -3.359375 L 2.34375 -3.359375 C 3.15625 -3.359375 3.53125 -2.6875 3.53125 -1.703125 C 3.53125 -0.34375 2.84375 -0.0625 2.40625 -0.0625 C 1.96875 -0.0625 1.21875 -0.234375 0.875 -0.8125 C 1.21875 -0.765625 1.53125 -0.984375 1.53125 -1.359375 C 1.53125 -1.71875 1.265625 -1.921875 0.984375 -1.921875 C 0.734375 -1.921875 0.421875 -1.78125 0.421875 -1.34375 C 0.421875 -0.4375 1.34375 0.21875 2.4375 0.21875 C 3.65625 0.21875 4.5625 -0.6875 4.5625 -1.703125 C 4.5625 -2.515625 3.921875 -3.296875 2.890625 -3.515625 Z M 2.890625 -3.515625 "/>
</symbol>
<symbol overflow="visible" id="glyph0-15">
<path style="stroke:none;" d="M 4.6875 -2.140625 C 4.6875 -3.40625 3.703125 -4.46875 2.5 -4.46875 C 1.25 -4.46875 0.28125 -3.375 0.28125 -2.140625 C 0.28125 -0.84375 1.3125 0.109375 2.484375 0.109375 C 3.6875 0.109375 4.6875 -0.875 4.6875 -2.140625 Z M 2.5 -0.140625 C 2.0625 -0.140625 1.625 -0.34375 1.359375 -0.8125 C 1.109375 -1.25 1.109375 -1.859375 1.109375 -2.21875 C 1.109375 -2.609375 1.109375 -3.140625 1.34375 -3.578125 C 1.609375 -4.03125 2.078125 -4.25 2.484375 -4.25 C 2.921875 -4.25 3.34375 -4.03125 3.609375 -3.59375 C 3.875 -3.171875 3.875 -2.59375 3.875 -2.21875 C 3.875 -1.859375 3.875 -1.3125 3.65625 -0.875 C 3.421875 -0.421875 2.984375 -0.140625 2.5 -0.140625 Z M 2.5 -0.140625 "/>
</symbol>
<symbol overflow="visible" id="glyph0-16">
<path style="stroke:none;" d="M 1.90625 -0.53125 C 1.90625 -0.8125 1.671875 -1.0625 1.390625 -1.0625 C 1.09375 -1.0625 0.859375 -0.8125 0.859375 -0.53125 C 0.859375 -0.234375 1.09375 0 1.390625 0 C 1.671875 0 1.90625 -0.234375 1.90625 -0.53125 Z M 1.90625 -0.53125 "/>
</symbol>
<symbol overflow="visible" id="glyph0-17">
<path style="stroke:none;" d="M 2.9375 -1.640625 L 2.9375 -0.78125 C 2.9375 -0.421875 2.90625 -0.3125 2.171875 -0.3125 L 1.96875 -0.3125 L 1.96875 0 C 2.375 -0.03125 2.890625 -0.03125 3.3125 -0.03125 C 3.734375 -0.03125 4.25 -0.03125 4.671875 0 L 4.671875 -0.3125 L 4.453125 -0.3125 C 3.71875 -0.3125 3.703125 -0.421875 3.703125 -0.78125 L 3.703125 -1.640625 L 4.6875 -1.640625 L 4.6875 -1.953125 L 3.703125 -1.953125 L 3.703125 -6.484375 C 3.703125 -6.6875 3.703125 -6.75 3.53125 -6.75 C 3.453125 -6.75 3.421875 -6.75 3.34375 -6.625 L 0.28125 -1.953125 L 0.28125 -1.640625 Z M 2.984375 -1.953125 L 0.5625 -1.953125 L 2.984375 -5.671875 Z M 2.984375 -1.953125 "/>
</symbol>
<symbol overflow="visible" id="glyph1-0">
<path style="stroke:none;" d=""/>
</symbol>
<symbol overflow="visible" id="glyph1-1">
<path style="stroke:none;" d="M 0.9375 -0.875 C 1.03125 -0.859375 1.40625 -0.78125 1.40625 -0.453125 C 1.40625 -0.234375 1.234375 -0.046875 0.890625 -0.046875 C 0.515625 -0.046875 0.359375 -0.3125 0.265625 -0.6875 C 0.25 -0.75 0.25 -0.765625 0.203125 -0.765625 C 0.140625 -0.765625 0.140625 -0.734375 0.140625 -0.65625 L 0.140625 -0.0625 C 0.140625 0.015625 0.140625 0.046875 0.203125 0.046875 C 0.21875 0.046875 0.21875 0.046875 0.3125 -0.046875 C 0.3125 -0.046875 0.3125 -0.0625 0.40625 -0.140625 C 0.59375 0.046875 0.796875 0.046875 0.890625 0.046875 C 1.40625 0.046875 1.609375 -0.25 1.609375 -0.578125 C 1.609375 -0.8125 1.484375 -0.953125 1.421875 -1 C 1.28125 -1.140625 1.109375 -1.171875 0.921875 -1.21875 C 0.65625 -1.265625 0.359375 -1.328125 0.359375 -1.578125 C 0.359375 -1.734375 0.484375 -1.921875 0.859375 -1.921875 C 1.359375 -1.921875 1.375 -1.515625 1.390625 -1.375 C 1.390625 -1.34375 1.4375 -1.34375 1.4375 -1.34375 C 1.5 -1.34375 1.5 -1.359375 1.5 -1.453125 L 1.5 -1.90625 C 1.5 -1.984375 1.5 -2.015625 1.453125 -2.015625 C 1.4375 -2.015625 1.421875 -2.015625 1.359375 -1.953125 C 1.34375 -1.9375 1.3125 -1.890625 1.28125 -1.890625 C 1.109375 -2.015625 0.9375 -2.015625 0.859375 -2.015625 C 0.3125 -2.015625 0.140625 -1.703125 0.140625 -1.453125 C 0.140625 -1.296875 0.21875 -1.171875 0.34375 -1.078125 C 0.484375 -0.953125 0.609375 -0.9375 0.9375 -0.875 Z M 0.9375 -0.875 "/>
</symbol>
<symbol overflow="visible" id="glyph1-2">
<path style="stroke:none;" d="M 0.78125 -1.796875 L 1.421875 -1.796875 L 1.421875 -1.9375 L 0.78125 -1.9375 L 0.78125 -2.765625 L 0.65625 -2.765625 C 0.65625 -2.390625 0.53125 -1.90625 0.078125 -1.890625 L 0.078125 -1.796875 L 0.46875 -1.796875 L 0.46875 -0.5625 C 0.46875 0 0.890625 0.046875 1.046875 0.046875 C 1.359375 0.046875 1.484375 -0.265625 1.484375 -0.5625 L 1.484375 -0.8125 L 1.375 -0.8125 L 1.375 -0.5625 C 1.375 -0.234375 1.234375 -0.0625 1.078125 -0.0625 C 0.78125 -0.0625 0.78125 -0.46875 0.78125 -0.546875 Z M 0.78125 -1.796875 "/>
</symbol>
<symbol overflow="visible" id="glyph1-3">
<path style="stroke:none;" d="M 1.703125 -0.25 L 1.703125 0.046875 L 2.359375 0 L 2.359375 -0.140625 C 2.046875 -0.140625 2.015625 -0.171875 2.015625 -0.390625 L 2.015625 -3.109375 L 1.375 -3.0625 L 1.375 -2.921875 C 1.6875 -2.921875 1.71875 -2.890625 1.71875 -2.671875 L 1.71875 -1.703125 C 1.59375 -1.859375 1.390625 -1.984375 1.15625 -1.984375 C 0.625 -1.984375 0.15625 -1.546875 0.15625 -0.96875 C 0.15625 -0.390625 0.59375 0.046875 1.109375 0.046875 C 1.390625 0.046875 1.59375 -0.109375 1.703125 -0.25 Z M 1.703125 -1.453125 L 1.703125 -0.53125 C 1.703125 -0.453125 1.703125 -0.4375 1.65625 -0.359375 C 1.515625 -0.140625 1.3125 -0.046875 1.125 -0.046875 C 0.921875 -0.046875 0.765625 -0.171875 0.65625 -0.34375 C 0.53125 -0.515625 0.53125 -0.78125 0.53125 -0.953125 C 0.53125 -1.125 0.53125 -1.390625 0.65625 -1.59375 C 0.765625 -1.734375 0.921875 -1.890625 1.171875 -1.890625 C 1.328125 -1.890625 1.515625 -1.8125 1.65625 -1.609375 C 1.703125 -1.53125 1.703125 -1.53125 1.703125 -1.453125 Z M 1.703125 -1.453125 "/>
</symbol>
</g>
<clipPath id="clip1">
<path d="M 130 0 L 144.765625 0 L 144.765625 15 L 130 15 Z M 130 0 "/>
</clipPath>
<clipPath id="clip2">
<path d="M 130 20 L 144.765625 20 L 144.765625 35 L 130 35 Z M 130 20 "/>
</clipPath>
<clipPath id="clip3">
<path d="M 130 19 L 144.765625 19 L 144.765625 35 L 130 35 Z M 130 19 "/>
</clipPath>
<clipPath id="clip4">
<path d="M 59 62 L 74 62 L 74 76.933594 L 59 76.933594 Z M 59 62 "/>
</clipPath>
<clipPath id="clip5">
<path d="M 73 62 L 88 62 L 88 76.933594 L 73 76.933594 Z M 73 62 "/>
</clipPath>
<clipPath id="clip6">
<path d="M 73 62 L 89 62 L 89 76.933594 L 73 76.933594 Z M 73 62 "/>
</clipPath>
<clipPath id="clip7">
<path d="M 87 62 L 103 62 L 103 76.933594 L 87 76.933594 Z M 87 62 "/>
</clipPath>
<clipPath id="clip8">
<path d="M 102 62 L 117 62 L 117 76.933594 L 102 76.933594 Z M 102 62 "/>
</clipPath>
<clipPath id="clip9">
<path d="M 101 62 L 117 62 L 117 76.933594 L 101 76.933594 Z M 101 62 "/>
</clipPath>
</defs>
<g id="surface1">
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-1" x="0" y="10.745"/>
<use xlink:href="#glyph0-2" x="2.76761" y="10.745"/>
<use xlink:href="#glyph0-3" x="8.302831" y="10.745"/>
<use xlink:href="#glyph0-4" x="13.838051" y="10.745"/>
<use xlink:href="#glyph0-5" x="18.265431" y="10.745"/>
</g>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-1" x="0" y="29.487"/>
<use xlink:href="#glyph0-2" x="2.76761" y="29.487"/>
<use xlink:href="#glyph0-6" x="8.302831" y="29.487"/>
<use xlink:href="#glyph0-7" x="13.838051" y="29.487"/>
<use xlink:href="#glyph0-8" x="19.373272" y="29.487"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -7.088313 55.276906 L 7.087469 55.276906 L 7.087469 69.448781 L -7.088313 69.448781 Z M -7.088313 55.276906 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-9" x="35.777" y="10.496"/>
</g>
<path style="fill-rule:nonzero;fill:rgb(0%,67.83905%,93.728638%);fill-opacity:0.5;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -7.088313 35.433156 L 7.087469 35.433156 L 7.087469 49.605031 L -7.088313 49.605031 Z M -7.088313 35.433156 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-10" x="35.777" y="30.339"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.00153125 55.077688 L 0.00153125 50.265188 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.19608 1.595281 C -1.094518 0.997625 -0.0007675 0.0991875 0.300014 0.00153125 C -0.0007675 -0.100031 -1.094518 -0.994563 -1.19608 -1.592219 " transform="matrix(0,1,1,0,38.268,19.38358)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 7.087469 55.276906 L 21.259344 55.276906 L 21.259344 69.448781 L 7.087469 69.448781 Z M 7.087469 55.276906 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-9" x="49.95" y="10.496"/>
</g>
<path style="fill-rule:nonzero;fill:rgb(0%,67.83905%,93.728638%);fill-opacity:0.5;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 7.087469 35.433156 L 21.259344 35.433156 L 21.259344 49.605031 L 7.087469 49.605031 Z M 7.087469 35.433156 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-11" x="49.95" y="30.339"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 14.173406 55.077688 L 14.173406 50.265188 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.19608 1.593766 C -1.094518 0.99611 -0.0007675 0.0976725 0.300014 0.00001625 C -0.0007675 -0.101546 -1.094518 -0.996078 -1.19608 -1.593734 " transform="matrix(0,1,1,0,52.44139,19.38358)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.259344 55.276906 L 35.435125 55.276906 L 35.435125 69.448781 L 21.259344 69.448781 Z M 21.259344 55.276906 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-11" x="64.124" y="10.496"/>
</g>
<path style="fill-rule:nonzero;fill:rgb(100%,50%,0%);fill-opacity:0.5;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.259344 35.433156 L 35.435125 35.433156 L 35.435125 49.605031 L 21.259344 49.605031 Z M 21.259344 35.433156 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-12" x="64.124" y="30.339"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 28.345281 55.077688 L 28.345281 50.265188 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.19608 1.592231 C -1.094518 0.994575 -0.0007675 0.100044 0.300014 -0.00151875 C -0.0007675 -0.099175 -1.094518 -0.997613 -1.19608 -1.595269 " transform="matrix(0,1,1,0,66.6148,19.38358)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 35.435125 55.276906 L 49.607 55.276906 L 49.607 69.448781 L 35.435125 69.448781 Z M 35.435125 55.276906 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-9" x="78.297" y="10.496"/>
</g>
<path style="fill-rule:nonzero;fill:rgb(0%,67.83905%,93.728638%);fill-opacity:0.5;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 35.435125 35.433156 L 49.607 35.433156 L 49.607 49.605031 L 35.435125 49.605031 Z M 35.435125 35.433156 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-13" x="78.297" y="30.339"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 42.521062 55.077688 L 42.521062 50.265188 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.19608 1.594612 C -1.094518 0.996956 -0.0007675 0.0985187 0.300014 0.0008625 C -0.0007675 -0.1007 -1.094518 -0.995231 -1.19608 -1.592888 " transform="matrix(0,1,1,0,80.7882,19.38358)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 49.607 55.276906 L 63.778875 55.276906 L 63.778875 69.448781 L 49.607 69.448781 Z M 49.607 55.276906 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-13" x="92.47" y="10.496"/>
</g>
<path style="fill-rule:nonzero;fill:rgb(55.488586%,52.549744%,0%);fill-opacity:0.5;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 49.607 35.433156 L 63.778875 35.433156 L 63.778875 49.605031 L 49.607 49.605031 Z M 49.607 35.433156 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-14" x="92.47" y="30.339"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 56.692937 55.077688 L 56.692937 50.265188 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.19608 1.593067 C -1.094518 0.995411 -0.0007675 0.10088 0.300014 -0.0006825 C -0.0007675 -0.0983388 -1.094518 -0.996776 -1.19608 -1.594433 " transform="matrix(0,1,1,0,94.96162,19.38358)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 63.778875 55.276906 L 77.954656 55.276906 L 77.954656 69.448781 L 63.778875 69.448781 Z M 63.778875 55.276906 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-13" x="106.643" y="10.496"/>
</g>
<path style="fill-rule:nonzero;fill:rgb(55.488586%,52.549744%,0%);fill-opacity:0.5;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 63.778875 35.433156 L 77.954656 35.433156 L 77.954656 49.605031 L 63.778875 49.605031 Z M 63.778875 35.433156 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-13" x="106.643" y="30.339"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 70.868719 55.077688 L 70.868719 50.265188 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.19608 1.595469 C -1.094518 0.997812 -0.0007675 0.099375 0.300014 0.00171875 C -0.0007675 -0.0998438 -1.094518 -0.994375 -1.19608 -1.595938 " transform="matrix(0,1,1,0,109.135,19.38358)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 77.954656 55.276906 L 92.126531 55.276906 L 92.126531 69.448781 L 77.954656 69.448781 Z M 77.954656 55.276906 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-14" x="120.817" y="10.496"/>
</g>
<path style="fill-rule:nonzero;fill:rgb(92.549133%,0%,54.899597%);fill-opacity:0.5;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 77.954656 35.433156 L 92.126531 35.433156 L 92.126531 49.605031 L 77.954656 49.605031 Z M 77.954656 35.433156 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-11" x="120.817" y="30.339"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 85.040594 55.077688 L 85.040594 50.265188 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.19608 1.593924 C -1.094518 0.996267 -0.0007675 0.09783 0.300014 0.00017375 C -0.0007675 -0.101389 -1.094518 -0.99592 -1.19608 -1.593576 " transform="matrix(0,1,1,0,123.30842,19.38358)"/>
<g clip-path="url(#clip1)" clip-rule="nonzero">
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 92.126531 55.276906 L 106.302312 55.276906 L 106.302312 69.448781 L 92.126531 69.448781 Z M 92.126531 55.276906 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
</g>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-14" x="134.99" y="10.496"/>
</g>
<g clip-path="url(#clip2)" clip-rule="nonzero">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(92.549133%,0%,54.899597%);fill-opacity:0.5;" d="M 130.394531 34.214844 L 144.570312 34.214844 L 144.570312 20.042969 L 130.394531 20.042969 Z M 130.394531 34.214844 "/>
</g>
<g clip-path="url(#clip3)" clip-rule="nonzero">
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 92.126531 35.433156 L 106.302312 35.433156 L 106.302312 49.605031 L 92.126531 49.605031 Z M 92.126531 35.433156 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
</g>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-14" x="134.99" y="30.339"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 99.212469 55.077688 L 99.212469 50.265188 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.19608 1.592399 C -1.094518 0.994742 -0.0007675 0.100211 0.300014 -0.00135125 C -0.0007675 -0.0990075 -1.094518 -0.997445 -1.19608 -1.595101 " transform="matrix(0,1,1,0,137.48182,19.38358)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-15" x="0" y="71.743"/>
<use xlink:href="#glyph0-7" x="4.9813" y="71.743"/>
<use xlink:href="#glyph0-8" x="10.516521" y="71.743"/>
<use xlink:href="#glyph0-6" x="14.390976" y="71.743"/>
<use xlink:href="#glyph0-7" x="19.926196" y="71.743"/>
<use xlink:href="#glyph0-8" x="25.461417" y="71.743"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 34.32575 17.007375 C 34.32575 19.483938 31.649969 21.49175 28.345281 21.49175 C 25.0445 21.49175 22.368719 19.483938 22.368719 17.007375 C 22.368719 14.530813 25.0445 12.526906 28.345281 12.526906 C 31.649969 12.526906 34.32575 14.530813 34.32575 17.007375 Z M 34.32575 17.007375 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph1-1" x="63.613" y="54.197"/>
<use xlink:href="#glyph1-2" x="65.381162" y="54.197"/>
<use xlink:href="#glyph1-3" x="67.124667" y="54.197"/>
</g>
<g clip-path="url(#clip4)" clip-rule="nonzero">
<path style="fill-rule:nonzero;fill:rgb(0%,67.83905%,93.728638%);fill-opacity:0.5;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.259344 -7.086375 L 35.435125 -7.086375 L 35.435125 7.0855 L 21.259344 7.0855 Z M 21.259344 -7.086375 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
</g>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-13" x="60.249" y="72.858"/>
<use xlink:href="#glyph0-16" x="65.2303" y="72.858"/>
<use xlink:href="#glyph0-11" x="67.99791" y="72.858"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 28.345281 12.327688 L 28.345281 7.745656 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.196749 1.592231 C -1.095186 0.994575 -0.00143625 0.100044 0.299345 -0.00151875 C -0.00143625 -0.099175 -1.095186 -0.997613 -1.196749 -1.595269 " transform="matrix(0,1,1,0,66.6148,61.90378)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 48.497625 17.007375 C 48.497625 19.483938 45.821844 21.49175 42.521062 21.49175 C 39.220281 21.49175 36.540594 19.483938 36.540594 17.007375 C 36.540594 14.530813 39.220281 12.526906 42.521062 12.526906 C 45.821844 12.526906 48.497625 14.530813 48.497625 17.007375 Z M 48.497625 17.007375 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph1-1" x="77.786" y="54.197"/>
<use xlink:href="#glyph1-2" x="79.554162" y="54.197"/>
<use xlink:href="#glyph1-3" x="81.297667" y="54.197"/>
</g>
<g clip-path="url(#clip5)" clip-rule="nonzero">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,50%,0%);fill-opacity:0.5;" d="M 73.703125 76.734375 L 87.875 76.734375 L 87.875 62.5625 L 73.703125 62.5625 Z M 73.703125 76.734375 "/>
</g>
<g clip-path="url(#clip6)" clip-rule="nonzero">
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 35.435125 -7.086375 L 49.607 -7.086375 L 49.607 7.0855 L 35.435125 7.0855 Z M 35.435125 -7.086375 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
</g>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-9" x="78.297" y="72.858"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 42.521062 12.327688 L 42.521062 7.745656 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.196749 1.594612 C -1.095186 0.996956 -0.00143625 0.0985187 0.299345 0.0008625 C -0.00143625 -0.1007 -1.095186 -0.995231 -1.196749 -1.592888 " transform="matrix(0,1,1,0,80.7882,61.90378)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 62.6695 17.007375 C 62.6695 19.483938 59.993719 21.49175 56.692937 21.49175 C 53.392156 21.49175 50.716375 19.483938 50.716375 17.007375 C 50.716375 14.530813 53.392156 12.526906 56.692937 12.526906 C 59.993719 12.526906 62.6695 14.530813 62.6695 17.007375 Z M 62.6695 17.007375 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph1-1" x="91.96" y="54.197"/>
<use xlink:href="#glyph1-2" x="93.728162" y="54.197"/>
<use xlink:href="#glyph1-3" x="95.471667" y="54.197"/>
</g>
<g clip-path="url(#clip7)" clip-rule="nonzero">
<path style="fill-rule:nonzero;fill:rgb(55.488586%,52.549744%,0%);fill-opacity:0.5;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 49.607 -7.086375 L 63.778875 -7.086375 L 63.778875 7.0855 L 49.607 7.0855 Z M 49.607 -7.086375 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
</g>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-9" x="88.596" y="72.858"/>
<use xlink:href="#glyph0-16" x="93.5773" y="72.858"/>
<use xlink:href="#glyph0-12" x="96.34491" y="72.858"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 56.692937 12.327688 L 56.692937 7.745656 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.196749 1.593067 C -1.095186 0.995411 -0.00143625 0.10088 0.299345 -0.0006825 C -0.00143625 -0.0983388 -1.095186 -0.996776 -1.196749 -1.594433 " transform="matrix(0,1,1,0,94.96162,61.90378)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 76.845281 17.007375 C 76.845281 19.483938 74.1695 21.49175 70.868719 21.49175 C 67.564031 21.49175 64.88825 19.483938 64.88825 17.007375 C 64.88825 14.530813 67.564031 12.526906 70.868719 12.526906 C 74.1695 12.526906 76.845281 14.530813 76.845281 17.007375 Z M 76.845281 17.007375 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph1-1" x="106.133" y="54.197"/>
<use xlink:href="#glyph1-2" x="107.901162" y="54.197"/>
<use xlink:href="#glyph1-3" x="109.644667" y="54.197"/>
</g>
<g clip-path="url(#clip8)" clip-rule="nonzero">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(92.549133%,0%,54.899597%);fill-opacity:0.5;" d="M 102.046875 76.734375 L 116.222656 76.734375 L 116.222656 62.5625 L 102.046875 62.5625 Z M 102.046875 76.734375 "/>
</g>
<g clip-path="url(#clip9)" clip-rule="nonzero">
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 63.778875 -7.086375 L 77.954656 -7.086375 L 77.954656 7.0855 L 63.778875 7.0855 Z M 63.778875 -7.086375 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
</g>
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
<use xlink:href="#glyph0-11" x="102.769" y="72.858"/>
<use xlink:href="#glyph0-16" x="107.7503" y="72.858"/>
<use xlink:href="#glyph0-17" x="110.51791" y="72.858"/>
</g>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 70.868719 12.327688 L 70.868719 7.745656 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.196749 1.595469 C -1.095186 0.997812 -0.00143625 0.099375 0.299345 0.00171875 C -0.00143625 -0.0998438 -1.095186 -0.994375 -1.196749 -1.595938 " transform="matrix(0,1,1,0,109.135,61.90378)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.00153125 35.233938 C 0.00153125 24.823781 28.345281 32.101125 28.345281 22.148 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.194293 1.592231 C -1.096636 0.994575 0.00102 0.100044 0.297895 -0.00151875 C 0.00102 -0.099175 -1.096636 -0.997613 -1.194293 -1.595269 " transform="matrix(0,1,1,0,66.6148,47.49898)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 14.173406 35.233938 C 14.173406 28.74175 28.345281 28.183156 28.345281 22.148 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.194293 1.592231 C -1.096636 0.994575 0.00102 0.100044 0.297895 -0.00151875 C 0.00102 -0.099175 -1.096636 -0.997613 -1.194293 -1.595269 " transform="matrix(0,1,1,0,66.6148,47.49898)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 28.345281 35.233938 C 28.345281 28.74175 42.521062 28.183156 42.521062 22.148 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.194293 1.594612 C -1.096636 0.996956 0.00102 0.0985187 0.297895 0.0008625 C 0.00102 -0.1007 -1.096636 -0.995231 -1.194293 -1.592888 " transform="matrix(0,1,1,0,80.7882,47.49898)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 42.521062 35.233938 C 42.521062 28.74175 28.345281 28.183156 28.345281 22.148 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.194293 1.592231 C -1.096636 0.994575 0.00102 0.100044 0.297895 -0.00151875 C 0.00102 -0.099175 -1.096636 -0.997613 -1.194293 -1.595269 " transform="matrix(0,1,1,0,66.6148,47.49898)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 56.692937 35.233938 C 56.692937 30.745656 56.692937 26.17925 56.692937 22.148 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.194293 1.593067 C -1.096636 0.995411 0.00102 0.10088 0.297895 -0.0006825 C 0.00102 -0.0983388 -1.096636 -0.996776 -1.194293 -1.594433 " transform="matrix(0,1,1,0,94.96162,47.49898)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 70.868719 35.233938 C 70.868719 28.74175 56.692937 28.183156 56.692937 22.148 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.194293 1.593067 C -1.096636 0.995411 0.00102 0.10088 0.297895 -0.0006825 C 0.00102 -0.0983388 -1.096636 -0.996776 -1.194293 -1.594433 " transform="matrix(0,1,1,0,94.96162,47.49898)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 85.040594 35.233938 C 85.040594 28.74175 70.868719 28.183156 70.868719 22.148 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.194293 1.595469 C -1.096636 0.997812 0.00102 0.099375 0.297895 0.00171875 C 0.00102 -0.0998438 -1.096636 -0.994375 -1.194293 -1.595938 " transform="matrix(0,1,1,0,109.135,47.49898)"/>
<path style="fill:none;stroke-width:0.3985;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 99.212469 35.233938 C 99.212469 24.823781 70.868719 32.101125 70.868719 22.148 " transform="matrix(1,0,0,-1,38.268,69.648)"/>
<path style="fill:none;stroke-width:0.31879;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -1.194293 1.595469 C -1.096636 0.997812 0.00102 0.099375 0.297895 0.00171875 C 0.00102 -0.0998438 -1.096636 -0.994375 -1.194293 -1.595938 " transform="matrix(0,1,1,0,109.135,47.49898)"/>
</g>
</svg>
\def\indices{{0, 0, 1, 0, 2, 2, 3, 3}}
\def\inputs{{5, 1, 7, 2, 3, 2, 1, 3}}
\def\outputs{{2.1, 0, 0.7, 1.4}}
\def\colors{{"cyan", "orange", "olive", "magenta"}}
\def\numberInputs{7}
\def\numberOutputs{3}
\def\operation{std}
\input{template}
Scatter Std
===========
.. automodule:: torch_scatter
.. autofunction:: scatter_std
...@@ -15,7 +15,7 @@ if CUDA_HOME is not None: ...@@ -15,7 +15,7 @@ if CUDA_HOME is not None:
['cuda/scatter.cpp', 'cuda/scatter_kernel.cu']) ['cuda/scatter.cpp', 'cuda/scatter_kernel.cu'])
] ]
__version__ = '1.0.5' __version__ = '1.1.0'
url = 'https://github.com/rusty1s/pytorch_scatter' url = 'https://github.com/rusty1s/pytorch_scatter'
install_requires = [] install_requires = []
...@@ -36,5 +36,4 @@ setup( ...@@ -36,5 +36,4 @@ setup(
tests_require=tests_require, tests_require=tests_require,
ext_modules=ext_modules, ext_modules=ext_modules,
cmdclass=cmdclass, cmdclass=cmdclass,
packages=find_packages(), packages=find_packages(), )
)
from itertools import product
import pytest
import torch
from torch_scatter import scatter_std
from .utils import grad_dtypes as dtypes, devices, tensor
biass = [True, False]
@pytest.mark.parametrize('dtype,device,bias', product(dtypes, devices, biass))
def test_std(dtype, device, bias):
src = tensor([[2, 0, 1, 4, 3], [0, 2, 1, 3, 4]], dtype, device)
index = tensor([[0, 0, 0, 0, 0], [1, 1, 1, 1, 1]], torch.long, device)
out = scatter_std(src, index, dim=-1, unbiased=bias)
expected = src.std(dim=-1, unbiased=bias)
assert out.tolist() == [[expected[0].item(), 0], [0, expected[0].item()]]
...@@ -7,7 +7,7 @@ from .std import scatter_std ...@@ -7,7 +7,7 @@ from .std import scatter_std
from .max import scatter_max from .max import scatter_max
from .min import scatter_min from .min import scatter_min
__version__ = '1.0.5' __version__ = '1.1.0'
__all__ = [ __all__ = [
'scatter_add', 'scatter_add',
......
...@@ -13,7 +13,7 @@ def scatter_add(src, index, dim=-1, out=None, dim_size=None, fill_value=0): ...@@ -13,7 +13,7 @@ def scatter_add(src, index, dim=-1, out=None, dim_size=None, fill_value=0):
| |
Sums all values from the :attr:`src` tensor into :attr:`out` at the indices Sums all values from the :attr:`src` tensor into :attr:`out` at the indices
specified in the :attr:`index` tensor along an given axis :attr:`dim`. For specified in the :attr:`index` tensor along a given axis :attr:`dim`. For
each value in :attr:`src`, its output index is specified by its index in each value in :attr:`src`, its output index is specified by its index in
:attr:`input` for dimensions outside of :attr:`dim` and by the :attr:`input` for dimensions outside of :attr:`dim` and by the
corresponding value in :attr:`index` for dimension :attr:`dim`. If corresponding value in :attr:`index` for dimension :attr:`dim`. If
......
...@@ -39,7 +39,7 @@ def scatter_div(src, index, dim=-1, out=None, dim_size=None, fill_value=1): ...@@ -39,7 +39,7 @@ def scatter_div(src, index, dim=-1, out=None, dim_size=None, fill_value=1):
| |
Divides all values from the :attr:`src` tensor into :attr:`out` at the Divides all values from the :attr:`src` tensor into :attr:`out` at the
indices specified in the :attr:`index` tensor along an given axis indices specified in the :attr:`index` tensor along a given axis
:attr:`dim`.If multiple indices reference the same location, their :attr:`dim`.If multiple indices reference the same location, their
**contributions divide** (`cf.` :meth:`~torch_scatter.scatter_add`). **contributions divide** (`cf.` :meth:`~torch_scatter.scatter_add`).
......
...@@ -42,7 +42,7 @@ def scatter_max(src, index, dim=-1, out=None, dim_size=None, fill_value=0): ...@@ -42,7 +42,7 @@ def scatter_max(src, index, dim=-1, out=None, dim_size=None, fill_value=0):
| |
Maximizes all values from the :attr:`src` tensor into :attr:`out` at the Maximizes all values from the :attr:`src` tensor into :attr:`out` at the
indices specified in the :attr:`index` tensor along an given axis indices specified in the :attr:`index` tensor along a given axis
:attr:`dim`.If multiple indices reference the same location, their :attr:`dim`.If multiple indices reference the same location, their
**contributions maximize** (`cf.` :meth:`~torch_scatter.scatter_add`). **contributions maximize** (`cf.` :meth:`~torch_scatter.scatter_add`).
The second return tensor contains index location in :attr:`src` of each The second return tensor contains index location in :attr:`src` of each
......
...@@ -15,7 +15,7 @@ def scatter_mean(src, index, dim=-1, out=None, dim_size=None, fill_value=0): ...@@ -15,7 +15,7 @@ def scatter_mean(src, index, dim=-1, out=None, dim_size=None, fill_value=0):
| |
Averages all values from the :attr:`src` tensor into :attr:`out` at the Averages all values from the :attr:`src` tensor into :attr:`out` at the
indices specified in the :attr:`index` tensor along an given axis indices specified in the :attr:`index` tensor along a given axis
:attr:`dim`.If multiple indices reference the same location, their :attr:`dim`.If multiple indices reference the same location, their
**contributions average** (`cf.` :meth:`~torch_scatter.scatter_add`). **contributions average** (`cf.` :meth:`~torch_scatter.scatter_add`).
......
...@@ -42,7 +42,7 @@ def scatter_min(src, index, dim=-1, out=None, dim_size=None, fill_value=0): ...@@ -42,7 +42,7 @@ def scatter_min(src, index, dim=-1, out=None, dim_size=None, fill_value=0):
| |
Minimizes all values from the :attr:`src` tensor into :attr:`out` at the Minimizes all values from the :attr:`src` tensor into :attr:`out` at the
indices specified in the :attr:`index` tensor along an given axis indices specified in the :attr:`index` tensor along a given axis
:attr:`dim`.If multiple indices reference the same location, their :attr:`dim`.If multiple indices reference the same location, their
**contributions maximize** (`cf.` :meth:`~torch_scatter.scatter_add`). **contributions maximize** (`cf.` :meth:`~torch_scatter.scatter_add`).
The second return tensor contains index location in :attr:`src` of each The second return tensor contains index location in :attr:`src` of each
......
...@@ -39,7 +39,7 @@ def scatter_mul(src, index, dim=-1, out=None, dim_size=None, fill_value=1): ...@@ -39,7 +39,7 @@ def scatter_mul(src, index, dim=-1, out=None, dim_size=None, fill_value=1):
| |
Multiplies all values from the :attr:`src` tensor into :attr:`out` at the Multiplies all values from the :attr:`src` tensor into :attr:`out` at the
indices specified in the :attr:`index` tensor along an given axis indices specified in the :attr:`index` tensor along a given axis
:attr:`dim`.If multiple indices reference the same location, their :attr:`dim`.If multiple indices reference the same location, their
**contributions multiply** (`cf.` :meth:`~torch_scatter.scatter_add`). **contributions multiply** (`cf.` :meth:`~torch_scatter.scatter_add`).
......
...@@ -5,6 +5,45 @@ from torch_scatter.utils.gen import gen ...@@ -5,6 +5,45 @@ from torch_scatter.utils.gen import gen
def scatter_std(src, index, dim=-1, out=None, dim_size=None, unbiased=True): def scatter_std(src, index, dim=-1, out=None, dim_size=None, unbiased=True):
r"""
|
.. image:: https://raw.githubusercontent.com/rusty1s/pytorch_scatter/
master/docs/source/_figures/std.svg?sanitize=true
:align: center
:width: 400px
|
Computes the standard-deviation from all values from the :attr:`src` tensor
into :attr:`out` at the indices specified in the :attr:`index` tensor along
a given axis :attr:`dim` (`cf.` :meth:`~torch_scatter.scatter_add`).
For one-dimensional tensors, the operation computes
.. math::
\mathrm{out}_i = \sqrt{\frac{\sum_j {\left( x_j - \overline{x}_i
\right)}^2}{N_i - 1}}
where :math:`\sum_j` is over :math:`j` such that
:math:`\mathrm{index}_j = i`. :math:`N_i` and :math:`\overline{x}_i`
indicate the number of indices referencing :math:`i` and their mean value,
respectively.
Args:
src (Tensor): The source tensor.
index (LongTensor): The indices of elements to scatter.
dim (int, optional): The axis along which to index.
(default: :obj:`-1`)
out (Tensor, optional): The destination tensor. (default: :obj:`None`)
dim_size (int, optional): If :attr:`out` is not given, automatically
create output with size :attr:`dim_size` at dimension :attr:`dim`.
If :attr:`dim_size` is not given, a minimal sized output tensor is
returned. (default: :obj:`None`)
unbiased (bool, optional): If set to :obj:`False`, then the standard-
deviation will be calculated via the biased estimator.
(default: :obj:`True`)
"""
src, out, index, dim = gen(src, index, dim, out, dim_size, fill_value=0) src, out, index, dim = gen(src, index, dim, out, dim_size, fill_value=0)
tmp = scatter_add(src, index, dim, None, dim_size) tmp = scatter_add(src, index, dim, None, dim_size)
...@@ -15,6 +54,6 @@ def scatter_std(src, index, dim=-1, out=None, dim_size=None, unbiased=True): ...@@ -15,6 +54,6 @@ def scatter_std(src, index, dim=-1, out=None, dim_size=None, unbiased=True):
var = var * var var = var * var
out = scatter_add(var, index, dim, out, dim_size) out = scatter_add(var, index, dim, out, dim_size)
out = out / (count - 1 if unbiased else count).clamp(min=1) out = out / (count - 1 if unbiased else count).clamp(min=1)
out = torch.sqrt(out.clamp(min=1e-12)) out = torch.sqrt(out)
return out return out
...@@ -13,7 +13,7 @@ def scatter_sub(src, index, dim=-1, out=None, dim_size=None, fill_value=0): ...@@ -13,7 +13,7 @@ def scatter_sub(src, index, dim=-1, out=None, dim_size=None, fill_value=0):
| |
Subtracts all values from the :attr:`src` tensor into :attr:`out` at the Subtracts all values from the :attr:`src` tensor into :attr:`out` at the
indices specified in the :attr:`index` tensor along an given axis indices specified in the :attr:`index` tensor along a given axis
:attr:`dim`.If multiple indices reference the same location, their :attr:`dim`.If multiple indices reference the same location, their
**negated contributions add** (`cf.` :meth:`~torch_scatter.scatter_add`). **negated contributions add** (`cf.` :meth:`~torch_scatter.scatter_add`).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment