diff --git a/doc/design/python_api.md b/doc/design/python_api.md index 08255db6e9753be3fdf8f3d291848efae824571f..05875eeb21811027bdf0423667ae0047600ecb0b 100644 --- a/doc/design/python_api.md +++ b/doc/design/python_api.md @@ -108,7 +108,8 @@ class Variable(object): -```pythonVclass Parameter(Variable): +```python +class Parameter(Variable): def __init__(self, trainable, initialize_attrs, optimize_attrs): pass ```