作为一个简短的总结,更喜欢使用下面提到的:spawn和:spawn_executable选项。另外两种选择,:spawn_driver并且:fd用于VM内的高级使用。
xla::Compiler:这个类将HLO计算的编译封装为一个xla::Executable。 xla::Executable:该类用于在平台上启动编译的计算。
*/$handle = popen('/path/to/executable 2>&1', 'r');echo "'$handle'; " . gettype($handle) .
executable? executable_real? exist? file? grpowned? owned? pipe? readable? world_readable?

扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2026 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059
粤公网安备44030502008569号
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号
