• Prints information about the tf.Tensor including its data.

    const verbose = true;
    tf.tensor2d([1, 2, 3, 4], [2, 2]).print(verbose);

    Type Parameters

    Parameters

    • x: T

      The tensor to be printed.

    • Optional verbose: boolean

      Whether to print verbose information about the Tensor, including dtype and size.

    Returns void

    Doc

Generated using TypeDoc