def compute_output_shape(self, input_shape):
    input_shape = tensor_shape.TensorShape(input_shape).as_list()
    output_shape = input_shape
    output_shape[(- 1)] = self.projection_biases.shape.as_list()[0]
    return tensor_shape.TensorShape(output_shape)
def compute_output_shape(self, input_shape):
    input_shape = tensor_shape.TensorShape(input_shape).as_list()
    output_shape = input_shape
    output_shape[(- 1)] = self.projection_biases.shape.as_list()[0]
    return tensor_shape.TensorShape(output_shape)