MCPcopy Create free account
hub / github.com/dengdan/seglink / _ImageDimensions

Function _ImageDimensions

preprocessing/tf_image.py:72–87  ·  view source on GitHub ↗

Returns the dimensions of an image tensor. Args: image: A 3-D Tensor of shape `[height, width, channels]`. Returns: A list of `[height, width, channels]` corresponding to the dimensions of the input image. Dimensions that are statically known are python integers,

(image)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

resize_imageFunction · 0.85

Calls 1

get_shapeMethod · 0.80

Tested by

no test coverage detected