class_docstr: Keras layer for upsampling a Tensor to be the same shape as another Tensor.
      
class_docstr_tok: ["Keras","layer","for","upsampling","a","Tensor","to","be","the","same","shape","as","another","Tensor","."]
code: def compute_output_shape(self, input_shape):
      if keras.backend.image_data_format() == "channels_first":
          return (input_shape[0][0], input_shape[0][1]) + input_shape[
              1
          ][2:4]
      else:
          return (
              (input_shape[0][0],)
              + input_shape[1][1:3]
              + (input_shape[0][-1],)
          )
  
imports: import tensorflow
  from tensorflow import keras
  from ..None import backend
  from ..utils import anchors
  import numpy
label_desc: Use image node_id 2 for calling the UpsampleLike obj's underlying member method code with example usage: obj.compute_output_shape(input_shape) and returns: unknown, unknown