parameters: (value, name=None, **kwargs)
return_statement: return tensor
docstring: Construct a Tensor initialized with ``value``.
  
      Parameters
      ----------
      value : basic type, list or numpy.ndarray
          The numerical values.
      name : str
          The name of tensor.
  
      Returns
      -------
      Tensor
          The initialized tensor.
docstring_summary: Construct a Tensor initialized with ``value``.
docstring_tokens: Construct a Tensor initialized with value .
function: def shared(value, name=None, **kwargs):
      """Construct a Tensor initialized with ``value``.
  
      Parameters
      ----------
      value : basic type, list or numpy.ndarray
          The numerical values.
      name : str
          The name of tensor.
  
      Returns
      -------
      Tensor
          The initialized tensor.
  
      """
      if not isinstance(value, (int, float, list, np.ndarray)):
          raise TypeError("Unsupported type of value: {}".format(type(value)))
      if name is None: name = GetTensorName()
  
      tensor = Tensor(name).Variable()
      ws.FeedTensor(tensor, value)
      return tensor
function_tokens: def shared ( value , name = None , * * kwargs ) : if not isinstance ( value , ( int , float , list , np . ndarray ) ) : raise TypeError ( "Unsupported type of value: {}" . format ( type ( value ) ) ) if name is None : name = GetTensorName ( ) tensor = Tensor ( name ) . Variable ( ) ws . FeedTensor ( tensor , value ) return tensor