Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The op of slice_axis? #3

Open
chenfsjz opened this issue Jul 19, 2017 · 2 comments
Open

The op of slice_axis? #3

chenfsjz opened this issue Jul 19, 2017 · 2 comments

Comments

@chenfsjz
Copy link

hi, I have check the json file of your model, and I found that there is a slice-axis op,but I can't find the implementation of this operation in mxnet/src/operator

@cypw
Copy link
Owner

cypw commented Jul 19, 2017

mxnet/src/operator/matrix_op-inl.h #L843

// slice_axis
MXNET_REGISTER_SIMPLE_OP(slice_axis, XPU)
.set_enable_kwargs(true)
.set_function(XPU::kDevMask, Slice<XPU>,
              kNoInplace, kRegisterSymbolic)
.set_gradient(XPU::kDevMask, SliceGrad_<XPU>, kNoInplace)
.set_shape_function(SliceShape)
.describe("Slice the input along certain axis and return a sliced array.")
.add_arguments(SliceParam::__FIELDS__());

@chenfsjz
Copy link
Author

got it ! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants