MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / stop

Method stop

examples/tensorflow/common_utils/common.py:121–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119 raise Exception("cudaProfilerStart() return %d " %ret)
120
121 def stop(self):
122 ret = self.profiler.cudaProfilerStop()
123 if ret != 0:
124 raise Exception("cudaProfilerStop() return %d " %ret)
125
126def print_abs_mean(node, tensor, info = ""):
127 return tf.Print(node, ["[INFO] {} abs mean".format(info),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected