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

Function _ft_body

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

Source from the content-addressed store, hash-verified

162 return tf.constant(True)
163
164 def _ft_body(from_tensor):
165 op_encoder_result = ft_encoder_opennmt(inputs=from_tensor,
166 encoder_args=encoder_args,
167 encoder_vars_dict=encoder_variables_dict,
168 sequence_length=sequence_length)
169 return op_encoder_result
170
171 def _eff_body(from_tensor):
172 eff_encoder_result = ft_encoder_opennmt(inputs=from_tensor,

Callers

nothing calls this directly

Calls 1

ft_encoder_opennmtFunction · 0.90

Tested by

no test coverage detected