8.1.1.2.1.2.1.1. blueoil.converter.frontend.base

Base IO module.

8.1.1.2.1.2.1.1.1. Module Contents

8.1.1.2.1.2.1.1.1.1. Classes

BaseIO

Base class for model IO.

class blueoil.converter.frontend.base.BaseIO

Base class for model IO.

abstract read(self, path: str) → Graph

Read a model.

Parameters

path (str) – Path to the file to be read

abstract write(self, graph: Graph, path: str) → None

Write the model to a file.

Parameters

model (Model) – Model to be written