<!--
This file is generated by a tool. Do not edit directly.
For open-source contributions the docs will be updated automatically.
-->

*Last updated: 2023-03-16.*

<div itemscope itemtype="http://developers.google.com/ReferenceObject">
<meta itemprop="name" content="tf_quant_finance.experimental.io.decode_array" />
<meta itemprop="path" content="Stable" />
</div>

# tf_quant_finance.experimental.io.decode_array

<!-- Insert buttons and diff -->

<table class="tfo-notebook-buttons tfo-api" align="left">
</table>

<a target="_blank" href="https://github.com/paolodelia99/tf-quant-finance/blob/main/tf_quant_finance/experimental/io.py">View source</a>



Decodes a bytestring into a numpy array.

```python
tf_quant_finance.experimental.io.decode_array(
    bytestring
)
```



<!-- Placeholder for "Used in" -->

The bytestring should be a serialized `TensorProto` instance. For more details
see `tf.make_tensor_proto`.

#### Args:


* <b>`bytestring`</b>: The serialized `TensorProto`.


#### Returns:

A numpy array.
