code: def test_model_compute_call_method(lightning_squeezenet1_1_obj):
      comp1 = ClassificationInferenceComposable(
          lightning_squeezenet1_1_obj
      )
      img = torch.arange(195075).reshape((1, 255, 255, 3))
      tag = None
      out_res, out_img = comp1(img, tag)
      assert out_res.item() == 753
  
file_path: lightning-flash/tests/core/serve/test_components.py
imports: import pytest
  import torch
  from flash.core.serve.types import Label
  from flash.core.utilities.imports import _TOPIC_SERVE_AVAILABLE
  from tests.core.serve.models import ClassificationInferenceComposable, LightningSqueezenet
label_desc: Use image node_id 1 for calling a global function with example usage: test_model_compute_call_method(lightning_squeezenet1_1_obj) without return types