oneflow.rst 2.8 KB
Newer Older
S
Shenghang Tsai 已提交
1 2
oneflow
===================================
3 4
oneflow
----------------------------------
S
Shenghang Tsai 已提交
5 6
.. currentmodule:: oneflow
.. automodule:: oneflow
7
    :members: adaptive_avg_pool1d, 
X
Xiaoyu Zhang 已提交
8 9 10 11 12 13 14 15 16 17 18 19 20
            adaptive_avg_pool2d, 
            adaptive_avg_pool3d, 
            acos, 
            add, 
            acosh, 
            addmm, 
            arcsin, 
            arcsinh, 
            arccosh, 
            arctan, 
            arctanh, 
            argmax, 
            arange, 
21
            argsort, 
X
Xiaoyu Zhang 已提交
22 23 24 25 26 27 28
            argwhere,
            asin,  
            asinh, 
            atan, 
            atan2, 
            atanh, 
            bernoulli,
Y
Yao Chi 已提交
29
            cat, 
X
Xiaoyu Zhang 已提交
30 31 32
            cast, 
            ceil, 
            chunk, 
33 34
            clamp, 
            clip, 
X
Xiaoyu Zhang 已提交
35 36
            cos, 
            cosh, 
37
            diag, 
X
Xiaoyu Zhang 已提交
38 39 40 41 42 43 44 45 46
            div, 
            eq, 
            equal, 
            expand, 
            eye,
            exp, 
            expm1, 
            erf, 
            erfc, 
47
            flatten, 
X
Xiaoyu Zhang 已提交
48 49 50
            flip, 
            floor, 
            fmod, 
51 52
            gather, 
            gather_nd, 
X
Xiaoyu Zhang 已提交
53 54
            gelu, 
            gt, 
55
            in_top_k, 
Q
QiangX-man 已提交
56
            index_select,
Z
Zhenhua 已提交
57 58
            logical_and,
            logical_or,
L
LYZFU 已提交
59
            logical_xor,
60
            load, 
X
Xiaoyu Zhang 已提交
61 62 63
            log, 
            log1p, 
            lt, 
64
            masked_fill, 
X
Xiaoyu Zhang 已提交
65
            masked_select, 
66
            matmul, 
S
Shijie 已提交
67
            narrow, 
X
Xiaoyu Zhang 已提交
68 69 70 71 72 73 74 75
            max, 
            mean,
            mish,  
            min, 
            meshgrid, 
            mul, 
            neg, 
            negative, 
Z
ZhongHW 已提交
76
            nonzero,
Y
Yinggang Wang 已提交
77
            empty,
78 79
            ones, 
            ones_like, 
Q
QiangX-man 已提交
80 81
            pow,
            prod,  
B
Bowen Chen 已提交
82
            rand,
B
Bowen Chen 已提交
83
            randn,
84 85
            repeat, 
            reshape, 
86
            randperm,
X
Xiaoyu Zhang 已提交
87 88
            reciprocal,
            round,  
89
            save, 
Z
ZZK 已提交
90 91
            scatter,
            scatter_add,
92
            scatter_nd, 
X
Xiaoyu Zhang 已提交
93 94 95
            sin, 
            sinh, 
            sign, 
Z
ZZK 已提交
96 97
            selu, 
            silu, 
98 99
            slice, 
            slice_update, 
Z
ZZK 已提交
100
            softsign, 
101
            sort, 
X
Xiaoyu Zhang 已提交
102 103 104
            softplus, 
            sigmoid, 
            softmax, 
105
            squeeze, 
S
Shijie 已提交
106
            split, 
107
            stack, 
X
Xiaoyu Zhang 已提交
108 109 110 111 112 113 114
            std,
            sub, 
            sum, 
            sqrt, 
            square,  
            tan, 
            tanh, 
115
            tensor, 
X
Xiaoyu Zhang 已提交
116
            tile, 
117 118
            to, 
            transpose, 
X
Xiaoyu Zhang 已提交
119 120 121
            unsqueeze, 
            var, 
            view, 
122 123
            where, 
            zeros, 
Y
Yinggang Wang 已提交
124 125
            zeros_like,
            is_nonzero,
Y
Yinggang Wang 已提交
126 127 128 129
            no_grad,
            grad_enable,
            inference_mode,
            is_grad_enabled,
Y
Yinggang Wang 已提交
130
.. autofunction:: oneflow.data.load_mnist(train_batch_size=100, test_batch_size=100, data_format='NCHW')
G
GehangZhang 已提交
131
.. autofunction:: oneflow.relu