zoukankan      html  css  js  c++  java
  • 常用的tensorflow函数

    在mask_rcnn常用的函数

    1  tf.cast():    https://blog.csdn.net/dss875914213/article/details/86558407

    2 tf.gather :               https://blog.csdn.net/guotong1988/article/details/53172882 

    3 tf.boolean_mask:            https://blog.csdn.net/m0_37393514/article/details/81674489

    4  tf.where():                https://blog.csdn.net/ustbbsy/article/details/79564828

    5 tf.gather_nd()       多维上进行索引 https://blog.csdn.net/Cyiano/article/details/76087747

    a = tf.Variable([[1,2,3,4,5], [6,7,8,9,10], [11,12,13,14,15]])
    index_a = tf.Variable([[0,2], [0,4], [2,2]])

    print(sess.run(tf.gather_nd(a, index_a)))

    # [ 3 5 13]

    6 tf.image.crop_and_resize的使用  ROI Pooling层:https://blog.csdn.net/m0_38024332/article/details/81779544

     

  • 相关阅读:
    js自动小轮播
    js字符串
    工资
    可是姑娘,你为什么要编程呢?
    程序猿媳妇儿注意事项
    js勾选时显示相应内容
    js点击显示隐藏
    js选项卡
    js数组
    js旋转V字俄罗斯方块
  • 原文地址:https://www.cnblogs.com/shuimuqingyang/p/10641960.html
Copyright © 2011-2022 走看看