Method Concat
Concat(TensorShape, int)
Creates a TensorShape by concatenating this TensorShape with other along a given axis. The dimensions of the shapes must be equal, except at axis.
For example if this is (2, 3, 4, 5), other is (2, 2, 4, 5), and the value of axis is 1, the method returns (2, 5, 4, 5).
Declaration
public TensorShape Concat(TensorShape other, int axis)
Parameters
| Type | Name | Description |
|---|---|---|
| TensorShape | other | The other tensor shape which which to concatenate. |
| int | axis | The axis along which to concatenate. |
Returns
| Type | Description |
|---|---|
| TensorShape | The concatenated tensor shape. |