vgslify.parser package
Submodules
vgslify.parser.tf_parser module
- vgslify.parser.tf_parser.tf_to_spec(model)[source]
Convert a Keras model to a VGSL spec string.
- Parameters:
model (tf.keras.models.Model) – Keras model to be converted.
- Returns:
VGSL spec string.
- Return type:
str
- Raises:
ValueError – If the model contains unsupported layers or if the input shape is invalid.