code: def NoUpsampling(shorten_factor, d_model, *args, **kwargs):
      del d_model, args, kwargs
  
      return core.Fn(
          "ReturnZero",
          lambda x: jnp.zeros(  # pylint: disable=g-long-lambda
              (x.shape[0], x.shape[1] * shorten_factor, x.shape[2]),
              dtype=x.dtype,
          ),
      )
  
file_path: trax/trax/layers/research/resampling.py
imports: from trax.fastmath import numpy
  from trax.layers import combinators
  from trax.layers import core
  from trax.layers.normalization import LayerNorm
  from trax.layers.pooling import AvgPool
  from trax.layers.research.rel_attention import RelativeAttentionLMLayer
label_desc: Use image node_id 5 for calling a global function with example usage: NoUpsampling(shorten_factor, d_model) and returns: core