Skip to main content

TensorMath.concat

Function

Concatenates inTensorA and inTensorB along the specified axis and puts the result to the outTensor.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

concat(inTensorA, inShapeA, inTensorB, inShapeB, axis, outTensor): void

Concatenates inTensorA and inTensorB along the specified axis and puts the result to the outTensor. Input arrays have to have same dimension along other 2 axes.

Parameters

ParameterType
inTensorAFloat32Array
inShapeAvec3
inTensorBFloat32Array
inShapeBvec3
axisnumber
outTensorFloat32Array

Returns

void