MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / _cond

Function _cond

examples/tensorflow/encoder/encoder_example.py:161–162  ·  view source on GitHub ↗
(from_tensor)

Source from the content-addressed store, hash-verified

159 ite = 50
160
161 def _cond(from_tensor):
162 return tf.constant(True)
163
164 def _ft_body(from_tensor):
165 op_encoder_result = ft_encoder_opennmt(inputs=from_tensor,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected