Skip to content

Commit 96536ea

Browse files
authored
remove instruction for save_field_meta (#8627)
1 parent f68e87b commit 96536ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/learn/optimization/optimizers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ After running a program through an optimizer, it's useful to also save it. At a
212212
optimized_program.save(YOUR_SAVE_PATH)
213213
```
214214

215-
The resulting file is in plain-text JSON format. It contains all the parameters and steps in the source program. You can always read it and see what the optimizer generated. You can add `save_field_meta` to additionally save the list of fields with the keys, `name`, `field_type`, `description`, and `prefix` with: `optimized_program.save(YOUR_SAVE_PATH, save_field_meta=True).
215+
The resulting file is in plain-text JSON format. It contains all the parameters and steps in the source program. You can always read it and see what the optimizer generated.
216216

217217

218218
To load a program from a file, you can instantiate an object from that class and then call the load method on it.

0 commit comments

Comments
 (0)