tensorflow - 如何获取 inter_op 线程号。在 TensorFlow Op 内核中
问题描述
我正在尝试在 Tensorflow Op 内核 esp 中获取 inter_op 线程号。内核的计算函数。
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/concat_op.cc#L62
就像如果我们给 INTER_OP 多于 1,那么在 Op Kernel 内部我们如何知道 inter_op 线程数?
解决方案
推荐阅读
- java - 错误:无法访问 com.google.android.gms.internal.zzeuq 的 zzeuq 类文件,请不要找到
- r - R ggplot2 geom_bar 具有 3 个维度,没有刻面
- python - Google Colab 上的“OSError:没有可用的默认输入设备”
- ios - iOS - 需要为使用相同种子的游戏创建挑战
- python - 有没有办法确定列表的元素是否与另一个列表的元素(相同索引)匹配?
- javascript - 通过http请求mysql插入表后记录丢失
- powershell - 如何在 powershell Get-Counter 脚本中选择进程 ID (PID)?
- makefile - Make中的通配符模式匹配
- javascript - 为什么我的 for 循环没有在其块中注册第一行?
- javascript - 来自html的vuejs pdf