code: def test_default_strategies(tmpdir):
      num_classes = 10
      ds = DummyDataset()
      model = ImageClassifier(num_classes, backbone="resnet50")
  
      trainer = Trainer(fast_dev_run=2)
      trainer.fit(model, train_dataloader=DataLoader(ds))
  
imports: import os
  from pathlib import Path
  import pytest
  import torch
  from flash import Trainer
  from flash.core.data.io.input import DataKeys
  from flash.core.utilities.imports import _LEARN2LEARN_AVAILABLE, _TOPIC_IMAGE_AVAILABLE
  from flash.image import ImageClassificationData, ImageClassifier
  from flash.image.classification.adapters import TRAINING_STRATEGIES
  from torch.utils.data import DataLoader
  from tests.image.classification.test_data import _rand_image
label_desc: Use image node_id 1 for calling a global function with example usage: test_default_strategies(tmpdir) without return types