View source on GitHub |
Encode Tensors 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. |