Skip to content

MetaOperator setBackend requires implementation for every node inside

When registering a MetaOperator every member should have an implementation.

Can be bypass by setting dummy implmentations:

@ExportLibAidgeARM.register("Pad2D", aidge_core.ImplSpec(aidge_core.IOSpec(aidge_core.dtype.any)))
class Pad_ARMCortexM(ExportNodeCpp):
    def __init__(self, node, mem_info, is_input, is_output):
        raise NotImplementedError("Pad2D nodes is not implemented")

This issue plan on updating setBackend() for MetaOperator to use a MetaOperator implementation if registered.