upsampler

Attributes

plugin_name

Classes

MyPlugin

Module Contents

upsampler.plugin_name = 'upsampler'
class upsampler.MyPlugin
mla
unpack_shapes
output_shapes
frame_count = 0
run(input_buffers: List[python_plugin_template.SimaaiPythonBuffer], output_buffer: bytes) None

Define your plugin logic HERE Inputs: input_buffers List[SimaaiPythonBuffer]: List of input buffers Object of class SimaaiPythonBuffer has three fields: 1. metadata MetaStruct Refer to the structure above 2. data bytes - raw bytes of the incoming buffer 3. size int - size of incoming buffer in bytes

preprocess(l_image, r_image)
apply_colormap(outputflow)
run_model(in_tensor)
unpack_buffer(single_buffer)