MCPcopy Create free account
hub / github.com/tensorflow/tfjs / Count

Method Count

tfjs-backend-wasm/tools/cpplint.py:1054–1057  ·  view source on GitHub ↗

Count line in current function body.

(self)

Source from the content-addressed store, hash-verified

1052 self.current_function = function_name
1053
1054 def Count(self):
1055 """Count line in current function body."""
1056 if self.in_a_function:
1057 self.lines_in_function += 1
1058
1059 def Check(self, error, filename, linenum):
1060 """Report if too many lines in function body.

Callers 1

CheckForFunctionLengthsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected