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

Function _eff_body

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

Source from the content-addressed store, hash-verified

169 return op_encoder_result
170
171 def _eff_body(from_tensor):
172 eff_encoder_result = ft_encoder_opennmt(inputs=from_tensor,
173 encoder_args=eff_encoder_args,
174 encoder_vars_dict=encoder_variables_dict,
175 sequence_length=sequence_length)
176 return eff_encoder_result
177
178 def _tf_body(from_tensor):
179 tf_encoder_result = tf_encoder_opennmt(input_tensor=from_tensor,

Callers

nothing calls this directly

Calls 1

ft_encoder_opennmtFunction · 0.90

Tested by

no test coverage detected