docstr: Return the `torch.device` of the underlying share
docstr_tok: ["Return","the","`","torch.device","`","of","the","underlying","share"]
code: def device(self):
      """Return the `torch.device` of the underlying share"""
      return self.share.device
  
imports: import torch
  from crypten import communicator
  from crypten.common.tensor_types import is_tensor
  from crypten.common.util import torch_stack
  from crypten.config import cfg
  from crypten.cuda import CUDALongTensor
  from ..cryptensor import CrypTensor
  from ..encoder import FixedPointEncoder
  from .primitives.binary import BinarySharedTensor
  from .primitives.converters import convert
  from .ptype import ptype
label_desc: Use image node_id 9 for calling the MPCTensor obj's underlying member method code with example usage: obj.device() and returns: self