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

Method add_summary

tensorflow/python/ops/work_queue.py:440–451  ·  view source on GitHub ↗

Gets size of the work queue. Returns: Size of the work queue.

(self)

Source from the content-addressed store, hash-verified

438 return dataset
439
440 def add_summary(self):
441 """Gets size of the work queue.
442
443 Returns:
444 Size of the work queue.
445 """
446 with ops.name_scope(self.name):
447 with ops.device(self._remote_device):
448 size = gen_work_queue_ops.work_queue_size(self._handle)
449 summary.scalar(
450 "{}/fraction_of_{}_full".format(self.name, self._capacity),
451 math_ops.to_float(size) * (1. / self._capacity))
452
453
454class LocalWorkMgr(object):

Callers 15

evalFunction · 0.45
evalFunction · 0.45
evalFunction · 0.45
evalFunction · 0.45
evalFunction · 0.45
evalFunction · 0.45
evalFunction · 0.45
evalFunction · 0.45
evalFunction · 0.45
evalFunction · 0.45
summaryMethod · 0.45
mainFunction · 0.45

Calls 4

name_scopeMethod · 0.45
deviceMethod · 0.45
scalarMethod · 0.45
formatMethod · 0.45

Tested by 1

testSummariesMethod · 0.36