class_docstr: 对用户传的 ``dataset`` 进行封装，以便 ``JittorDataLoader`` 能够支持使用自定义的 ``dataset`` 。
class_docstr_tok: ["\u5bf9\u7528\u6237\u4f20\u7684","``","dataset","``","\u8fdb\u884c\u5c01\u88c5\uff0c\u4ee5\u4fbf","``","JittorDataLoader","``","\u80fd\u591f\u652f\u6301\u4f7f\u7528\u81ea\u5b9a\u4e49\u7684","``","dataset","``","\u3002"]
code: def __setstate__(self, state):
      self.__dict__ = state
  
imports: from typing import Callable, Optional, List, Union, Dict, Sequence
  from copy import deepcopy
  import numpy
  from fastNLP.envs.imports import _NEED_IMPORT_JITTOR
  from fastNLP.core.collators import Collator
  from fastNLP.core.dataloaders.utils import indice_collate_wrapper
  from fastNLP.core.dataset import DataSet
  from ..utils import HasLenGetitemType
label_desc: Use image node_id 4 for calling the _JittorDataset obj's underlying member method code with example usage: obj.__setstate__(state) without return types