Mentions légales du service

Skip to content
Snippets Groups Projects

Deep Learning Boxes

Open PEPI Alex requested to merge apepi/extras:development into development
Files
26
import torch
class MyOVBox(OVBox):
def __init__(self):
OVBox.__init__(self)
def initialize(self):
print("Nothing to do in init")
def process(self):
for i in range(len(self.input[1])):
chunk = self.input[1].pop()
if (type(chunk) == OVSignalBuffer):
print(chunk)
# if (type(chunk) == OVStimulationSet):
# for stim in range(len(chunk)):
# s = chunk.pop()
# print(s.identifier)
box = MyOVBox()
Loading