class_docstr: A3C model where the policy and V-function share parameters.
  
  Args:
      shared (Link): Shared part. Nonlinearity must be included in it.
      pi (Policy): Policy that receives output of shared as input.
      v (VFunction): V-function that receives output of shared as input.
class_docstr_tok: ["A3C","model","where","the","policy","and","V-function","share","parameters",".","Args",":","shared","(","Link",")",":","Shared","part",".","Nonlinearity","must","be","included","in","it",".","pi","(","Policy",")",":","Policy","that","receives","output","of","shared","as","input",".","v","(","VFunction",")",":","V-function","that","receives","output","of","shared","as","input","."]
code: def __init__(self, shared, pi, v):
      super().__init__(shared=shared, pi=pi, v=v)
  
imports: import copy
  from logging import getLogger
  import chainer
  from chainer import functions
  import numpy
  from chainerrl import agent
  from chainerrl.misc import async_
  from chainerrl.misc.batch_states import batch_states
  from chainerrl.misc import copy_param
  from chainerrl.recurrent import Recurrent
  from chainerrl.recurrent import RecurrentChainMixin
  from chainerrl.recurrent import state_kept
label_desc: Use image node_id 1 to create a new A3CSharedModel object from inherited base classes: chainer, A3CModel, RecurrentChainMixin with example: obj = A3CSharedModel(shared, pi, v)