Skip to content

update docstring or fix constraints in nir_graph_extractor.py #300

@ssinhaleite

Description

@ssinhaleite

Error message on nir_graph_extrator:

if self.dvs_layer.merge_polarities and features != 1:
            raise ValueError(
                f"The 'DVSLayer.merge_polarities' is set to 'True' which means the number of input features should be 1 (current input shape is {dvs_input_shape})."

Evaluate this error and method. It seems a harder constraint is being imposed than the docstring explains.
(Two is the correct option if merge_polarities is False.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions