Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ functions
Functions
28,456 in github.com/Oneflow-Inc/oneflow
⨍
Functions
28,456
◇
Types & classes
6,969
↳
Endpoints
179
↓ 3,940 callers
Method
to
(self, annotation)
python/oneflow/test_utils/automated_test_util/generators.py:140
↓ 3,337 callers
Method
at
oneflow/core/common/small_vector.h:34
↓ 3,251 callers
Method
numpy
(self)
python/oneflow/framework/check_point_v2.py:189
↓ 2,105 callers
Function
random_tensor
( ndim=None, dim0=1, dim1=None, dim2=None, dim3=None, dim4=None, low=None, hig
python/oneflow/test_utils/automated_test_util/torch_flow_dual_object.py:1393
↓ 1,798 callers
Method
At
oneflow/user/data/coco_dataset.cpp:24
↓ 1,631 callers
Method
shape_view
oneflow/core/kernel/blob_tensor_view.cpp:25
↓ 1,630 callers
Method
Input
Set input blob of op Args: input_name (str): input name of blob num (int, optional) : Defaults to 1. Returns
python/oneflow/ops/stateful_ops.py:40
↓ 1,446 callers
Method
NumAxes
oneflow/core/common/shape.h:139
↓ 1,441 callers
Method
shape
oneflow/api/cpp/framework/tensor.cpp:57
↓ 1,427 callers
Method
size
oneflow/core/common/range.h:43
↓ 1,395 callers
Method
data_type
oneflow/core/register/blob.h:56
↓ 1,302 callers
Method
to_global
(self, placement=None, sbp=None)
python/oneflow/nn/modules/rnn.py:154
↓ 1,201 callers
Method
Tensor4ArgNameAndIndex
oneflow/user/kernels/stateful_opkernel.cpp:565
↓ 1,150 callers
Method
shape
oneflow/core/framework/tensor_impl.cpp:160
↓ 1,089 callers
Method
device
oneflow/core/vm/stream.h:62
↓ 1,077 callers
Method
end
oneflow/core/common/range.h:38
↓ 918 callers
Method
Output
Output all the elements in the subset
oneflow/core/auto_parallel/binary_set.cpp:111
↓ 841 callers
Method
op
oneflow/core/graph/exec_graph.h:58
↓ 819 callers
Method
elem_cnt
oneflow/user/kernels/slice_util.h:50
↓ 802 callers
Method
find
oneflow/core/functional/function_library.h:71
↓ 752 callers
Method
append
Appends a given module to the end of the list. Arguments: module (nn.Module): module to append
python/oneflow/nn/utils/container.py:165
↓ 741 callers
Function
Get
oneflow/core/ndarray/xpu_transpose_ndarray.h:49
↓ 703 callers
Method
emplace_back
oneflow/core/intrusive/flat_msg_view.h:135
↓ 699 callers
Method
Build
oneflow/core/graph/task_node.cpp:161
↓ 682 callers
Method
size
oneflow/core/framework/attr_map.h:55
↓ 658 callers
Method
NewBuilder
oneflow/core/operator/user_op.cpp:398
↓ 612 callers
Method
At
oneflow/core/common/shape.cpp:28
↓ 590 callers
Method
get
oneflow/core/common/high_order_bool.h:77
↓ 584 callers
Method
Build
oneflow/core/framework/op_builder.cpp:112
↓ 556 callers
Method
InputDType
oneflow/user/kernels/stateful_opkernel.cpp:413
↓ 548 callers
Method
detach
oneflow/core/framework/tensor.cpp:121
↓ 529 callers
Method
value
(self)
python/oneflow/test_utils/automated_test_util/generators.py:102
↓ 526 callers
Method
stream
oneflow/user/kernels/stateful_opkernel.cpp:569
↓ 525 callers
Function
add_docstr
(fun, docstr: str)
python/oneflow/framework/docstr/utils.py:31
↓ 516 callers
Method
push_back
oneflow/core/common/steady_vector.h:72
↓ 485 callers
Method
resize
oneflow/core/job_rewriter/optimizer_placement_optimization_pass.cpp:65
↓ 482 callers
Function
VectorAt
oneflow/core/common/container_util.h:61
↓ 478 callers
Method
backward
(ctx, dy)
python/oneflow/test/modules/test_checkpointing.py:41
↓ 477 callers
Method
begin
oneflow/core/common/range.h:37
↓ 464 callers
Method
placement
(self)
python/oneflow/utils/global_view/global_mode.py:114
↓ 461 callers
Method
MutOutputTensorDesc
oneflow/user/kernels/stateful_opkernel.cpp:370
↓ 456 callers
Method
insert
Insert a given module before a given index in the list. Arguments: index (int): index to insert. modu
python/oneflow/nn/utils/container.py:154
↓ 455 callers
Method
empty
oneflow/core/intrusive/list.h:43
↓ 450 callers
Method
cpu
r""" cpu() Moves all model parameters and buffers to the CPU. .. note:: This method modifies the module
python/oneflow/nn/modules/module.py:1598
↓ 446 callers
Method
SetOutputDType
oneflow/user/kernels/stateful_opkernel.cpp:419
↓ 436 callers
Method
split
(cls, x, axis, split_num)
python/oneflow/nn/modules/conv.py:63
↓ 420 callers
Method
SetAllAttrs
oneflow/core/framework/mutable_attr_map.h:73
↓ 411 callers
Function
slice
(x, begin, size)
python/oneflow/nn/modules/conv.py:28
↓ 406 callers
Method
name
oneflow/api/python/utils/tensor_utils.h:54
↓ 392 callers
Method
to_local
(self)
python/oneflow/nn/modules/module.py:1592
↓ 390 callers
Method
SetOutputShape
oneflow/user/kernels/stateful_opkernel.cpp:387
↓ 379 callers
Method
dtype
oneflow/core/framework/tensor.h:359
↓ 372 callers
Method
Broadcast
oneflow/user/kernels/collective_communication/include/broadcast.h:28
↓ 357 callers
Method
Tensor
oneflow/api/cpp/framework/tensor.cpp:34
↓ 351 callers
Method
set_shape
oneflow/core/common/shape_view.cpp:38
↓ 336 callers
Method
SaveTensorForBackward
oneflow/core/autograd/gradient_funcs/broadcast_binary_ops.cpp:84
↓ 331 callers
Function
GenArgList
(arg_dict)
python/oneflow/test/graph/test_util.py:38
↓ 321 callers
Method
requires_grad
oneflow/core/autograd/autograd_meta.h:51
↓ 309 callers
Method
size
oneflow/core/job/rank_group.h:47
↓ 302 callers
Method
has_input
oneflow/user/kernels/stateful_opkernel.cpp:485
↓ 301 callers
Method
size
oneflow/user/data/gpt_dataset.h:54
↓ 295 callers
Method
Parameter
oneflow/core/framework/tensor.cpp:65
↓ 288 callers
Function
to_string
(*args, **kwargs)
python/oneflow/test_utils/automated_test_util/torch_flow_dual_object.py:226
↓ 287 callers
Method
format
(self, value)
python/oneflow/framework/tensor_str.py:183
↓ 282 callers
Method
nd_sbp
static */
oneflow/core/job/global_mode.cpp:47
↓ 281 callers
Method
is_dynamic
oneflow/core/register/blob_desc.h:74
↓ 279 callers
Method
Count
oneflow/core/common/shape.cpp:36
↓ 267 callers
Method
parallel_desc
static */
oneflow/core/job/global_mode.cpp:54
↓ 256 callers
Method
has_value
oneflow/core/common/optional.h:396
↓ 251 callers
Method
ndim
oneflow/core/framework/tensor.h:50
↓ 250 callers
Method
set_data_type
oneflow/core/register/blob_desc.h:69
↓ 245 callers
Method
outputs
oneflow/core/functional/tensor_processor.h:182
↓ 243 callers
Method
begin
oneflow/core/framework/attr_map.h:96
↓ 241 callers
Method
mut_dptr
oneflow/core/register/blob.h:76
↓ 239 callers
Method
data
oneflow/user/kernels/pocketfft_hdronly.h:267
↓ 238 callers
Method
data_type
oneflow/core/framework/dtype.h:59
↓ 234 callers
Method
TensorDesc4ArgNameAndIndex
oneflow/user/kernels/stateful_opkernel.cpp:373
↓ 233 callers
Method
placement
oneflow/core/autograd/autograd_meta.h:96
↓ 231 callers
Method
size
oneflow/user/kernels/pocketfft_hdronly.h:270
↓ 230 callers
Method
join
r""" Tries to join one or more processes in this spawn context. If one of them exited with a non-zero exit status, this function
python/oneflow/multiprocessing/spawn.py:99
↓ 227 callers
Method
hierarchy
oneflow/core/job/parallel_desc.h:80
↓ 220 callers
Method
device_type
oneflow/user/kernels/stateful_opkernel.cpp:635
↓ 218 callers
Method
data
oneflow/core/framework/tensor.h:379
↓ 215 callers
Method
reset
oneflow/core/common/symbol.h:52
↓ 214 callers
Method
emplace_back
oneflow/core/framework/ordered_string_list.h:33
↓ 213 callers
Method
zeros
oneflow/core/autograd/autograd_meta.cpp:52
↓ 207 callers
Method
dptr
oneflow/core/register/blob.h:70
↓ 194 callers
Method
Get
oneflow/core/framework/dtype.cpp:97
↓ 193 callers
Function
SymbolOf
oneflow/core/common/symbol.h:147
↓ 191 callers
Method
to
python/oneflow/nn/graph/proxy.py:71
↓ 189 callers
Function
list
List all callable entrypoints available in the repo specified by ``github``. Args: github (str): a string with format "repo_owner/re
python/oneflow/hub.py:407
↓ 187 callers
Method
set_is_dynamic
oneflow/core/register/blob_desc.cpp:90
↓ 185 callers
Method
train
(self, mode=True)
python/oneflow/test/expensive/pytorch_levit.py:231
↓ 183 callers
Method
elem_cnt
oneflow/core/common/shape.cpp:23
↓ 181 callers
Method
ptr
oneflow/core/ep/test/test_util.h:56
↓ 169 callers
Method
requires_grad_
r"""Change if autograd should record operations on parameters in this module. The interface is consistent with PyTorch. The do
python/oneflow/nn/modules/module.py:799
↓ 165 callers
Function
GenLogicalBlobName
oneflow/core/operator/operator.h:429
↓ 156 callers
Method
float
r""" float() Casts all floating point parameters and buffers to ``float`` datatype. .. note:: This metho
python/oneflow/nn/modules/module.py:1634
↓ 154 callers
Function
GetSizeOfDataType
oneflow/core/common/data_type.cpp:107
↓ 153 callers
Method
dim
Getters
oneflow/core/framework/tensor.h:48
next →
1–100 of 28,456, ranked by callers