View source on GitHub |
Writes input schema to a file in text format.
tfdv.write_schema_text(
schema: schema_pb2.Schema, output_path: Text
) -> None
Used in the notebooks
Used in the tutorials |
---|
Args | |
---|---|
schema
|
A Schema protocol buffer. |
output_path
|
File path to write the input schema. |
Raises | |
---|---|
TypeError
|
If the input schema is not of the expected type. |