deephyper.core.exceptions.nas.space

deephyper.core.exceptions.nas.space

Exceptions

InputShapeOfWrongType(input_shape)

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

NASError

Root neural architecture search exception.

NodeAlreadyAdded(node)

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

StructureHasACycle(msg)

Raised when a search_space is containing a cycle.

WrongOutputShape(tensor_shape, expected_shape)

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

WrongSequenceToSetOperations(sequence_given, …)

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