- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for has_ref_vars_ (0.15 sec)
-
tensorflow/compiler/jit/kernels/xla_ops.h
const std::vector<int> constants_; // Indexes of resource inputs const std::vector<int> resources_; const NameAttrList function_; const XlaPlatformInfo platform_info_; bool has_ref_vars_; }; // XlaLocalLaunchOp is used to replace a region of the TensorFlow graph // which will be compiled and executed using XLA. The XlaLocalLaunchOp is // responsible for handling interactions with the TensorFlow executor.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 16 23:44:26 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/jit/kernels/xla_ops.cc
const NameAttrList& function, bool has_ref_vars) : AsyncOpKernel(ctx), constants_(constants), resources_(resources), function_(function), platform_info_(XlaPlatformInfoFromDevice(ctx->device())), has_ref_vars_(has_ref_vars) {} void XlaLocalLaunchBase::ComputeAsync(OpKernelContext* ctx, DoneCallback done) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 41.4K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_compile_util.cc
Status CompileToPjRtLoadedExecutable( const DeviceBase* device, const XlaPlatformInfo& platform_info, const NameAttrList& function, const std::vector<XlaCompiler::Argument>& args, DeviceCompileMode compile_mode, bool has_ref_vars, bool may_alias_resource_update, FunctionLibraryRuntime* flr, ResourceMgr* rm, const XlaCompiler::CompilationResult** compilation_result, xla::PjRtClient** client, xla::PjRtLoadedExecutable** executable) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compiler_options_util_test.cc
XlaCompiler::CompileOptions option1 = GenerateCompileOptions( /*has_ref_vars=*/false, /*may_alias_resource_update=*/false); EXPECT_TRUE(option1.is_entry_computation); EXPECT_FALSE(option1.always_return_tuple); EXPECT_FALSE(option1.alias_resource_update); XlaCompiler::CompileOptions option2 = GenerateCompileOptions( /*has_ref_vars=*/false, /*may_alias_resource_update=*/true);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 29 01:41:20 UTC 2023 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compiler_options_util.cc
bool has_ref_vars, bool may_alias_resource_update) { XlaCompiler::CompileOptions compile_options; compile_options.is_entry_computation = true; // Optimization: where possible, have the computation return a naked array // rather than a one-element tuple. compile_options.always_return_tuple = false; compile_options.alias_resource_update = !has_ref_vars && may_alias_resource_update;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compiler_options_util.h
xla_device_compiler, const FunctionLibraryRuntime& function_library, DeviceBase* device, se::Stream* stream, const XlaPlatformInfo& platform_info, bool has_ref_vars); // Returns created options for XLA compiler when TFRT-TPU is used. XlaCompiler::Options GenerateCompilerOptionsForTfrtTpu( const DeviceCompiler<xla::LocalExecutable, xla::LocalClient>& xla_device_compiler,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 29 01:41:20 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_compile_util.h
const OpKernelContext& ctx, const XlaPlatformInfo& platform_info, const NameAttrList& function, const std::vector<XlaCompiler::Argument>& args, DeviceCompileMode compile_mode, bool has_ref_vars, bool may_alias_resource_update, const XlaCompiler::CompilationResult** compilation_result, xla::PjRtClient** client, xla::PjRtLoadedExecutable** executable);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_compile_util_test.cc
xla::PjRtClient* pjrt_client = nullptr; TF_EXPECT_OK(CompileToPjRtLoadedExecutable( device, platform_info, function, SampleArgsForAddXY(), DeviceCompileMode::kStrict, /*has_ref_vars=*/true, /*may_alias_resource_update=*/true, device_setup.flr(), &resource_mgr, &compilation_result, &pjrt_client, &pjrt_executable)); EXPECT_TRUE(compilation_result != nullptr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 21 23:21:57 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_kernel_creator.cc
flr->graph_def_version(), &s); *kernel = std::make_unique<XlaLocalLaunchBase>( &construction, constant_arg_indices, resource_arg_indices, function, /*has_ref_vars=*/false); return s; } Status XlaKernelCreator::CreateKernel( FunctionLibraryRuntime* flr, const std::shared_ptr<const NodeProperties>& props, std::unique_ptr<OpKernel>* kernel) const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 22:24:01 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compile_on_demand_op.cc
**xla_device_compiler, *ctx->function_library(), ctx->device(), ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr, platform_info_, /*has_ref_vars=*/true); // No detailed logging from on demand op. options.detailed_logging = false; XlaCompiler::CompileOptions compile_options = GetCompileOptions(); return (*xla_device_compiler)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 13.4K bytes - Viewed (0)