Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tfio.experimental.serialization.encode_avro

View source on GitHub

Encode Tendsors into Avro string.

tfio.experimental.serialization.encode_avro(
    data, schema, name=None
)

Args:

  • data: A list of Tensors to encode.
  • schema: A string of the Avro schema.
  • name: A name for the operation (optional).

Returns:

An Avro-encoded string Tensor.