MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / zeros_like

Function zeros_like

tensorflow/python/ops/array_ops.py:1476–1524  ·  view source on GitHub ↗

Creates a tensor with all elements set to zero. Given a single tensor (`tensor`), this operation returns a tensor of the same type and shape as `tensor` with all elements set to zero. Optionally, you can use `dtype` to specify a new type for the returned tensor. For example: ```python

(tensor, dtype=None, name=None, optimize=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

shape_internalFunction · 0.85
name_scopeMethod · 0.80
in_eager_modeMethod · 0.80
is_fully_definedMethod · 0.80
zerosFunction · 0.70
deviceMethod · 0.45

Tested by

no test coverage detected