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