3 from __future__
import absolute_import
4 from __future__
import division
5 from __future__
import print_function
6 from __future__
import unicode_literals
9 def concat(model, blobs_in, blob_out, **kwargs):
11 if kwargs.get(
'order')
and kwargs.get(
'axis'):
15 return model.net.Concat(
17 [blob_out,
"_" + blob_out +
"_concat_dims"],
22 def depth_concat(model, blobs_in, blob_out, **kwargs):
23 """The old depth concat function - we should move to use concat.""" 24 print(
"DepthConcat is deprecated. use Concat instead.")
25 return concat(blobs_in, blob_out, **kwargs)
Module caffe2.python.layers.concat.