class_docstr: Keras layer for generating achors for a given shape.
      
class_docstr_tok: ["Keras","layer","for","generating","achors","for","a","given","shape","."]
code: def compute_output_shape(self, input_shape):
      if None not in input_shape[1:]:
          if keras.backend.image_data_format() == "channels_first":
              total = np.prod(input_shape[2:4]) * self.num_anchors
          else:
              total = np.prod(input_shape[1:3]) * self.num_anchors
  
          return (input_shape[0], total, 4)
      else:
          return (input_shape[0], None, 4)
  
imports: import tensorflow
  from tensorflow import keras
  from ..None import backend
  from ..utils import anchors
  import numpy
label_desc: Use image node_id 3 for calling the Anchors obj's underlying member method code with example usage: obj.compute_output_shape(input_shape) and returns: input_shape,  total,  int, input_shape,  None,  int