Skip to content

Roboengine

dataphy.visionpack.adapters.roboengine

Classes

RoboEngineAdapter(mode: str = 'texture', max_workers: int = 2, cache: str = None)

Bases: Module

Source code in src/dataphy/visionpack/adapters/roboengine.py
5
6
7
def __init__(self, mode: str = "texture", max_workers: int = 2, cache: str = None):
    super().__init__()
    self.mode, self.max_workers, self.cache = mode, max_workers, cache
Functions
forward(batch)
Source code in src/dataphy/visionpack/adapters/roboengine.py
def forward(self, batch):
    # TODO: call RoboEngine APIs / local lib
    return batch