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

Function where

tensorflow/python/ops/array_ops.py:2426–2480  ·  view source on GitHub ↗

Return the elements, either from `x` or `y`, depending on the `condition`. If both `x` and `y` are None, then this operation returns the coordinates of true elements of `condition`. The coordinates are returned in a 2-D tensor where the first dimension (rows) represents the number of true el

(condition, x=None, y=None, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_apply_mask_1dFunction · 0.70

Calls 4

name_scopeMethod · 0.80
castMethod · 0.80
in_graph_modeMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected