parent
6db0b79e8b
commit
1c4ea8baa4
After Width: | Height: | Size: 107 KiB |
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.13","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[],"dockerImageVersionId":30698,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"import numpy as np\n\nnp.random.seed(0)\nInput = np.random.rand(3, 3)\nx = np.random.rand(3, 3)\nresidual_output = Input + x\n\nprint(\"Input:\")\nprint(Input)\nprint(\"\\nx:\")\nprint(x)\nprint(\"\\nResidual Output (Input + x):\")\nprint(residual_output)","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2024-05-03T07:41:00.746461Z","iopub.execute_input":"2024-05-03T07:41:00.747477Z","iopub.status.idle":"2024-05-03T07:41:00.756482Z","shell.execute_reply.started":"2024-05-03T07:41:00.747438Z","shell.execute_reply":"2024-05-03T07:41:00.755102Z"},"trusted":true},"execution_count":3,"outputs":[{"name":"stdout","text":"Input:\n[[0.5488135 0.71518937 0.60276338]\n [0.54488318 0.4236548 0.64589411]\n [0.43758721 0.891773 0.96366276]]\n\nx:\n[[0.38344152 0.79172504 0.52889492]\n [0.56804456 0.92559664 0.07103606]\n [0.0871293 0.0202184 0.83261985]]\n\nResidual Output (Input + x):\n[[0.93225502 1.5069144 1.1316583 ]\n [1.11292774 1.34925144 0.71693017]\n [0.52471651 0.9119914 1.79628261]]\n","output_type":"stream"}]},{"cell_type":"code","source":"0.5488135+0.38344152","metadata":{"execution":{"iopub.status.busy":"2024-05-03T07:39:32.098106Z","iopub.execute_input":"2024-05-03T07:39:32.098502Z","iopub.status.idle":"2024-05-03T07:39:32.108109Z","shell.execute_reply.started":"2024-05-03T07:39:32.098466Z","shell.execute_reply":"2024-05-03T07:39:32.106925Z"},"trusted":true},"execution_count":2,"outputs":[{"execution_count":2,"output_type":"execute_result","data":{"text/plain":"0.9322550199999999"},"metadata":{}}]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}
|
Loading…
Reference in new issue