MCPcopy Create free account
hub / github.com/alibaba/nann / dimension_at_index

Function dimension_at_index

tensorflow/tensorflow/python/framework/tensor_shape.py:134–177  ·  view source on GitHub ↗

Compatibility utility required to allow for both V1 and V2 behavior in TF. Until the release of TF 2.0, we need the legacy behavior of `TensorShape` to coexist with the new behavior. This utility is a bridge between the two. If you want to retrieve the Dimension instance corresponding to a c

(shape, index)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

DimensionClass · 0.70

Tested by

no test coverage detected