neuron.py 243 Bytes
Newer Older
1
2
3
4
5
from .interface import Platform, PlatformEnum


class NeuronPlatform(Platform):
    _enum = PlatformEnum.NEURON
6
    device_type: str = "neuron"
7
8
9
10

    @classmethod
    def get_device_name(cls, device_id: int = 0) -> str:
        return "neuron"