MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / _val_formatter

Function _val_formatter

python/oneflow/framework/tensor_str.py:213–214  ·  view source on GitHub ↗
(val, formatter1=formatter1)

Source from the content-addressed store, hash-verified

211 )
212
213 def _val_formatter(val, formatter1=formatter1):
214 return formatter1.format(val)
215
216 if summarize and self.size(0) > 2 * PRINT_OPTS.edgeitems:
217 left_values = _try_convert_to_local_tensor(

Callers 1

_vector_strFunction · 0.85

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected