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

Function _create_ta

modelzoo/features/multihash_variable/dien/script/rnn.py:720–723  ·  view source on GitHub ↗
(name, dtype)

Source from the content-addressed store, hash-verified

718 base_name = scope
719
720 def _create_ta(name, dtype):
721 return tensor_array_ops.TensorArray(dtype=dtype,
722 size=time_steps,
723 tensor_array_name=base_name + name)
724
725 output_ta = tuple(_create_ta("output_%d" % i,
726 _infer_state_dtype(dtype, state))

Callers 1

_dynamic_rnn_loopFunction · 0.70

Calls 1

TensorArrayMethod · 0.80

Tested by

no test coverage detected