# tf.compat.v1.AttrValue

<br />

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

A ProtocolMessage

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `b` | `bool b` |
| `f` | `float f` |
| `func` | `NameAttrList func` |
| `i` | `int64 i` |
| `list` | `ListValue list` |
| `placeholder` | `string placeholder` |
| `s` | `bytes s` |
| `shape` | `TensorShapeProto shape` |
| `tensor` | `TensorProto tensor` |
| `type` | `DataType type` |

<br />

## Child Classes

[`class ListValue`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/compat/v1/AttrValue/ListValue)