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

Method foo

tensorflow/python/eager/function_test.py:283–284  ·  view source on GitHub ↗
(ones)

Source from the content-addressed store, hash-verified

281 # it receives will be [1], [[1]], [[[1]]], ...
282 @def_function.function(experimental_relax_shapes=True)
283 def foo(ones):
284 return bar(array_ops.shape(ones))
285
286 for rank in range(1, 6):
287 x_shape = self.evaluate(foo(array_ops.ones([1] * rank)))

Callers

nothing calls this directly

Calls 5

barFunction · 0.85
shapeMethod · 0.45
_shape_tupleMethod · 0.45
assign_addMethod · 0.45
read_valueMethod · 0.45

Tested by

no test coverage detected