code: def test_flip_top_bottom():
      data_in = np.random.uniform(0, 255, (300, 300, 3)).astype(
          dtype=np.uint8
      )
      flip_in = data_in[::-1, :, :]
      data_trans = npx.image.flip_top_bottom(
          np.array(data_in, dtype="uint8")
      )
      assert_almost_equal(flip_in, data_trans.asnumpy())
  
imports: import os
  from collections import namedtuple
  from uuid import uuid4
  import numpy
  import mxnet
  from mxnet import gluon, autograd, np, npx
  from mxnet.test_utils import use_np, assert_almost_equal, check_gluon_hybridize_consistency, same, check_symbolic_backward
  from common import assertRaises, xfail_when_nonstandard_decimal_separator
  import random
  from mxnet.base import MXNetError
  from mxnet.gluon.data.vision import transforms
  from mxnet import image
  import pytest
label_desc: Use image node_id 6 for calling a global function with example usage: test_flip_top_bottom() without return types