# tensorflow::ops::SerializeManySparse::Attrs

`#include <sparse_ops.h>`

Optional attribute setters for [SerializeManySparse](https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/serialize-many-sparse#classtensorflow_1_1ops_1_1_serialize_many_sparse).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/serialize-many-sparse/attrs#structtensorflow_1_1ops_1_1_serialize_many_sparse_1_1_attrs_1a103b0e2b4cbdf31cd2a307acf57dbe36 = DT_STRING` | `DataType` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/serialize-many-sparse/attrs#structtensorflow_1_1ops_1_1_serialize_many_sparse_1_1_attrs_1a32e663890123166d61bfb4d64f0cdee6(DataType x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/serialize-many-sparse/attrs#structtensorflow_1_1ops_1_1_serialize_many_sparse_1_1_attrs` The `dtype` to use for serialization; the supported types are `string` (default) and `variant`. |

## Public attributes

### out_type_

```
DataType tensorflow::ops::SerializeManySparse::Attrs::out_type_ = DT_STRING
```

## Public functions

### OutType

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::SerializeManySparse::Attrs::OutType(
  DataType x
)
```
The `dtype` to use for serialization; the supported types are `string` (default) and `variant`.

Defaults to DT_STRING