return op.squeeze(children[0], axis)
+def _concatenate(children, attrs, odtype='float32'):
+ axis = attrs.get_int('axis', None)
+ return op.concatenate(children, axis)
+
+
NNVM_OP_2_RELAY_OP = {
'flatten': _nn_batch_flatten,
'dense': _dense,
'strided_slice': _strided_slice,
'split': _split,
'squeeze': _squeeze,
+ 'concatenate': _concatenate,
}
shape_dict : dict of str to shape
The input shape.
- dtype_dict : dict of str to shape
+ dtype_dict : dict of str to str/dtype
The input shape.
params : dict of str to array