function zeros(shape, dtype = "float32") {
    (0, _util.assertNonNegativeIntegerDimensions)(shape);
    if (dtype === "complex64") {
        const real = zeros(shape, "float32");
        const imag = zeros(shape, "float32");
        return (0, _complex.complex)(real, imag);
    }
    const values = (0, _util.makeZerosTypedArray)((0, _util.sizeFromShape)(shape), dtype);
    return (0, _engine.ENGINE).makeTensor(values, shape, dtype);
}
Creates a `tf.Tensor` with all elements set to 0.

```js
tf.zeros([2, 2]).print();
```

@param shape An array of integers defining the output tensor shape.
@param dtype The type of an element in the resulting tensor. Can
    be 'float32', 'int32' or 'bool'. Defaults to 'float'.

@doc {heading: 'Tensors', subheading: 'Creation'}