Spaces:
Running
Running
Download backend/contract/course_example.json from nhamid289/autodiff-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.1 kB
-
https://huggingface.co/spaces/nhamid289/autodiff-dev/resolve/main/backend/contract/course_example.json
- Command line
-
hf download hf://spaces/nhamid289/autodiff-dev/backend/contract/course_example.json
-
curl -L -o course_example.json https://huggingface.co/spaces/nhamid289/autodiff-dev/resolve/main/backend/contract/course_example.json
1.1 kB
| { | |
| "description": "The function from the course slides: inputs are numbered first, then operations", | |
| "calls": { | |
| "handle_set_function": { | |
| "args": { | |
| "expression": "exp(x1) + x1*x2" | |
| }, | |
| "result": { | |
| "inputs": [ | |
| "x1", | |
| "x2" | |
| ], | |
| "constants": {}, | |
| "nodes": [ | |
| { | |
| "id": "w1", | |
| "kind": "input", | |
| "name": "x1" | |
| }, | |
| { | |
| "id": "w2", | |
| "kind": "input", | |
| "name": "x2" | |
| }, | |
| { | |
| "id": "w3", | |
| "kind": "op", | |
| "op": "exp", | |
| "args": [ | |
| "w1" | |
| ] | |
| }, | |
| { | |
| "id": "w4", | |
| "kind": "op", | |
| "op": "mul", | |
| "args": [ | |
| "w1", | |
| "w2" | |
| ] | |
| }, | |
| { | |
| "id": "w5", | |
| "kind": "op", | |
| "op": "add", | |
| "args": [ | |
| "w3", | |
| "w4" | |
| ] | |
| } | |
| ], | |
| "output": "w5" | |
| } | |
| } | |
| } | |
| } | |