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

Function input_pack

tensorflow/python/ops/functional_ops.py:387–388  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

385 input_flatten = lambda x: nest.flatten(x) if input_is_sequence else [x]
386
387 def input_pack(x):
388 return nest.pack_sequence_as(elems, x) if input_is_sequence else x[0]
389
390 if initializer is None:
391 output_is_sequence = input_is_sequence

Callers 1

computeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected