1 #include "caffe2/operators/find_op.h" 8 .IdenticalTypeAndShapeOfInput(1)
9 .Input(0,
"index",
"Index (integers)")
10 .Input(1,
"query",
"Needles / query")
14 "Indices of the needles in index or 'missing value'")
15 .Arg(
"missing_value",
"Placeholder for items that are not found")
17 Finds elements of second input from first input, 18 outputting the last (max) index for each query. 19 If query not find, inserts missing_value. 20 See IndexGet() for a version that modifies the index when 24 REGISTER_CPU_OPERATOR(Find, FindOp<CPUContext>) A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...