• Returns the indices of the maximum values along an the channels of inTensor, with the specified inShape. The result is put into outTensor.

    If inShape = {width, height, channels}, then the shape of outTensor should be {1, 2, channels}.

    Parameters

    • inTensor: Float32Array
    • inShape: vec3
    • outTensor: Uint32Array

    Returns void