You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
He Wei
7d9a783993
[auto-monad] Support side-effects by auto-monad
...
The basic idea is: exploits data dependency to control the execution order
of side-effect operations, and keep the semantics of ANF unchanged.
The ControlDepend primitive is removed and there are two primitives added:
1. UpdateState:
```
a = Assign(para, value)
```
became:
```
a = Assign(para, value, u)
u = UpdateState(u, a)
```
2. Load:
```
x = Add(para, value)
```
became:
```
p = Load(para, u)
x = Add(p, value)
u = UpdateState(u, p)
```
4 years ago
..
engine
clean pylint
5 years ago
ge
Change TensorAdd to Add, from r1.1 to master
4 years ago
nn
add raises description for BCELoss, ReLU, BatchNorm1d, etc. operators.
4 years ago
ops
Change tuple_getitem to TupleGetItem and some other ops, merge from r1.1 to master
4 years ago
vm
clean pylint
5 years ago
__init__.py
clean pylint
5 years ago
test_backend.py
Change TensorAdd to Add, from r1.1 to master
4 years ago
test_bprop.py
Fix pylint warning for files under `pynative_mode` directory.
5 years ago
test_cont_cases.py
[auto-monad] Support side-effects by auto-monad
4 years ago
test_context.py
Modify the profiling_options parameter name
4 years ago
test_framstruct.py
support non tensor inputs
4 years ago
test_graph_param_cases.py
[auto-monad] Support side-effects by auto-monad
4 years ago
test_graph_return_const_param.py
clean pylint
5 years ago
test_high_order_grad.py
support non tensor inputs
4 years ago
test_hook.py
mod_SoftmaxCrossEntropyWithLogits
5 years ago
test_implicit_conversion.py
Change TensorAdd to Add, from r1.1 to master
4 years ago
test_insert_grad_of.py
Add more log when collect graph and use summary operators
4 years ago
test_kw_and_kwarg.py
remove name arg from gradoperation
5 years ago
test_multi_grad.py
[auto-monad] Support side-effects by auto-monad
4 years ago
test_multigraph_sink.py
remove redundant phi
5 years ago
test_parse_method.py
support non tensor inputs
4 years ago
test_partial.py
support int64 shape
4 years ago
test_pynative_model.py
mod_SoftmaxCrossEntropyWithLogits
5 years ago
test_remove_unnecessary_phi.py
remove loop can unroll flag, clean some python usage
5 years ago
test_sparse_pynative.py
[auto-monad] Support side-effects by auto-monad
4 years ago
test_staging.py
Change TensorAdd to Add, from r1.1 to master
4 years ago
test_stop_gradient.py
Add pynative bprop nested grad
4 years ago
test_training.py
clean pylint
5 years ago
test_tuple_parameter.py
Change TensorAdd to Add, from r1.1 to master
4 years ago
test_user_define_bprop_check.py
check user define bprop when there is parameter in nested network
5 years ago