MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / bar

Method bar

tensorflow/python/eager/function_test.py:276–278  ·  view source on GitHub ↗
(x_shape)

Source from the content-addressed store, hash-verified

274 # receives will be [1], [2], [3], ...
275 @def_function.function(experimental_relax_shapes=True)
276 def bar(x_shape):
277 got_shape[0] = x_shape._shape_tuple()
278 return x_shape
279
280 # The outer function will not go through shape relaxation because the shapes
281 # it receives will be [1], [[1]], [[[1]]], ...

Callers

nothing calls this directly

Calls 2

_shape_tupleMethod · 0.45
constantMethod · 0.45

Tested by

no test coverage detected