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

Function attn_rnn_cell

tensorflow/contrib/learn/python/learn/models.py:387–393  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

385
386 if attn_length is not None:
387 def attn_rnn_cell():
388 return contrib_rnn.AttentionCellWrapper(
389 rnn_cell(),
390 attn_length=attn_length,
391 attn_size=attn_size,
392 attn_vec_size=attn_vec_size,
393 state_is_tuple=False)
394 else:
395 attn_rnn_cell = rnn_cell
396

Callers 1

rnn_estimatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected