Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_proto
Commits
e1bf7c35
Commit
e1bf7c35
authored
Sep 16, 2023
by
BO ZHANG
🏀
Browse files
tweaks
parent
b60c91f1
Pipeline
#1213
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs/source/demo_type_annotation.ipynb
View file @
e1bf7c35
...
...
@@ -22,7 +22,7 @@
},
{
"cell_type": "code",
"execution_count":
1
,
"execution_count":
5
,
"outputs": [],
"source": [
"a: int = 8 # 整数型标注\n",
...
...
@@ -37,8 +37,8 @@
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2023-09-16T1
1:2
1:
2
8.
77924
3Z",
"start_time": "2023-09-16T1
1:2
1:
2
8.
772041
Z"
"end_time": "2023-09-16T1
3:4
1:
5
8.
83829
3Z",
"start_time": "2023-09-16T1
3:4
1:
5
8.
835728
Z"
}
},
"id": "5fbe06f15bbcd630"
...
...
@@ -67,8 +67,8 @@
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2023-09-16T1
1:24:33.99716
4Z",
"start_time": "2023-09-16T1
1:24:33.9930
38Z"
"end_time": "2023-09-16T1
3:41:58.84518
4Z",
"start_time": "2023-09-16T1
3:41:58.8408
38Z"
}
},
"id": "c9d78355e0521512"
...
...
@@ -102,7 +102,7 @@
},
{
"cell_type": "code",
"execution_count":
10
,
"execution_count":
7
,
"outputs": [],
"source": [
"import numpy as np\n",
...
...
@@ -112,8 +112,8 @@
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2023-09-16T1
1:30:37.052436
Z",
"start_time": "2023-09-16T1
1:30:37.044
Z"
"end_time": "2023-09-16T1
3:41:58.845533
Z",
"start_time": "2023-09-16T1
3:41:58.841932
Z"
}
},
"id": "6ebd28b4f4c84ab4"
...
...
@@ -130,7 +130,7 @@
},
{
"cell_type": "code",
"execution_count":
11
,
"execution_count":
8
,
"outputs": [],
"source": [
"import numpy.typing as npt\n",
...
...
@@ -145,19 +145,23 @@
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2023-09-16T1
1:33:56.755287
Z",
"start_time": "2023-09-16T1
1:33:56.739805
Z"
"end_time": "2023-09-16T1
3:41:58.849149
Z",
"start_time": "2023-09-16T1
3:41:58.847111
Z"
}
},
"id": "36d4e0be053bbd1a"
},
{
"cell_type": "code",
"execution_count":
null
,
"execution_count":
8
,
"outputs": [],
"source": [],
"metadata": {
"collapsed": false
"collapsed": false,
"ExecuteTime": {
"end_time": "2023-09-16T13:41:58.855848Z",
"start_time": "2023-09-16T13:41:58.848965Z"
}
},
"id": "47b6d72d76ee84a1"
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment