# tf.contrib.framework.get_variables_by_suffix

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/framework/python/ops/variables.py#L464-L474) |

Gets the list of variables that end with the given suffix.

    tf.contrib.framework.get_variables_by_suffix(
        suffix, scope=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `suffix` | suffix for filtering the variables to return. |
| `scope` | an optional scope for filtering the variables to return. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| a copied list of variables with the given name and prefix. ||

<br />