# tensorplay.distributed.nn.api API Source: https://www.tensorplay.cn/docs/api/tensorplay.distributed.nn.api.html ## Functions 1 [#](#api-tensorplay.distributed.nn.api.interface) ### interface function[Full reference ↗](/docs/generated/tensorplay.distributed.nn.api.interface.html) ```python tensorplay.distributed.nn.api.interface(cls: type) → type ``` Mark a class as a remote-method interface. A remote module exposes exactly the forward signature of its interface class; instantiation validates the marker before generating the remote-method bindings.