MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / get_tensor

Method get_tensor

tensorflow/python/debug/lib/debug_data.py:343–350  ·  view source on GitHub ↗

Get tensor from the dump (`Event`) file. Returns: The tensor loaded from the dump (`Event`) file.

(self)

Source from the content-addressed store, hash-verified

341 return self.__str__()
342
343 def get_tensor(self):
344 """Get tensor from the dump (`Event`) file.
345
346 Returns:
347 The tensor loaded from the dump (`Event`) file.
348 """
349
350 return load_tensor_from_event_file(self.file_path)
351
352 # TODO(cais): Add time unit suffix to timestamp and t0 (us).
353 @property

Calls 1