# tf.compat.v1.RunOptions

<br />

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

A ProtocolMessage

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `debug_options` | `DebugOptions debug_options` |
| `experimental` | `Experimental experimental` |
| `inter_op_thread_pool` | `int32 inter_op_thread_pool` |
| `output_partition_graphs` | `bool output_partition_graphs` |
| `report_tensor_allocations_upon_oom` | `bool report_tensor_allocations_upon_oom` |
| `timeout_in_ms` | `int64 timeout_in_ms` |
| `trace_level` | `TraceLevel trace_level` |

<br />

## Child Classes

[`class Experimental`](https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/compat/v1/RunOptions/Experimental)

## Class Variables

- `FULL_TRACE = 3`
- `HARDWARE_TRACE = 2`
- `NO_TRACE = 0`
- `SOFTWARE_TRACE = 1`
- `TraceLevel`