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

Function _ft_body

examples/tensorflow/bert/bert_example.py:155–160  ·  view source on GitHub ↗
(from_tensor)

Source from the content-addressed store, hash-verified

153 return tf.constant(True)
154
155 def _ft_body(from_tensor):
156 op_encoder_result = ft_bert(inputs=from_tensor,
157 encoder_args=encoder_args,
158 encoder_vars_dict=encoder_variables_dict,
159 sequence_length=sequence_length)
160 return op_encoder_result
161
162 def _eff_body(from_tensor):
163 eff_encoder_result = ft_bert(inputs=from_tensor,

Callers

nothing calls this directly

Calls 1

ft_bertFunction · 0.90

Tested by

no test coverage detected