# tf.NodeDef

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/core/framework/node_def.proto) |

A ProtocolMessage

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.NodeDef`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/NodeDef)

<br />

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `attr` | `repeated AttrEntry attr` |
| `device` | `string device` |
| `experimental_debug_info` | `ExperimentalDebugInfo experimental_debug_info` |
| `input` | `repeated string input` |
| `name` | `string name` |
| `op` | `string op` |

<br />

## Child Classes

[`class AttrEntry`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/NodeDef/AttrEntry)

[`class ExperimentalDebugInfo`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/NodeDef/ExperimentalDebugInfo)