class_docstr: Variable that is (defaults to being) shared between functions that
  it appears in.
  
  Parameters
  ----------
  name : str
      The name for this variable (see `Variable`).
  type : str
      The type for this variable (see `Variable`).
  value
      A value to associate with this variable (a new container will be
      created).
  strict
      True : assignments to .value will not be cast or copied, so they must
      have the correct type.
  allow_downcast
      Only applies if `strict` is False.
      True : allow assigned value to lose precision when cast during
      assignment.
      False : never allow precision loss.
      None : only allow downcasting of a Python float to a scalar floatX.
  container
      The container to use for this variable. Illegal to pass this as well as
      a value.
  
  Notes
  -----
  For more user-friendly constructor, see `shared`.
class_docstr_tok: ["Variable","that","is","(","defaults","to","being",")","shared","between","functions","that","it","appears","in",".","Parameters","--","--","--","--","--","name",":","str","The","name","for","this","variable","(","see","`","Variable","`",")",".","type",":","str","The","type","for","this","variable","(","see","`","Variable","`",")",".","value","A","value","to","associate","with","this","variable","(","a","new","container","will","be","created",")",".","strict","True",":","assignments","to",".value","will","not","be","cast","or","copied",",","so","they","must","have","the","correct","type",".","allow_downcast","Only","applies","if","`","strict","`","is","False",".","True",":","allow","assigned","value","to","lose","precision","when","cast","during","assignment",".","False",":","never","allow","precision","loss",".","None",":","only","allow","downcasting","of","a","Python","float","to","a","scalar","floatX",".","container","The","container","to","use","for","this","variable",".","Illegal","to","pass","this","as","well","as","a","value",".","Notes","--","--","-","For","more","user-friendly","constructor",",","see","`","shared","`","."]
docstr: Get the non-symbolic value associated with this SharedVariable.
  
  Parameters
  ----------
  borrow : bool
      True to permit returning of an object aliased to internal memory.
  return_internal_type : bool
      True to permit the returning of an arbitrary type object used
      internally to store the shared variable.
  
  Only with borrow=False and return_internal_type=True does this function
  guarantee that you actually get the internal object.
  But in that case, you may get different return types when using
  different compute devices.
docstr_tok: ["Get","the","non-symbolic","value","associated","with","this","SharedVariable",".","Parameters","--","--","--","--","--","borrow",":","bool","True","to","permit","returning","of","an","object","aliased","to","internal","memory",".","return_internal_type",":","bool","True","to","permit","the","returning","of","an","arbitrary","type","object","used","internally","to","store","the","shared","variable",".","Only","with","borrow=False","and","return_internal_type=True","does","this","function","guarantee","that","you","actually","get","the","internal","object",".","But","in","that","case",",","you","may","get","different","return","types","when","using","different","compute","devices","."]
code: def get_value(self, borrow=False, return_internal_type=False):
      """
      Get the non-symbolic value associated with this SharedVariable.
  
      Parameters
      ----------
      borrow : bool
          True to permit returning of an object aliased to internal memory.
      return_internal_type : bool
          True to permit the returning of an arbitrary type object used
          internally to store the shared variable.
  
      Only with borrow=False and return_internal_type=True does this function
      guarantee that you actually get the internal object.
      But in that case, you may get different return types when using
      different compute devices.
  
      """
      if borrow:
          return self.container.value
      else:
          return copy.deepcopy(self.container.value)
  
file_path: Theano/theano/compile/sharedvalue.py
imports: from __future__ import absolute_import, print_function, division
  import copy
  import logging
  import numpy
  from theano.gof import Container, Variable, generic, utils
label_desc: Use image node_id 2 for calling the SharedVariable obj's underlying member method code with example usage: obj.get_value(borrow, return_internal_type) and returns: self, copy