pascal2007_obj_detection_example.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:antgo 作者: jianzfb 项目源码 文件源码
def smooth_l1(x):
    l2 = 0.5 * (x**2.0)
    l1 = tf.abs(x) - 0.5

    condition = tf.less(tf.abs(x), 1.0)
    re = tf.where(condition, l2, l1)

    return re
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号