Searched refs:is_main (Results 1 – 4 of 4) sorted by relevance
357 def _run_server(self, is_main): argument366 if is_main:374 if is_main:395 def _run_client(self, is_main): argument401 if is_main:426 if is_main:517 self._run_server(is_main=True)520 self._run_client(is_main=False)544 self._run_client(is_main=True)547 self._run_server(is_main=False)
27 is_main <- (length(sys.frames()) == 0) globalVar31 if (is_main) {262 if (is_main) {
58 mlir::Builder* builder, bool is_main);151 const xla::HloComputation& computation, bool is_main);
245 mlir::Builder* builder, bool is_main) { in ImportAsFunc() argument247 return importer.ImportAsFunc(computation, is_main).status(); in ImportAsFunc()259 const HloComputation& computation, bool is_main) { in ImportAsFunc() argument261 is_main ? "main" : SanitizeFunctionName(computation.name()); in ImportAsFunc()