MCPcopy Create free account
hub / github.com/alibaba/MNN / _GatherND

Function _GatherND

express/NeuralNetWorkOp.cpp:1004–1008  ·  view source on GitHub ↗

Gather slices from params into a variable with shape specified by indices. Args: params: A variable. The variables from which to gather values. indices: A variable. Must be one of the following types: Halide_Type_Int. Returns: A variable. Has the same type as params. */

Source from the content-addressed store, hash-verified

1002A variable. Has the same type as params.
1003*/
1004VARP _GatherND(VARP params, VARP indices) {
1005 std::unique_ptr<OpT> op(new OpT);
1006 op->type = OpType_GatherND;
1007 return (Variable::create(Expr::create(std::move(op), {params, indices})));
1008}
1009
1010VARP _GatherElements(VARP params, VARP indices) {
1011 std::unique_ptr<OpT> op(new OpT);

Callers 6

onExecuteMethod · 0.85
onExecuteMethod · 0.85
runMethod · 0.85
runMethod · 0.85
_runMethod · 0.85
PyMNNVar_subscriptFunction · 0.85

Calls 1

createFunction · 0.50

Tested by 3

runMethod · 0.68
runMethod · 0.68
_runMethod · 0.68