MCPcopy Create free account
hub / github.com/NVIDIA/DALI / _tensor_to_string

Function _tensor_to_string

dali/python/nvidia/dali/tensors.py:31–39  ·  view source on GitHub ↗

Returns string representation of Tensor. Parameters ---------- show_data : bool, optional Access and format the underlying data, by default True

(self, show_data=True)

Source from the content-addressed store, hash-verified

29
30
31def _tensor_to_string(self, show_data=True):
32 """Returns string representation of Tensor.
33
34 Parameters
35 ----------
36 show_data : bool, optional
37 Access and format the underlying data, by default True
38 """
39 return format_tensor(self, show_data=show_data, adapter=PipelineTensorAdapter())
40
41
42def _tensorlist_to_string(self, show_data=True, indent=""):

Callers

nothing calls this directly

Calls 2

format_tensorFunction · 0.90

Tested by

no test coverage detected