MCPcopy Create free account

hub / github.com/Oneflow-Inc/oneflow / functions

Functions28,456 in github.com/Oneflow-Inc/oneflow

↓ 3,940 callersMethodto
(self, annotation)
python/oneflow/test_utils/automated_test_util/generators.py:140
↓ 3,337 callersMethodat
oneflow/core/common/small_vector.h:34
↓ 3,251 callersMethodnumpy
(self)
python/oneflow/framework/check_point_v2.py:189
↓ 2,105 callersFunctionrandom_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 callersMethodAt
oneflow/user/data/coco_dataset.cpp:24
↓ 1,631 callersMethodshape_view
oneflow/core/kernel/blob_tensor_view.cpp:25
↓ 1,630 callersMethodInput
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 callersMethodNumAxes
oneflow/core/common/shape.h:139
↓ 1,441 callersMethodshape
oneflow/api/cpp/framework/tensor.cpp:57
↓ 1,427 callersMethodsize
oneflow/core/common/range.h:43
↓ 1,395 callersMethoddata_type
oneflow/core/register/blob.h:56
↓ 1,302 callersMethodto_global
(self, placement=None, sbp=None)
python/oneflow/nn/modules/rnn.py:154
↓ 1,201 callersMethodTensor4ArgNameAndIndex
oneflow/user/kernels/stateful_opkernel.cpp:565
↓ 1,150 callersMethodshape
oneflow/core/framework/tensor_impl.cpp:160
↓ 1,089 callersMethoddevice
oneflow/core/vm/stream.h:62
↓ 1,077 callersMethodend
oneflow/core/common/range.h:38
↓ 918 callersMethodOutput
Output all the elements in the subset
oneflow/core/auto_parallel/binary_set.cpp:111
↓ 841 callersMethodop
oneflow/core/graph/exec_graph.h:58
↓ 819 callersMethodelem_cnt
oneflow/user/kernels/slice_util.h:50
↓ 802 callersMethodfind
oneflow/core/functional/function_library.h:71
↓ 752 callersMethodappend
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 callersFunctionGet
oneflow/core/ndarray/xpu_transpose_ndarray.h:49
↓ 703 callersMethodemplace_back
oneflow/core/intrusive/flat_msg_view.h:135
↓ 699 callersMethodBuild
oneflow/core/graph/task_node.cpp:161
↓ 682 callersMethodsize
oneflow/core/framework/attr_map.h:55
↓ 658 callersMethodNewBuilder
oneflow/core/operator/user_op.cpp:398
↓ 612 callersMethodAt
oneflow/core/common/shape.cpp:28
↓ 590 callersMethodget
oneflow/core/common/high_order_bool.h:77
↓ 584 callersMethodBuild
oneflow/core/framework/op_builder.cpp:112
↓ 556 callersMethodInputDType
oneflow/user/kernels/stateful_opkernel.cpp:413
↓ 548 callersMethoddetach
oneflow/core/framework/tensor.cpp:121
↓ 529 callersMethodvalue
(self)
python/oneflow/test_utils/automated_test_util/generators.py:102
↓ 526 callersMethodstream
oneflow/user/kernels/stateful_opkernel.cpp:569
↓ 525 callersFunctionadd_docstr
(fun, docstr: str)
python/oneflow/framework/docstr/utils.py:31
↓ 516 callersMethodpush_back
oneflow/core/common/steady_vector.h:72
↓ 485 callersMethodresize
oneflow/core/job_rewriter/optimizer_placement_optimization_pass.cpp:65
↓ 482 callersFunctionVectorAt
oneflow/core/common/container_util.h:61
↓ 478 callersMethodbackward
(ctx, dy)
python/oneflow/test/modules/test_checkpointing.py:41
↓ 477 callersMethodbegin
oneflow/core/common/range.h:37
↓ 464 callersMethodplacement
(self)
python/oneflow/utils/global_view/global_mode.py:114
↓ 461 callersMethodMutOutputTensorDesc
oneflow/user/kernels/stateful_opkernel.cpp:370
↓ 456 callersMethodinsert
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 callersMethodempty
oneflow/core/intrusive/list.h:43
↓ 450 callersMethodcpu
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 callersMethodSetOutputDType
oneflow/user/kernels/stateful_opkernel.cpp:419
↓ 436 callersMethodsplit
(cls, x, axis, split_num)
python/oneflow/nn/modules/conv.py:63
↓ 420 callersMethodSetAllAttrs
oneflow/core/framework/mutable_attr_map.h:73
↓ 411 callersFunctionslice
(x, begin, size)
python/oneflow/nn/modules/conv.py:28
↓ 406 callersMethodname
oneflow/api/python/utils/tensor_utils.h:54
↓ 392 callersMethodto_local
(self)
python/oneflow/nn/modules/module.py:1592
↓ 390 callersMethodSetOutputShape
oneflow/user/kernels/stateful_opkernel.cpp:387
↓ 379 callersMethoddtype
oneflow/core/framework/tensor.h:359
↓ 372 callersMethodBroadcast
oneflow/user/kernels/collective_communication/include/broadcast.h:28
↓ 357 callersMethodTensor
oneflow/api/cpp/framework/tensor.cpp:34
↓ 351 callersMethodset_shape
oneflow/core/common/shape_view.cpp:38
↓ 336 callersMethodSaveTensorForBackward
oneflow/core/autograd/gradient_funcs/broadcast_binary_ops.cpp:84
↓ 331 callersFunctionGenArgList
(arg_dict)
python/oneflow/test/graph/test_util.py:38
↓ 321 callersMethodrequires_grad
oneflow/core/autograd/autograd_meta.h:51
↓ 309 callersMethodsize
oneflow/core/job/rank_group.h:47
↓ 302 callersMethodhas_input
oneflow/user/kernels/stateful_opkernel.cpp:485
↓ 301 callersMethodsize
oneflow/user/data/gpt_dataset.h:54
↓ 295 callersMethodParameter
oneflow/core/framework/tensor.cpp:65
↓ 288 callersFunctionto_string
(*args, **kwargs)
python/oneflow/test_utils/automated_test_util/torch_flow_dual_object.py:226
↓ 287 callersMethodformat
(self, value)
python/oneflow/framework/tensor_str.py:183
↓ 282 callersMethodnd_sbp
static */
oneflow/core/job/global_mode.cpp:47
↓ 281 callersMethodis_dynamic
oneflow/core/register/blob_desc.h:74
↓ 279 callersMethodCount
oneflow/core/common/shape.cpp:36
↓ 267 callersMethodparallel_desc
static */
oneflow/core/job/global_mode.cpp:54
↓ 256 callersMethodhas_value
oneflow/core/common/optional.h:396
↓ 251 callersMethodndim
oneflow/core/framework/tensor.h:50
↓ 250 callersMethodset_data_type
oneflow/core/register/blob_desc.h:69
↓ 245 callersMethodoutputs
oneflow/core/functional/tensor_processor.h:182
↓ 243 callersMethodbegin
oneflow/core/framework/attr_map.h:96
↓ 241 callersMethodmut_dptr
oneflow/core/register/blob.h:76
↓ 239 callersMethoddata
oneflow/user/kernels/pocketfft_hdronly.h:267
↓ 238 callersMethoddata_type
oneflow/core/framework/dtype.h:59
↓ 234 callersMethodTensorDesc4ArgNameAndIndex
oneflow/user/kernels/stateful_opkernel.cpp:373
↓ 233 callersMethodplacement
oneflow/core/autograd/autograd_meta.h:96
↓ 231 callersMethodsize
oneflow/user/kernels/pocketfft_hdronly.h:270
↓ 230 callersMethodjoin
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 callersMethodhierarchy
oneflow/core/job/parallel_desc.h:80
↓ 220 callersMethoddevice_type
oneflow/user/kernels/stateful_opkernel.cpp:635
↓ 218 callersMethoddata
oneflow/core/framework/tensor.h:379
↓ 215 callersMethodreset
oneflow/core/common/symbol.h:52
↓ 214 callersMethodemplace_back
oneflow/core/framework/ordered_string_list.h:33
↓ 213 callersMethodzeros
oneflow/core/autograd/autograd_meta.cpp:52
↓ 207 callersMethoddptr
oneflow/core/register/blob.h:70
↓ 194 callersMethodGet
oneflow/core/framework/dtype.cpp:97
↓ 193 callersFunctionSymbolOf
oneflow/core/common/symbol.h:147
↓ 191 callersMethodto
python/oneflow/nn/graph/proxy.py:71
↓ 189 callersFunctionlist
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 callersMethodset_is_dynamic
oneflow/core/register/blob_desc.cpp:90
↓ 185 callersMethodtrain
(self, mode=True)
python/oneflow/test/expensive/pytorch_levit.py:231
↓ 183 callersMethodelem_cnt
oneflow/core/common/shape.cpp:23
↓ 181 callersMethodptr
oneflow/core/ep/test/test_util.h:56
↓ 169 callersMethodrequires_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 callersFunctionGenLogicalBlobName
oneflow/core/operator/operator.h:429
↓ 156 callersMethodfloat
r""" float() Casts all floating point parameters and buffers to ``float`` datatype. .. note:: This metho
python/oneflow/nn/modules/module.py:1634
↓ 154 callersFunctionGetSizeOfDataType
oneflow/core/common/data_type.cpp:107
↓ 153 callersMethoddim
Getters
oneflow/core/framework/tensor.h:48
next →1–100 of 28,456, ranked by callers