MCPcopy Create free account

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

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

↓ 153 callersMethodparallel_num
oneflow/core/job/parallel_desc.h:72
↓ 151 callersMethodLaunch
oneflow/user/kernels/collective_communication/cuda/cuda_send.cpp:33
↓ 147 callersMethodclear
oneflow/core/intrusive/flat_msg.h:449
↓ 147 callersMethodstride
oneflow/core/framework/tensor.h:82
↓ 144 callersFunctionbind
(optional, fn)
python/oneflow/nn/utils/rnn.py:27
↓ 142 callersFunctionNewUniqueId
oneflow/core/common/util.h:111
↓ 140 callersMethodget
oneflow/extension/stack/stacktrace.h:615
↓ 140 callersMethodgetValue
oneflow/ir/oneflow-lite/lib/OneFlow/Transform/Lowering/LoweringAscend.cpp:106
↓ 138 callersMethodparameters
r""" parameters(recurse=True) -> Iterator[Parameter] Returns an iterator over module parameters. This is typically p
python/oneflow/nn/modules/module.py:525
↓ 135 callersMethodBuild
oneflow/core/job/sbp_signature_builder.cpp:36
↓ 131 callersMethodend
oneflow/core/functional/tensor_index.h:48
↓ 130 callersFunctionMakeAttrMapFromUserOpConf
oneflow/core/framework/attr_map.cpp:152
↓ 129 callersMethodend
oneflow/core/framework/attr_map.h:97
↓ 128 callersFunctionNew
oneflow/core/job/id_manager_test.cpp:48
↓ 127 callersMethoditems
(self)
python/oneflow/nn/graph/cache.py:79
↓ 126 callersMethoddevice
oneflow/core/framework/stream.h:47
↓ 125 callersMethodMutable
oneflow/core/intrusive/flat_msg.h:134
↓ 122 callersMethodsize
(self)
python/oneflow/test_utils/automated_test_util/generators.py:202
↓ 120 callersFunctionNdSbpToString
oneflow/core/framework/nd_sbp.cpp:130
↓ 120 callersMethodclone
oneflow/core/framework/tensor.cpp:138
↓ 119 callersMethodstream
oneflow/core/ep/test/test_util.h:100
↓ 118 callersMethodDebugString
oneflow/core/common/error.h:112
↓ 118 callersMethodNdSbp4ArgNameAndIndex
oneflow/core/operator/user_op.cpp:543
↓ 117 callersMethodAddOps
oneflow/core/job/job_builder.cpp:181
↓ 116 callersMethodset_requires_grad
oneflow/core/framework/tensor_impl.cpp:42
↓ 113 callersFunctionrandom_bool
()
python/oneflow/test_utils/automated_test_util/generators.py:394
↓ 111 callersMethodvalue
oneflow/core/common/optional.h:84
↓ 108 callersFunctionis_enabled
oneflow/core/framework/autocast.cpp:74
↓ 106 callersFunctionGenLogicalBlobId
oneflow/core/operator/operator.cpp:1418
↓ 104 callersMethodparallel_desc
oneflow/core/framework/tensor.h:361
↓ 103 callersFunctionParseBooleanFromEnv
oneflow/core/common/util.cpp:152
↓ 102 callersMethoddst_node
oneflow/core/graph/node.h:59
↓ 99 callersMethodparallel_ctx
oneflow/core/graph/task_node.h:72
↓ 98 callersMethodmean
Returns the mean of the distribution.
python/oneflow/distributions/distribution.py:96
↓ 96 callersMethoddata
oneflow/core/ep/cpu/cpu_random_generator.h:53
↓ 92 callersMethodscope_symbol_id
oneflow/core/job_rewriter/clip_by_global_norm_job_pass_state.h:42
↓ 91 callersMethodinput_size
oneflow/user/kernels/stateful_opkernel.cpp:491
↓ 91 callersMethodis_global
oneflow/core/framework/tensor.h:368
↓ 90 callersFunctionPM
oneflow/user/kernels/pocketfft_hdronly.h:340
↓ 89 callersFunction_assert_tensor_equal
(test_case, tensor1, tensor2, atol=0.0, rtol=0.0)
python/oneflow/test/tensor/test_tensor_indexing2.py:31
↓ 88 callersMethodparallel_num
oneflow/user/kernels/stateful_opkernel.cpp:477
↓ 88 callersMethodset
(self, key, value)
python/oneflow/nn/graph/cache.py:50
↓ 87 callersMethodSize
oneflow/core/ndarray/slice.cpp:70
↓ 86 callersMethodadd
mock key thorugh value.
python/oneflow/mock_torch/mock_modules.py:31
↓ 86 callersMethodvalue_or
oneflow/core/common/optional.h:387
↓ 85 callersMethodcall
oneflow/core/functional/packed_functor.h:44
↓ 85 callersFunctionget_graph_output
(*args, func)
python/oneflow/test/tensor/test_lazy_tensor_indexing.py:27
↓ 84 callersMethodLaunch
oneflow/core/ep/cuda/cuda_stream.cpp:129
↓ 84 callersMethodend
oneflow/ir/include/OneFlow/UserOpReflection.h:54
↓ 84 callersMethodstate_dict
r"""Returns a dictionary containing a whole state of the graph. States of modules/optimizers/lr schedulers in a graph are included.
python/oneflow/nn/graph/graph.py:382
↓ 82 callersMethodSetOutputIsDynamic
oneflow/user/kernels/stateful_opkernel.cpp:453
↓ 82 callersMethodis_local
oneflow/core/framework/tensor.h:64
↓ 82 callersMethodjob
oneflow/ir/oneflow-extension/ir_pass.cpp:63
↓ 82 callersMethodjob_name
oneflow/core/job/job_instance.h:30
↓ 80 callersMethodget
(self, key)
python/oneflow/nn/graph/cache.py:70
↓ 79 callersMethodstep
Performs a single optimization step. Args: closure (callable, optional): A closure that reevaluates the model and
python/oneflow/nn/optimizer/sgd.py:234
↓ 78 callersMethodAdd
oneflow/core/vm/symbol_storage.h:150
↓ 78 callersMethodBnInOp2Blob
oneflow/core/lazy/actor/light_actor.cpp:666
↓ 78 callersMethodcbegin
oneflow/core/common/small_vector.h:46
↓ 78 callersMethodresize
oneflow/user/kernels/pocketfft_hdronly.h:257
↓ 77 callersMethodInputIsDynamic
oneflow/user/kernels/stateful_opkernel.cpp:447
↓ 76 callersMethodToString
oneflow/user/kernels/slice_util.h:66
↓ 76 callersMethoddevice_type
oneflow/core/graph/task_node.cpp:73
↓ 76 callersMethodempty
oneflow/core/framework/attr_map.h:56
↓ 75 callersFunction_assert_tensor_equal
(test_case, tensor1, tensor2, atol=0.0, rtol=0.0)
python/oneflow/test/tensor/test_global_tensor_indexing.py:39
↓ 75 callersMethodmax
oneflow/core/common/data_type.h:51
↓ 74 callersFunctionGenRepeatedBn
oneflow/core/operator/operator.cpp:1286
↓ 74 callersMethodload
(module, prefix="")
python/oneflow/nn/modules/module.py:984
↓ 73 callersMethodcend
oneflow/core/common/small_vector.h:49
↓ 72 callersFunctionexp
oneflow/core/common/bfloat16_math.h:30
↓ 69 callersFunctionDelete
oneflow/core/job/id_manager_test.cpp:58
↓ 69 callersFunctionri
(indices)
python/oneflow/test/tensor/test_tensor_indexing2.py:212
↓ 68 callersFunctionBoxingExpr
oneflow/core/boxing/eager_boxing_interpreter.cpp:181
↓ 68 callersMethodadd_optimizer
r"""Add an optimizer, an learning rate scheduler to the graph. To do training with nn.Graph, you should do 2 more things: 1. Add at
python/oneflow/nn/graph/graph.py:288
↓ 68 callersMethodsize
oneflow/api/python/caster/size.h:33
↓ 67 callersMethodregst_desc_id
oneflow/core/lazy/actor/actor_message.cpp:98
↓ 66 callersMethodnd_sbp
oneflow/core/framework/tensor.h:360
↓ 65 callersMethodpop
(self)
python/oneflow/nn/graph/cache.py:42
↓ 64 callersFunctionHobDataType
oneflow/core/framework/user_op_hob.h:43
↓ 64 callersMethodMachineId4ParallelId
oneflow/core/job/parallel_desc.cpp:342
↓ 64 callersMethodNdIndexToOffset
oneflow/core/common/nd_index_offset_helper.h:59
↓ 64 callersMethodOffsetToNdIndex
oneflow/core/common/nd_index_offset_helper.h:98
↓ 64 callersFunctionfunc
(fn)
python/oneflow/onnx/symbolic_helper.py:25
↓ 64 callersFunctionhasattr
(obj, name)
python/oneflow/mock_torch/mock_importer.py:47
↓ 64 callersMethodjob_id
Common
oneflow/core/job/job_desc.h:44
↓ 64 callersMethodrequires_grad
oneflow/core/framework/tensor.h:424
↓ 64 callersMethodsrc_node
oneflow/core/graph/node.h:58
↓ 64 callersMethodtype
oneflow/core/framework/attr_value.h:130
↓ 63 callersMethodcast
r"""Make a deep copy of value, casting all tensors to device or placement of param.
python/oneflow/optim/optimizer.py:303
↓ 62 callersMethodcuda
r""" cuda(device=None) Moves all model parameters and buffers to the GPU. This also makes associated parameters and
python/oneflow/nn/modules/module.py:1612
↓ 62 callersMethodparallel_desc
oneflow/user/kernels/eager_ccl_kernel.cpp:329
↓ 61 callersMethodForEachNode
oneflow/core/graph/graph.h:200
↓ 61 callersMethodPushBack
oneflow/core/intrusive/list.h:88
↓ 61 callersMethodmachine_id
oneflow/core/lazy/actor/actor.h:40
↓ 60 callersFunctionForward
oneflow/api/cpp/tests/graph_test.cpp:41
↓ 60 callersFunctionHobDeviceType
oneflow/core/framework/user_op_hob.h:70
↓ 60 callersFunctionNew
oneflow/core/framework/tensor_rpc_util.cpp:71
↓ 60 callersMethodstream
oneflow/core/kernel/user_kernel.cpp:485
↓ 59 callersMethodptr
oneflow/core/common/shape_view.h:40
↓ 59 callersFunctionsqrt
oneflow/core/common/bfloat16_math.h:49
← previousnext →101–200 of 28,456, ranked by callers