class_docstr: Parent class for checks that compare two datasets.
  
  The class checks train dataset and test dataset for model training and test.
class_docstr_tok: ["Parent","class","for","checks","that","compare","two","datasets",".","The","class","checks","train","dataset","and","test","dataset","for","model","training","and","test","."]
docstr: Compute final check result based on accumulated internal state.
docstr_tok: ["Compute","final","check","result","based","on","accumulated","internal","state","."]
code: def compute(self, context: Context) -> CheckResult:
      """Compute final check result based on accumulated internal state."""
      raise NotImplementedError()
  
imports: from typing import Any
  from deepchecks.core.check_result import CheckResult
  from deepchecks.core.checks import DatasetKind, ModelOnlyBaseCheck, SingleDatasetBaseCheck, TrainTestBaseCheck
  from deepchecks.utils.ipython import ProgressBarGroup
  from deepchecks.vision import deprecation_warnings
  from deepchecks.vision._shared_docs import docstrings
  from deepchecks.vision.context import Context
  from deepchecks.vision.vision_data import VisionData
  from deepchecks.vision.vision_data.batch_wrapper import BatchWrapper
label_desc: Use image node_id 4 for calling the TrainTestCheck obj's underlying member method code with example usage: obj.compute(context) without return types