MCPcopy Index your code
hub / github.com/pytorch/pytorch / join

Method join

caffe2/python/operator_test/partition_ops_test.py:71–74  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

69 accum.append(data[j])
70
71 def join(a):
72 if not a:
73 return np.empty(shape=(0, ) + suffix_shape)
74 return np.stack(a)
75
76 out.append(join(accum))
77 return out

Callers 15

get_named_summariesFunction · 0.45
test_simple_cnnmodelMethod · 0.45
test_eventsMethod · 0.45
gen_op.pyFile · 0.45
run_test_locallyMethod · 0.45
buildMethod · 0.45
_wait_finishMethod · 0.45
test_allcompareMethod · 0.45
__getattr__Method · 0.45

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected