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
↓ 153 callers
Method
parallel_num
oneflow/core/job/parallel_desc.h:72
↓ 151 callers
Method
Launch
oneflow/user/kernels/collective_communication/cuda/cuda_send.cpp:33
↓ 147 callers
Method
clear
oneflow/core/intrusive/flat_msg.h:449
↓ 147 callers
Method
stride
oneflow/core/framework/tensor.h:82
↓ 144 callers
Function
bind
(optional, fn)
python/oneflow/nn/utils/rnn.py:27
↓ 142 callers
Function
NewUniqueId
oneflow/core/common/util.h:111
↓ 140 callers
Method
get
oneflow/extension/stack/stacktrace.h:615
↓ 140 callers
Method
getValue
oneflow/ir/oneflow-lite/lib/OneFlow/Transform/Lowering/LoweringAscend.cpp:106
↓ 138 callers
Method
parameters
r""" parameters(recurse=True) -> Iterator[Parameter] Returns an iterator over module parameters. This is typically p
python/oneflow/nn/modules/module.py:525
↓ 135 callers
Method
Build
oneflow/core/job/sbp_signature_builder.cpp:36
↓ 131 callers
Method
end
oneflow/core/functional/tensor_index.h:48
↓ 130 callers
Function
MakeAttrMapFromUserOpConf
oneflow/core/framework/attr_map.cpp:152
↓ 129 callers
Method
end
oneflow/core/framework/attr_map.h:97
↓ 128 callers
Function
New
oneflow/core/job/id_manager_test.cpp:48
↓ 127 callers
Method
items
(self)
python/oneflow/nn/graph/cache.py:79
↓ 126 callers
Method
device
oneflow/core/framework/stream.h:47
↓ 125 callers
Method
Mutable
oneflow/core/intrusive/flat_msg.h:134
↓ 122 callers
Method
size
(self)
python/oneflow/test_utils/automated_test_util/generators.py:202
↓ 120 callers
Function
NdSbpToString
oneflow/core/framework/nd_sbp.cpp:130
↓ 120 callers
Method
clone
oneflow/core/framework/tensor.cpp:138
↓ 119 callers
Method
stream
oneflow/core/ep/test/test_util.h:100
↓ 118 callers
Method
DebugString
oneflow/core/common/error.h:112
↓ 118 callers
Method
NdSbp4ArgNameAndIndex
oneflow/core/operator/user_op.cpp:543
↓ 117 callers
Method
AddOps
oneflow/core/job/job_builder.cpp:181
↓ 116 callers
Method
set_requires_grad
oneflow/core/framework/tensor_impl.cpp:42
↓ 113 callers
Function
random_bool
()
python/oneflow/test_utils/automated_test_util/generators.py:394
↓ 111 callers
Method
value
oneflow/core/common/optional.h:84
↓ 108 callers
Function
is_enabled
oneflow/core/framework/autocast.cpp:74
↓ 106 callers
Function
GenLogicalBlobId
oneflow/core/operator/operator.cpp:1418
↓ 104 callers
Method
parallel_desc
oneflow/core/framework/tensor.h:361
↓ 103 callers
Function
ParseBooleanFromEnv
oneflow/core/common/util.cpp:152
↓ 102 callers
Method
dst_node
oneflow/core/graph/node.h:59
↓ 99 callers
Method
parallel_ctx
oneflow/core/graph/task_node.h:72
↓ 98 callers
Method
mean
Returns the mean of the distribution.
python/oneflow/distributions/distribution.py:96
↓ 96 callers
Method
data
oneflow/core/ep/cpu/cpu_random_generator.h:53
↓ 92 callers
Method
scope_symbol_id
oneflow/core/job_rewriter/clip_by_global_norm_job_pass_state.h:42
↓ 91 callers
Method
input_size
oneflow/user/kernels/stateful_opkernel.cpp:491
↓ 91 callers
Method
is_global
oneflow/core/framework/tensor.h:368
↓ 90 callers
Function
PM
oneflow/user/kernels/pocketfft_hdronly.h:340
↓ 89 callers
Function
_assert_tensor_equal
(test_case, tensor1, tensor2, atol=0.0, rtol=0.0)
python/oneflow/test/tensor/test_tensor_indexing2.py:31
↓ 88 callers
Method
parallel_num
oneflow/user/kernels/stateful_opkernel.cpp:477
↓ 88 callers
Method
set
(self, key, value)
python/oneflow/nn/graph/cache.py:50
↓ 87 callers
Method
Size
oneflow/core/ndarray/slice.cpp:70
↓ 86 callers
Method
add
mock key thorugh value.
python/oneflow/mock_torch/mock_modules.py:31
↓ 86 callers
Method
value_or
oneflow/core/common/optional.h:387
↓ 85 callers
Method
call
oneflow/core/functional/packed_functor.h:44
↓ 85 callers
Function
get_graph_output
(*args, func)
python/oneflow/test/tensor/test_lazy_tensor_indexing.py:27
↓ 84 callers
Method
Launch
oneflow/core/ep/cuda/cuda_stream.cpp:129
↓ 84 callers
Method
end
oneflow/ir/include/OneFlow/UserOpReflection.h:54
↓ 84 callers
Method
state_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 callers
Method
SetOutputIsDynamic
oneflow/user/kernels/stateful_opkernel.cpp:453
↓ 82 callers
Method
is_local
oneflow/core/framework/tensor.h:64
↓ 82 callers
Method
job
oneflow/ir/oneflow-extension/ir_pass.cpp:63
↓ 82 callers
Method
job_name
oneflow/core/job/job_instance.h:30
↓ 80 callers
Method
get
(self, key)
python/oneflow/nn/graph/cache.py:70
↓ 79 callers
Method
step
Performs a single optimization step. Args: closure (callable, optional): A closure that reevaluates the model and
python/oneflow/nn/optimizer/sgd.py:234
↓ 78 callers
Method
Add
oneflow/core/vm/symbol_storage.h:150
↓ 78 callers
Method
BnInOp2Blob
oneflow/core/lazy/actor/light_actor.cpp:666
↓ 78 callers
Method
cbegin
oneflow/core/common/small_vector.h:46
↓ 78 callers
Method
resize
oneflow/user/kernels/pocketfft_hdronly.h:257
↓ 77 callers
Method
InputIsDynamic
oneflow/user/kernels/stateful_opkernel.cpp:447
↓ 76 callers
Method
ToString
oneflow/user/kernels/slice_util.h:66
↓ 76 callers
Method
device_type
oneflow/core/graph/task_node.cpp:73
↓ 76 callers
Method
empty
oneflow/core/framework/attr_map.h:56
↓ 75 callers
Function
_assert_tensor_equal
(test_case, tensor1, tensor2, atol=0.0, rtol=0.0)
python/oneflow/test/tensor/test_global_tensor_indexing.py:39
↓ 75 callers
Method
max
oneflow/core/common/data_type.h:51
↓ 74 callers
Function
GenRepeatedBn
oneflow/core/operator/operator.cpp:1286
↓ 74 callers
Method
load
(module, prefix="")
python/oneflow/nn/modules/module.py:984
↓ 73 callers
Method
cend
oneflow/core/common/small_vector.h:49
↓ 72 callers
Function
exp
oneflow/core/common/bfloat16_math.h:30
↓ 69 callers
Function
Delete
oneflow/core/job/id_manager_test.cpp:58
↓ 69 callers
Function
ri
(indices)
python/oneflow/test/tensor/test_tensor_indexing2.py:212
↓ 68 callers
Function
BoxingExpr
oneflow/core/boxing/eager_boxing_interpreter.cpp:181
↓ 68 callers
Method
add_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 callers
Method
size
oneflow/api/python/caster/size.h:33
↓ 67 callers
Method
regst_desc_id
oneflow/core/lazy/actor/actor_message.cpp:98
↓ 66 callers
Method
nd_sbp
oneflow/core/framework/tensor.h:360
↓ 65 callers
Method
pop
(self)
python/oneflow/nn/graph/cache.py:42
↓ 64 callers
Function
HobDataType
oneflow/core/framework/user_op_hob.h:43
↓ 64 callers
Method
MachineId4ParallelId
oneflow/core/job/parallel_desc.cpp:342
↓ 64 callers
Method
NdIndexToOffset
oneflow/core/common/nd_index_offset_helper.h:59
↓ 64 callers
Method
OffsetToNdIndex
oneflow/core/common/nd_index_offset_helper.h:98
↓ 64 callers
Function
func
(fn)
python/oneflow/onnx/symbolic_helper.py:25
↓ 64 callers
Function
hasattr
(obj, name)
python/oneflow/mock_torch/mock_importer.py:47
↓ 64 callers
Method
job_id
Common
oneflow/core/job/job_desc.h:44
↓ 64 callers
Method
requires_grad
oneflow/core/framework/tensor.h:424
↓ 64 callers
Method
src_node
oneflow/core/graph/node.h:58
↓ 64 callers
Method
type
oneflow/core/framework/attr_value.h:130
↓ 63 callers
Method
cast
r"""Make a deep copy of value, casting all tensors to device or placement of param.
python/oneflow/optim/optimizer.py:303
↓ 62 callers
Method
cuda
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 callers
Method
parallel_desc
oneflow/user/kernels/eager_ccl_kernel.cpp:329
↓ 61 callers
Method
ForEachNode
oneflow/core/graph/graph.h:200
↓ 61 callers
Method
PushBack
oneflow/core/intrusive/list.h:88
↓ 61 callers
Method
machine_id
oneflow/core/lazy/actor/actor.h:40
↓ 60 callers
Function
Forward
oneflow/api/cpp/tests/graph_test.cpp:41
↓ 60 callers
Function
HobDeviceType
oneflow/core/framework/user_op_hob.h:70
↓ 60 callers
Function
New
oneflow/core/framework/tensor_rpc_util.cpp:71
↓ 60 callers
Method
stream
oneflow/core/kernel/user_kernel.cpp:485
↓ 59 callers
Method
ptr
oneflow/core/common/shape_view.h:40
↓ 59 callers
Function
sqrt
oneflow/core/common/bfloat16_math.h:49
← previous
next →
101–200 of 28,456, ranked by callers