# tf.contrib.graph_editor.TransformerInfo

<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/graph_editor/transform.py#L194-L316) |

"Contains information about the result of a transform operation.

    tf.contrib.graph_editor.TransformerInfo(
        info
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `info` | an instance of Transformer._TmpInfo containing various internal information about the transform operation. |

<br />

## Methods

### `original`

[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/graph_editor/transform.py#L281-L297)

    original(
        transformed, missing_fn=None
    )

Return the original op/tensor corresponding to the transformed one.

Note that the output of this function mimics the hierarchy
of its input argument `transformed`.
Given an iterable, it returns a list. Given an operation or a tensor,
it will return an operation or a tensor.

<br />

<br />

<br />

| Args ||
|---|---|
| `transformed` | the transformed tensor/operation. |
| `missing_fn` | function handling the case where the counterpart cannot be found. By default, None is returned. |

<br />

<br />

<br />

<br />

| Returns ||
|---|---|
| the original tensor/operation (or None if no match is found). ||

<br />

### `transformed`

[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/graph_editor/transform.py#L263-L279)

    transformed(
        original, missing_fn=None
    )

Return the transformed op/tensor corresponding to the original one.

Note that the output of this function mimics the hierarchy
of its input argument `original`.
Given an iterable, it returns a list. Given an operation or a tensor,
it will return an operation or a tensor.

<br />

<br />

<br />

| Args ||
|---|---|
| `original` | the original tensor/operation. |
| `missing_fn` | function handling the case where the counterpart cannot be found. By default, None is returned. |

<br />

<br />

<br />

<br />

| Returns ||
|---|---|
| the transformed tensor/operation (or None if no match is found). ||

<br />