def serialize(self, indent: int = 0) -> str: """Serialize function (compute graph) to a JSON string. :param indent: set indent of serialized output :return: serialized model """ return serialize(self.function, indent)
def serialize(self, indent=0): # type: (int) -> str """Serialize function (compute graph) to a JSON string. :param indent: set indent of serialized output :return: serialized model """ return serialize(self.function, indent)
def serialize(self): # type: () -> str """Serialize function (compute graph) to a JSON string.""" return serialize(self.function)