def build(self, input_shape): self.input_spec = [InputSpec(shape=input_shape)] super(AnchorBoxes, self).build(input_shape)