torch-geopooling 1.1.0__cp312-cp312-macosx_11_0_arm64.whl → 1.1.1__cp312-cp312-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of torch-geopooling might be problematic. Click here for more details.

Binary file
@@ -1,3 +1,3 @@
1
1
  from typing import Final
2
2
 
3
- __version__: Final[str] = "1.1.0"
3
+ __version__: Final[str] = "1.1.1"
@@ -76,6 +76,7 @@ class Embedding2d(nn.Module):
76
76
  padding: Tuple[int, int] = (0, 0),
77
77
  ) -> None:
78
78
  super().__init__()
79
+ self.manifold = manifold
79
80
  self.exterior = cast(ExteriorTuple, tuple(map(float, exterior)))
80
81
  self.padding = padding
81
82
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: torch-geopooling
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: The geospatial pooling modules for neural networks in PyTorch
5
5
  Author-email: Yakau Bubnou <girokompass@gmail.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -768,6 +768,16 @@ input = torch.DoubleTensor(200, 2).uniform_(0.0, 10.0)
768
768
  output = pool(input)
769
769
  ```
770
770
 
771
+ Using 2-dimensional embedding module for learning data on sphere:
772
+ ```py
773
+ import torch
774
+ from torch_geopooling.nn import Embedding2d
775
+
776
+ embedding = Embedding2d((16, 16, 2), padding=(3, 3), exterior=(-100, 100, 200.0, 200.0))
777
+ input = torch.DoubleTensor(1024, 2).normal_(5.0, 1.0)
778
+ output = embedding(input)
779
+ ```
780
+
771
781
  ## License
772
782
 
773
783
  The Torch Geopooling is distributed under GPLv3 license. See the [LICENSE](LICENSE) file for full
@@ -1,5 +1,5 @@
1
- torch_geopooling/_C.cpython-312-darwin.so,sha256=ATpxmHPRqaaAX9SvVua1sCc0Yj4Z0LgTzsMz03Qb0R0,563992
2
- torch_geopooling/__init__.py,sha256=0o5Lnb5ZcEIRNY9AljwW1ESEmQid79rcbBsDBoMT8aM,60
1
+ torch_geopooling/_C.cpython-312-darwin.so,sha256=8C33Ri9xFvYkmXKpmS-bVe3F57Z4E68dfOUqEE3ejGA,563992
2
+ torch_geopooling/__init__.py,sha256=gocbEzjrMP-BkhotjSAi8QMuhKTEaRaMwBD6JC2R9is,60
3
3
  torch_geopooling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  torch_geopooling/return_types.py,sha256=QhIKf_qxpppzuZzUrT-VacfbvZ6zKmSRu-WZOqL8wuE,898
5
5
  torch_geopooling/tiling.py,sha256=f1g0Gf__5zIOafZzDkwO62t9OqMDMBEYVtM2HXB5X0Y,2553
@@ -12,13 +12,13 @@ torch_geopooling/functional/embedding_test.py,sha256=B5a1MP0rynX01a1RmmTJHZxMi4Y
12
12
  torch_geopooling/functional/pooling.py,sha256=MuJfPW_RC4slgzWBO2ngQIBTzlZXeW7DBqV3ooIOSw4,12060
13
13
  torch_geopooling/functional/pooling_test.py,sha256=qBT_WVbwyANolwg7-rE7KimF-bAEDB44guBl4OQuQhE,3005
14
14
  torch_geopooling/nn/__init__.py,sha256=fWrhfQu0_KzW7VUesk31Sy3n3Om2c5g5dGA3vrLcCg4,102
15
- torch_geopooling/nn/embedding.py,sha256=u0H1e_sqFG8ALmnfLpbFwKr_yw-z7MNExmB9-uE0SF0,3317
15
+ torch_geopooling/nn/embedding.py,sha256=3uF0zbtql90FUpRNKJK_oUcdL8_J6mrOpPm-zTJWlX4,3350
16
16
  torch_geopooling/nn/embedding_test.py,sha256=msUeidL9Xkf3AKCPGQH9SJAhfkS7dyqYRzsH88Pt1uY,1505
17
17
  torch_geopooling/nn/pooling.py,sha256=_NnGB45dWTZy4MQokFfmJL3as-EPVU3liwOuAmWbv1Y,14219
18
18
  torch_geopooling/nn/pooling_test.py,sha256=AqnkpaQ6LcQxh5bWkuDuBAJ2XiBc-C2zVuUp5hynzBM,4794
19
- torch_geopooling-1.1.0.dist-info/LICENSE,sha256=jLc4eyvG8hqxH4AdKAjK2DwXoP68qjHiGfq8eP5ubBI,35069
20
- torch_geopooling-1.1.0.dist-info/METADATA,sha256=SnR-sEl9o7dGaskBb2gk0CNU6AydBsta4ZcxFSpuFu8,44371
21
- torch_geopooling-1.1.0.dist-info/WHEEL,sha256=h9jBNgvnuEaix45NgESHvfNcOPGGNEywrbP9Un7hZlk,110
22
- torch_geopooling-1.1.0.dist-info/dependency_links.txt,sha256=JqLDcYHtEaQB51V72n3gAJvRd36bpoPk9qgTbot-Lx4,37
23
- torch_geopooling-1.1.0.dist-info/top_level.txt,sha256=3geTL2nsLvybdtr1psWIE6h63B1LuyIIyWWv0rDafTk,17
24
- torch_geopooling-1.1.0.dist-info/RECORD,,
19
+ torch_geopooling-1.1.1.dist-info/LICENSE,sha256=jLc4eyvG8hqxH4AdKAjK2DwXoP68qjHiGfq8eP5ubBI,35069
20
+ torch_geopooling-1.1.1.dist-info/METADATA,sha256=20wqd_pqv0QO2bIkgG078qmqt3DXXy2Uxk1xrKIKpp8,44675
21
+ torch_geopooling-1.1.1.dist-info/WHEEL,sha256=h9jBNgvnuEaix45NgESHvfNcOPGGNEywrbP9Un7hZlk,110
22
+ torch_geopooling-1.1.1.dist-info/dependency_links.txt,sha256=JqLDcYHtEaQB51V72n3gAJvRd36bpoPk9qgTbot-Lx4,37
23
+ torch_geopooling-1.1.1.dist-info/top_level.txt,sha256=3geTL2nsLvybdtr1psWIE6h63B1LuyIIyWWv0rDafTk,17
24
+ torch_geopooling-1.1.1.dist-info/RECORD,,