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
..
__init__.py
initial version
5 years ago
test_abs.py
support abs and mean of Tensor
4 years ago
test_astype.py
add array_ops, math_ops and tensor ops
4 years ago
test_call_innetr_net_attr.py
support call inner net attr
4 years ago
test_celllist.py
clean pylint
5 years ago
test_compile.py
clean pylint
5 years ago
test_cont_break.py
clean pylint
5 years ago
test_create_obj.py
Change TensorAdd to Add, from r1.1 to master
4 years ago
test_dictionary.py
get keys and values from dictionary & set tuple to dictionary
4 years ago
test_dtype.py
clean pylint
5 years ago
test_dtype_and_shape_as_attr.py
improve interface '__bool__' for tensor
5 years ago
test_enumerate.py
enumerate function and enumerate test case added
4 years ago
test_equal_two_mstype.py
support two mstypes do equal.
5 years ago
test_expand_as.py
modify Tensor
4 years ago
test_fix_bug.py
add ExpandDims whitelist
5 years ago
test_flatten.py
add array_ops, math_ops and tensor ops
4 years ago
test_for_stmt.py
add support for value sequence of primitve
5 years ago
test_grammar_constraints.py
show line of code when parse or resolve phase exception
4 years ago
test_graph_return_const_param.py
clean pylint
5 years ago
test_if_function.py
support function as condition of if
4 years ago
test_isinstance.py
improve isinstance
4 years ago
test_len_of_array.py
support len of a Tensor
4 years ago
test_list.py
clean pylint
5 years ago
test_mean.py
support abs and mean of Tensor
4 years ago
test_ms_function_pass_non_tensor_inputs.py
add check for outermost net inputs type and support isinstance first arg an empty list
4 years ago
test_operator.py
Fix pylint warning for test cases of optimizer, infer, parse and
5 years ago
test_outermost_net_pass_non_tensor_inputs.py
improve grad of first input
4 years ago
test_parse.py
[auto-monad] Support side-effects by auto-monad
4 years ago
test_partial.py
improve the way passing ags of partial
4 years ago
test_properties.py
add array_ops, math_ops and tensor ops
4 years ago
test_reshape.py
add array_ops, math_ops and tensor ops
4 years ago
test_sequence_assign.py
optimize list getitem in bprop
4 years ago
test_serialize.py
clean pylint
5 years ago
test_structure_output.py
Change TensorAdd to Add, from r1.1 to master
4 years ago
test_super.py
remove the 'raise' in construct of Cell
4 years ago
test_transpose.py
add array_ops, math_ops and tensor ops
4 years ago
test_unaryop.py
initial version
5 years ago
test_view.py
modify Tensor
4 years ago
test_while_param.py
change base class of ref to tensor in cpp
5 years ago