Created by: wangyang59
- Exposed gather/expand/pad ops to python
- Made variable name consistent between
scatter
andgather
. I chose to useindex
instead ofids
because lots of other files usedindex
like scatter.h and gather.h. - Removed the check of type consistency in
layer_function_generator.py
so thatgather
andscatter
ops can be called directly since the type of InputIndex
is integer andX
can be float. - Corrected the documentation/comment in
scatter
op. It should be an update/replace operation instead of an add operation.