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 call(self, inputs, **kwargs):
      features = inputs
      features_shape = keras.backend.shape(features)
  
      # generate proposals from bbox deltas and shifted anchors
      if keras.backend.image_data_format() == "channels_first":
          anchors = backend.shift(
              features_shape[2:4], self.stride, self.anchors
          )
      else:
          anchors = backend.shift(
              features_shape[1:3], self.stride, self.anchors
          )
      anchors = keras.backend.tile(
          keras.backend.expand_dims(anchors, axis=0),
          (features_shape[0], 1, 1),
      )
  
      return anchors
  
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 Anchors obj's underlying member method code with example usage: obj.call(inputs) and returns: anchors