Home
last modified time | relevance | path

Searched refs:compile_mode (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/jit/
Dxla_compilation_cache.cc330 CompileMode compile_mode, in Compile() argument
334 /*ctx=*/nullptr, CompileScope::kFunction, compile_mode, in Compile()
647 bool XlaCompilationCache::ShouldCompileCluster(CompileMode compile_mode, in ShouldCompileCluster() argument
652 if (compile_mode == CompileMode::kLazy) { in ShouldCompileCluster()
654 } else if (compile_mode == CompileMode::kAsync) { in ShouldCompileCluster()
658 if (compile_mode == CompileMode::kStrict) { in ShouldCompileCluster()
667 if (compile_mode == CompileMode::kAsync) { in ShouldCompileCluster()
692 CompileScope scope, CompileMode compile_mode, in CompileImpl() argument
774 if (!ShouldCompileCluster(compile_mode, is_first_execution, in CompileImpl()
778 } else if (compile_mode == CompileMode::kAsync) { in CompileImpl()
Dxla_compilation_cache.h115 CompileMode compile_mode,
169 CompileScope scope, CompileMode compile_mode,
194 bool ShouldCompileCluster(CompileMode compile_mode, bool is_first_execution,
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc242 XlaCompilationCache::CompileMode compile_mode, in CompileToLocalExecutable() argument
279 return cache->Compile(options, function, args, compile_options, compile_mode, in CompileToLocalExecutable()
492 XlaCompilationCache::CompileMode compile_mode = [&] { in Compute() local
515 ctx, function_, has_ref_vars_, platform_info_, args, compile_mode, in Compute()
517 if (compile_mode != XlaCompilationCache::CompileMode::kLazy || in Compute()
/external/python/cpython3/Python/
Dbltinmodule.c755 int compile_mode = -1; in builtin_compile_impl() local
786 compile_mode = 0; in builtin_compile_impl()
788 compile_mode = 1; in builtin_compile_impl()
790 compile_mode = 2; in builtin_compile_impl()
797 compile_mode = 3; in builtin_compile_impl()
824 mod = PyAST_obj2mod(source, arena, compile_mode); in builtin_compile_impl()
840 result = Py_CompileStringObject(str, filename, start[compile_mode], &cf, optimize); in builtin_compile_impl()