MCPcopy Create free account
hub / github.com/pytorch/pytorch / LogInfo

Method LogInfo

caffe2/python/core.py:1574–1582  ·  view source on GitHub ↗
(self, *msg_or_blobs)

Source from the content-addressed store, hash-verified

1572 return self
1573
1574 def LogInfo(self, *msg_or_blobs):
1575 for msg_or_blob in msg_or_blobs:
1576 if not isinstance(msg_or_blob, BlobReference):
1577 blob = self.GivenTensorStringFill(
1578 [], self.NextName('log'),
1579 shape=[], values=[msg_or_blob])
1580 else:
1581 blob = msg_or_blob
1582 self.Print(blob, [])
1583
1584 def add_attribute(self, name, obj):
1585 """

Callers 2

debug_netFunction · 0.95
example_taskFunction · 0.80

Calls 2

NextNameMethod · 0.95
isinstanceFunction · 0.85

Tested by 1

example_taskFunction · 0.64