get_defaults_to_none¶ class tensordict.get_defaults_to_none(set_to_none: bool = True)¶ 返回 get 默认值的状态。