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
↓ 57 callers
Function
GetCudaAlignedSize
oneflow/core/common/util.h:165
↓ 57 callers
Function
MapAt
oneflow/core/common/container_util.h:27
↓ 57 callers
Method
enum_type
oneflow/core/framework/device.h:44
↓ 56 callers
Function
GetNdSbp
oneflow/core/framework/placement_sbp_util_test.cpp:146
↓ 56 callers
Function
Reshape
oneflow/core/framework/tensor_methods.cpp:137
↓ 56 callers
Function
floor
oneflow/core/common/bfloat16_math.h:38
↓ 56 callers
Method
job_desc
oneflow/core/job/scope.cpp:62
↓ 56 callers
Method
nelement
oneflow/core/framework/tensor.h:49
↓ 56 callers
Method
task_graph
oneflow/core/graph/boxing/sub_task_graph_builder_context.cpp:22
↓ 55 callers
Method
parallel_id
parallel_ctx_
oneflow/core/graph/compute_task_node.h:43
↓ 54 callers
Method
begin
oneflow/ir/include/OneFlow/UserOpReflection.h:53
↓ 54 callers
Method
get
oneflow/api/python/multiprocessing/object_ptr.h:35
↓ 53 callers
Method
elem_cnt
oneflow/core/job/collective_boxing/request_store.h:58
↓ 53 callers
Method
save
oneflow/core/profiler/kineto_shim.cpp:47
↓ 52 callers
Method
size
oneflow/extension/stack/stacktrace.h:927
↓ 52 callers
Method
task_id
oneflow/core/graph/task_node.h:57
↓ 51 callers
Function
maybe_wrap_dim
align with pytorch: `c10/core/WrapDimMinimal.h`
oneflow/core/common/wrap_dim_utils.h:22
↓ 50 callers
Function
GenArgDict
(arg_dict)
python/oneflow/test/graph/test_util.py:45
↓ 50 callers
Function
JoinPath
oneflow/core/common/str_util.h:83
↓ 50 callers
Method
Set
oneflow/user/kernels/pocketfft_hdronly.h:278
↓ 50 callers
Method
at
oneflow/core/intrusive/flat_msg_view.h:132
↓ 50 callers
Method
load_state_dict
r"""Copies module's states and other graph states from :attr:`state_dict` into this graph. If :attr:`strict` is ``True``, then the key
python/oneflow/nn/graph/graph.py:433
↓ 50 callers
Method
ptr
oneflow/user/data/gpt_dataset.h:53
↓ 50 callers
Method
push
oneflow/user/kernels/pocketfft_hdronly.h:630
↓ 49 callers
Method
At
oneflow/core/ndarray/xpu_shape.h:38
↓ 49 callers
Method
Sync
oneflow/core/ep/cpu/cpu_event.cpp:24
↓ 49 callers
Function
abs
oneflow/core/common/bfloat16_math.h:53
↓ 49 callers
Method
parallel_num
oneflow/core/operator/user_op.cpp:404
↓ 48 callers
Function
_assert_tensor_equal
(test_case, tensor1, tensor2, atol=0.0, rtol=0.0)
python/oneflow/test/tensor/test_lazy_tensor_indexing.py:58
↓ 48 callers
Method
mem_size
oneflow/core/comm_network/ibverbs/ibverbs_memory_desc.h:38
↓ 47 callers
Method
Attr
oneflow/core/framework/attr_value_accessor.cpp:53
↓ 47 callers
Method
BindBnWithRegst
oneflow/core/graph/exec_graph.cpp:23
↓ 47 callers
Method
Generator
oneflow/core/framework/random_generator.cpp:52
↓ 47 callers
Method
Get
oneflow/core/device/cudnn_util.cpp:194
↓ 47 callers
Method
cuda_stream
oneflow/core/ep/cuda/cuda_stream.cpp:277
↓ 46 callers
Method
empty
oneflow/user/kernels/pocketfft_hdronly.h:648
↓ 46 callers
Method
has_output
oneflow/user/kernels/stateful_opkernel.cpp:488
↓ 46 callers
Method
setdefault
(self, *args, **kwargs)
python/oneflow/test/graph/test_graph_io_check.py:61
↓ 46 callers
Method
size
oneflow/core/intrusive/list.h:42
↓ 46 callers
Method
zero_grad
r""" zero_grad(set_to_none=False) Sets gradients of all model parameters to zero. See similar function under :class:`
python/oneflow/nn/modules/module.py:822
↓ 45 callers
Method
ToString
oneflow/core/functional/tensor_index.h:50
↓ 45 callers
Function
Value
oneflow/maybe/maybe.h:179
↓ 45 callers
Method
attr
oneflow/core/framework/user_op_conf.h:109
↓ 45 callers
Method
bfloat16
oneflow/core/common/bfloat16.h:35
↓ 45 callers
Method
get_last_lr
Return last computed learning rate by current scheduler.
python/oneflow/nn/optimizer/lr_scheduler.py:55
↓ 45 callers
Method
regst_desc_id
Getters
oneflow/core/register/register.h:36
↓ 44 callers
Function
CheckInplaceValid
oneflow/core/functional/impl/common.cpp:165
↓ 44 callers
Method
CopyFrom
oneflow/core/register/blob_desc.cpp:82
↓ 44 callers
Method
device_type
oneflow/core/functional/impl/comm_functor.cpp:57
↓ 44 callers
Method
expand
Returns a new distribution instance (or populates an existing instance provided by a derived class) with batch dimensions expanded to
python/oneflow/distributions/distribution.py:60
↓ 44 callers
Method
keys
Return an iterable of the ModuleDict keys.
python/oneflow/nn/utils/container.py:236
↓ 43 callers
Function
GetTensorSliceView4ParallelId
oneflow/core/job/nd_sbp_util.cpp:102
↓ 43 callers
Method
OpNode4OpName
oneflow/core/graph/op_graph.cpp:371
↓ 43 callers
Method
add_functor
oneflow/core/functional/function_library.h:48
↓ 43 callers
Function
f
()
python/oneflow/test/misc/mock_example.py:21
↓ 43 callers
Method
mem_block_id
oneflow/core/register/register_desc.h:82
↓ 43 callers
Method
pop
(self, *args, **kwargs)
python/oneflow/test/graph/test_graph_io_check.py:66
↓ 43 callers
Function
round
(x: Tensor)
python/oneflow/special/special_ops.py:56
↓ 42 callers
Method
Apply
oneflow/core/functional/tensor_processor.cpp:104
↓ 42 callers
Method
GetOrThrow
oneflow/core/common/maybe.h:219
↓ 42 callers
Method
Var
oneflow/core/ndarray/cpu_ndarray_builder.h:33
↓ 42 callers
Method
contiguous
oneflow/core/framework/tensor.cpp:90
↓ 42 callers
Function
init
(self)
python/oneflow/framework/infer_compiler/transform/builtin_transform.py:172
↓ 42 callers
Function
pow
oneflow/core/common/bfloat16_math.h:54
↓ 42 callers
Function
ri
(indices)
python/oneflow/test/tensor/test_global_tensor_indexing.py:261
↓ 41 callers
Function
Init
oneflow/core/profiler/kernel.cpp:32
↓ 41 callers
Method
mut_error_proto
oneflow/core/common/error.h:121
↓ 40 callers
Method
Broadcast
oneflow/core/ndarray/xpu_ndarray_base.h:49
↓ 40 callers
Method
GetDevice
oneflow/core/ep/cpu/cpu_device_manager.cpp:31
↓ 40 callers
Function
HashCombine
oneflow/core/common/hash.h:23
↓ 40 callers
Method
ToString
oneflow/core/common/shape.cpp:67
↓ 40 callers
Method
lbi
oneflow/core/graph/transport_task_node.h:34
↓ 40 callers
Method
register_parameter
r""" register_parameter(name, param) Adds a parameter to the module. The parameter can be accessed as an attribute u
python/oneflow/nn/modules/module.py:332
↓ 39 callers
Method
AddOp
oneflow/core/job/job_builder.cpp:171
↓ 39 callers
Method
AsLocalTensor
oneflow/core/framework/tensor.cpp:59
↓ 39 callers
Method
is_contiguous
oneflow/core/framework/tensor.h:427
↓ 38 callers
Method
GetInputs
oneflow/core/functional/tensor_processor.h:49
↓ 38 callers
Method
MutOpsOnlyOnce
oneflow/core/job/job_builder.cpp:334
↓ 38 callers
Method
cur_rank_phy_tensor
oneflow/core/framework/tensor.h:90
↓ 38 callers
Method
device_id
oneflow/core/vm/stream.cpp:39
↓ 38 callers
Method
dtype
oneflow/api/python/utils/tensor_utils.h:46
↓ 38 callers
Function
global_broadcast_consec
Generate a arithmetic progression with given size and start value.
python/oneflow/test/tensor/test_global_tensor_indexing.py:46
↓ 38 callers
Method
mut_op
Setters
oneflow/core/graph/op_graph.h:64
↓ 38 callers
Method
output_size
oneflow/user/kernels/stateful_opkernel.cpp:494
↓ 37 callers
Function
GetNcclDataType
oneflow/core/device/nccl_util.h:37
↓ 37 callers
Function
GetNcclLogicalNdSbpFromAttr
oneflow/user/ops/nccl_logical_util.h:73
↓ 37 callers
Function
MultiThreadLoop
oneflow/core/thread/thread_manager.h:55
↓ 37 callers
Function
ReplaceInputLbnInOpCustomizedConf
oneflow/core/operator/operator.cpp:1499
↓ 36 callers
Method
DeviceId4ParallelId
oneflow/core/job/parallel_desc.cpp:349
↓ 36 callers
Method
Find
oneflow/core/intrusive/skiplist.h:52
↓ 36 callers
Method
HasValue
oneflow/maybe/optional.h:62
↓ 36 callers
Method
Resize
oneflow/core/graph/graph.h:773
↓ 36 callers
Function
_cpu_global_tensor
(tensor)
python/oneflow/test/tensor/test_global_tensor_indexing.py:35
↓ 36 callers
Method
index
oneflow/core/framework/user_op_conf.h:39
↓ 36 callers
Method
tensor_meta
oneflow/core/framework/tensor_impl.h:149
↓ 35 callers
Method
HasField
(self, attr_name)
python/oneflow/support/high_order_bool.py:192
↓ 35 callers
Method
IsEmpty
oneflow/core/register/tensor_slice_view.cpp:61
↓ 35 callers
Function
PhysicalRun
oneflow/core/framework/instructions_builder.h:163
↓ 35 callers
Method
assign
oneflow/core/framework/global_tensor_infer_cache.cpp:52
↓ 35 callers
Method
eager_blob_object
oneflow/core/framework/tensor.h:397
← previous
next →
201–300 of 28,456, ranked by callers