original_docstring: 
          creates a copy of previous_vw under a new name
  
          the main use case for this is for wrapper nodes which just pass
          their input as their output
          
docstring: creates a copy of previous_vw under a new name
  the main use case for this is for wrapper nodes which just pass
  their input as their output
docstring_tokens: creates a copy of previous_vw under a new name the main use case for this is for wrapper nodes which just pass their input as their output
code: def copy_vw(self, name, previous_vw, tags=None):
          """
          creates a copy of previous_vw under a new name
  
          the main use case for this is for wrapper nodes which just pass
          their input as their output
          """
          variable = previous_vw.variable
          if utils.is_shared_variable(variable):
              # creating a "copy"of the variable
              # ---
              # rationale: shared variables are seen as normal variables
              # (so shared variables aren't accidentaly owned by multiple nodes)
              # ---
              # why tensor_copy? theano.compile.view_op doesn't support Rop
              variable = T.tensor_copy(variable)
          return self.create_vw(
              name,
              variable=variable,
              shape=previous_vw.shape,
              tags=tags,
          )
code_tokens: def copy_vw ( self , name , previous_vw , tags = None ) : variable = previous_vw . variable if utils . is_shared_variable ( variable ) : variable = T . tensor_copy ( variable ) return self . create_vw ( name , variable = variable , shape = previous_vw . shape , tags = tags , )
short_docstring: creates a copy of previous_vw under a new name
  the main use case for this is for wrapper nodes which just pass
  their input as their output
short_docstring_tokens: creates a copy of previous_vw under a new name the main use case for this is for wrapper nodes which just pass their input as their output
comment: """
          creates a copy of previous_vw under a new name
  
          the main use case for this is for wrapper nodes which just pass
          their input as their output
          """$SEP$# creating a "copy"of the variable$SEP$# ---$SEP$# rationale: shared variables are seen as normal variables$SEP$# (so shared variables aren't accidentaly owned by multiple nodes)$SEP$# ---$SEP$# why tensor_copy? theano.compile.view_op doesn't support Rop