tensor.rst 4.07 KB
Newer Older
yuguo's avatar
yuguo committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
oneflow.Tensor
===================================
OneFlow Tensor Class
----------------------------------
.. currentmodule:: oneflow
.. autoclass:: oneflow.Tensor
    :members: abs, 
            acos, 
            acosh, 
            add, 
            add_, 
            addcmul,
            addcmul_,
            addmm,
            amin,
            amax,
            arccos, 
            arccosh, 
            arcsin, 
            arcsinh, 
            arctan, 
            arctanh, 
            argmax, 
            argmin, 
            argsort, 
            argwhere, 
            asin, 
            asinh, 
            atan, 
            atan2, 
            atanh, 
            backward,
            bmm, 
            byte, 
            cast, 
            ceil, 
            chunk,  
            clamp, 
            clamp_,
            clip, 
            clip_, 
            clone, 
            copy_, 
            cos, 
            cosh, 
            cpu, 
            cuda,
            data, 
            dot,
            detach, 
            device, 
            placement,
            sbp,
            diag, 
            diagonal,
            dim, 
            div, 
            div_, 
            double, 
            dtype, 
            element_size, 
            eq, 
            erf, 
            erfc, 
            erfinv, 
            erfinv_, 
            exp, 
            expand, 
            expand_as, 
            expm1, 
            fill_, 
            flatten, 
            flip, 
            float, 
            floor, 
            floor_, 
            fmod,
            gather, 
            ge, 
            gelu, 
            get_device, 
            grad, 
            grad_fn, 
            gt, 
            half,
            in_top_k, 
            index_select,
            int, 
            is_global, 
            is_contiguous, 
            is_cuda, 
            is_floating_point, 
            is_lazy, 
            is_leaf, 
            item, 
            le, 
            log, 
            log1p,
            logical_and,
            logical_or,
            logical_not,
            logical_xor,
            long, 
            lt, 
            masked_fill, 
            masked_select, 
            matmul, 
            mm, 
            mv, 
            max, 
            mean, 
            min, 
            mish, 
            mul, 
            mul_, 
            narrow, 
            ndim, 
            ndimension, 
            ne, 
            negative, 
            nelement, 
            new_empty,
            new_ones, 
            new_zeros,
            nonzero,
            norm, 
            normal_, 
            numel, 
            numpy, 
            permute, 
            pow, 
            prod,
            reciprocal, 
            register_hook, 
            relu,
            repeat,
            repeat_interleave,
            requires_grad,
            requires_grad_,
            reshape, 
            retain_grad,
            roll,
            round, 
            rsqrt, 
            selu, 
            shape, 
            sigmoid, 
            sign, 
            silu, 
            sin, 
            sin_, 
            sinh, 
            size, 
            softmax, 
            softplus, 
            softsign, 
            sort, 
            split, 
            sqrt, 
            square, 
            squeeze, 
            std, 
            storage_offset, 
            stride, 
            sum,
            swapaxes, 
            swapdims, 
            sub, 
            sub_, 
            tan, 
            tanh, 
            tile, 
            to,
            local_to_global,
            global_to_global,
            to_global,
            to_local,
            to_consistent,
            tolist, 
            topk, 
            transpose,
            tril, 
            triu, 
            type_as, 
            type,
            t,
            T,
            unbind, 
            unfold, 
            uniform_, 
            unsqueeze, 
            var, 
            view, 
            view_as, 
            where, 
            zero_, 
            nms,
            pin_memory,
            is_pinned,