summaryrefslogtreecommitdiff
path: root/nlp/demo.py
diff options
context:
space:
mode:
authorzhang <zch921005@126.com>2022-04-09 18:37:13 +0800
committerzhang <zch921005@126.com>2022-04-09 18:37:13 +0800
commit33c519cec8bf555767f112f70280840206594bd9 (patch)
tree5bb270ff102c944e3e1efd49cfa57b9b7a22f605 /nlp/demo.py
parent9f45c1775e69b8c0ebc38433777e9e71e81f557b (diff)
更新脚本
Diffstat (limited to 'nlp/demo.py')
-rw-r--r--nlp/demo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nlp/demo.py b/nlp/demo.py
index 9eb7154..0a8a813 100644
--- a/nlp/demo.py
+++ b/nlp/demo.py
@@ -9,6 +9,7 @@ def test1():
print(res)
+
def test2():
fun = lambda x: (x[0]-2)**2 + 4*(x[1]-1)**2
x0 = [0, 0]