tf_quant_finance.experimental.io.decode_array

Contents

Last updated: 2023-03-16.

tf_quant_finance.experimental.io.decode_array#

View source

Decodes a bytestring into a numpy array.

tf_quant_finance.experimental.io.decode_array(
    bytestring
)

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

Args:#

  • bytestring: The serialized TensorProto.

Returns:#

A numpy array.