def restore(self, restored_tensors, unused_restored_shapes):
    "Restores the associated tree ensemble from 'restored_tensors'.\n\n    Args:\n      restored_tensors: the tensors that were loaded from a checkpoint.\n      unused_restored_shapes: the shapes this object should conform to after\n        restore. Not meaningful for trees.\n\n    Returns:\n      The operation that restores the state of the tree ensemble variable.\n    "
    with ops.control_dependencies([self._create_op]):
        return gen_boosted_trees_ops.boosted_trees_deserialize_ensemble(self._resource_handle, stamp_token=restored_tensors[0], tree_ensemble_serialized=restored_tensors[1])
Restores the associated tree ensemble from 'restored_tensors'.

Args:
  restored_tensors: the tensors that were loaded from a checkpoint.
  unused_restored_shapes: the shapes this object should conform to after
    restore. Not meaningful for trees.

Returns:
  The operation that restores the state of the tree ensemble variable.
def restore(self, restored_tensors, unused_restored_shapes):
    "Restores the associated tree ensemble from 'restored_tensors'.\n\n    Args:\n      restored_tensors: the tensors that were loaded from a checkpoint.\n      unused_restored_shapes: the shapes this object should conform to after\n        restore. Not meaningful for trees.\n\n    Returns:\n      The operation that restores the state of the tree ensemble variable.\n    "
    with ops.control_dependencies([self._create_op]):
        return gen_boosted_trees_ops.boosted_trees_deserialize_ensemble(self._resource_handle, stamp_token=restored_tensors[0], tree_ensemble_serialized=restored_tensors[1])