code: def test_dvc_integrated_basic(shape):
      # test integrated, fully-composed DVC model via run-without-exception
      rng = np.random.default_rng(1234)
      image1 = gen_random_image(shape, rng)
      image2 = gen_random_image(shape, rng)
  
      # test basic forward runs without exception
      model = DVC()
      output = model(image1, image2)
  
      assert output.residual.shape == image2.shape
      assert output.image2_est.shape == image2.shape
      assert tuple(output.flow.shape) == (
          image1.shape[0],
          2,
          image1.shape[2],
          image1.shape[3],
      )
  
file_path: NeuralCompression/tests/test_models.py
imports: import numpy
  import pytest
  import torch
  from utils import create_input
  import neuralcompression.functional
  from neuralcompression.models.deep_video_compression import DVC, DVCCompressionDecoder, DVCCompressionEncoder, DVCMotionCompensationModel, DVCPyramidFlowEstimator
label_desc: Use image node_id 4 for calling a global function with example usage: test_dvc_integrated_basic(shape) without return types