.. _tetris_poly:
Tetris Polynomial Example
=========================
In this example we create an *equivariant polynomial* to classify tetris.
We use the following feature of e3nn:
* `e3nn.o3.Irreps`
* `o3.spherical_harmonics`
* `e3nn.o3.FullyConnectedTensorProduct`
And the following features of `pytorch_geometric `_
* `radius_graph `_
* `scatter `_
.. rubric:: the model
.. literalinclude:: ../../examples/tetris_polynomial.py
:lines: 60-107
.. rubric:: training
.. literalinclude:: ../../examples/tetris_polynomial.py
:lines: 111-127
:dedent: 4
Full code `here `_