meshed.ext.gk_tests

Tests for gk.py

class meshed.ext.gk_tests.Mul(name: str = 'None', needs: list | None = None, provides: list | None = None, params: dict = <factory>)[source]
compute(inputs)[source]

This method must be implemented to perform this layer’s feed-forward computation on a given set of inputs. :param list inputs:

A list of Data objects on which to run the layer’s feed-forward computation.

Returns list:

Should return a list of Data objects representing the results of running the feed-forward computation on inputs.

class meshed.ext.gk_tests.Pow(name: str = 'None', needs: list | None = None, provides: list | None = None, params: dict = <factory>)[source]
compute(inputs)[source]

This method must be implemented to perform this layer’s feed-forward computation on a given set of inputs. :param list inputs:

A list of Data objects on which to run the layer’s feed-forward computation.

Returns list:

Should return a list of Data objects representing the results of running the feed-forward computation on inputs.

class meshed.ext.gk_tests.Sum(name: str = 'None', needs: list | None = None, provides: list | None = None, params: dict = <factory>)[source]
compute(inputs)[source]

This method must be implemented to perform this layer’s feed-forward computation on a given set of inputs. :param list inputs:

A list of Data objects on which to run the layer’s feed-forward computation.

Returns list:

Should return a list of Data objects representing the results of running the feed-forward computation on inputs.