• Computes the outer product of two vectors, v1 and v2.

    const a = tf.tensor1d([1, 2, 3]);
    const b = tf.tensor1d([3, 4, 5]);

    tf.outerProduct(a, b).print();

    Parameters

    Returns Tensor2D

    Doc

Generated using TypeDoc