code: def _get_output_shape(output_rank, known_last_dims):
      return [None] * (output_rank - len(known_last_dims)) + list(
          known_last_dims
      )
  
imports: import collections
  import math
  import string
  import numpy
  from keras import constraints
  from keras import initializers
  from keras import ops
  from keras import regularizers
  from keras.api_export import keras_export
  from keras.layers.activations.softmax import Softmax
  from keras.layers.core.einsum_dense import EinsumDense
  from keras.layers.layer import Layer
  from keras.layers.regularization.dropout import Dropout
label_desc: Use image node_id 4 for calling a global function with example usage: _get_output_shape(output_rank, known_last_dims) and returns: unknown