deephyper.core.exceptions.nas package

Submodules

deephyper.core.exceptions.nas.space module

exception deephyper.core.exceptions.nas.space.InputShapeOfWrongType(input_shape)[source]

Bases: deephyper.core.exceptions.nas.NASError

Raised when an input shape of a search_space is of a wrong type.

exception deephyper.core.exceptions.nas.space.NodeAlreadyAdded(node)[source]

Bases: deephyper.core.exceptions.nas.NASError

Raised when a node has already been added in a search_space.

exception deephyper.core.exceptions.nas.space.StructureHasACycle(msg)[source]

Bases: deephyper.core.exceptions.nas.NASError

Raised when a search_space is containing a cycle.

exception deephyper.core.exceptions.nas.space.WrongOutputShape(tensor, expected_shape)[source]

Bases: deephyper.core.exceptions.nas.NASError

Raised when the output shape of the model generated by a search_space doesn’t match the expected shape.

exception deephyper.core.exceptions.nas.space.WrongSequenceToSetOperations(sequence_given, sequence_valid)[source]

Bases: deephyper.core.exceptions.nas.NASError

Raised when a sequence of actions is not of the same lenght as the number of variable nodes of the search_space.

Module contents

Neural architecture search exceptions.

exception deephyper.core.exceptions.nas.NASError[source]

Bases: deephyper.core.exceptions.DeephyperError

Root neural architecture search exception.