欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

简单Tensorflow API进行Python语言的快速查找

程序员文章站 2022-07-02 20:10:03
极简Tensorflow API速查–Python语言: ''' Minimalist quick check of Tensorflo...

极简Tensorflow API速查–Python语言:

'''
Minimalist quick check of Tensorflow API -- Base On Python
Author:MXF
Blog: blog.csdn.net/a630895452
'''
import webbrowser as WB
while True:
    str1 = input("Key_Word of TF_API:\n")
    str2 = "www.tensorflow.org/api_docs/python/"

    for i in range(len(str1)):
        if str1[i] == '.':
            str2 += '/'
        else:
            str2 += str1[i]        
    WB.open(str2)

PS:基于默认浏览器打开