Home
last modified time | relevance | path

Searched refs:require_static (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Dimage_ops_impl.py124 def _Check3DImage(image, require_static=True): argument
144 if require_static and not image_shape.is_fully_defined():
178 _Check3DImage(image, require_static=False), image)
200 _CheckAtLeast3DImage(image, require_static=False), image)
203 def _CheckAtLeast3DImage(image, require_static=True): argument
226 if require_static and not image_shape.is_fully_defined():
266 _CheckGrayscaleImage(image, require_static=False), image)
269 def _CheckGrayscaleImage(image, require_static=True): argument
292 if require_static and not image_shape.is_fully_defined():
1067 assert_ops = _CheckAtLeast3DImage(image, require_static=False)
[all …]