(name, shape, collections=None, validate_shape=True,
                  dtype=dtypes.float32)
return variables.Variable(
            initial_value=array_ops.zeros(shape, dtype=dtype),
            name=name,
            trainable=False,
            collections=collections,
            validate_shape=validate_shape)
Creates a new local variable.
    Args:
        name: The name of the new or existing variable.
        shape: Shape of the new or existing variable.
        collections: A list of collection names to which the Variable will be added.
        validate_shape: Whether to validate the shape of the variable.
        dtype: Data type of the variables.
    Returns:
        The created variable.
Creates a new local variable.
    Args:
        name: The name of the new or existing variable.
        shape: Shape of the new or existing variable.
        collections: A list of collection names to which the Variable will be added.
        validate_shape: Whether to validate the shape of the variable.
        dtype: Data type of the variables.
    Returns:
        The created variable.
Creates a new local variable . Args : name : The name of the new or existing variable . shape : Shape of the new or existing variable . collections : A list of collection names to which the Variable will be added . validate_shape : Whether to validate the shape of the variable . dtype : Data type of the variables . Returns : The created variable .
def _create_local(name, shape, collections=None, validate_shape=True,
                  dtype=dtypes.float32):
    """Creates a new local variable.
    Args:
        name: The name of the new or existing variable.
        shape: Shape of the new or existing variable.
        collections: A list of collection names to which the Variable will be added.
        validate_shape: Whether to validate the shape of the variable.
        dtype: Data type of the variables.
    Returns:
        The created variable.
    """
    # Make sure local variables are added to tf.GraphKeys.LOCAL_VARIABLES
    collections = list(collections or [])
    collections += [ops.GraphKeys.LOCAL_VARIABLES]
    return variables.Variable(
            initial_value=array_ops.zeros(shape, dtype=dtype),
            name=name,
            trainable=False,
            collections=collections,
            validate_shape=validate_shape)
def _create_local ( name , shape , collections = None , validate_shape = True , dtype = dtypes . float32 ) : # Make sure local variables are added to tf.GraphKeys.LOCAL_VARIABLES collections = list ( collections or [ ] ) collections += [ ops . GraphKeys . LOCAL_VARIABLES ] return variables . Variable ( initial_value = array_ops . zeros ( shape , dtype = dtype ) , name = name , trainable = False , collections = collections , validate_shape = validate_shape )