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
↓ 24 callers
Function
RoundUp
oneflow/core/common/util.h:163
↓ 24 callers
Method
ToProto
oneflow/core/common/range.cpp:25
↓ 24 callers
Method
device_type
oneflow/core/job/parallel_desc.h:58
↓ 24 callers
Method
memory_format
oneflow/core/framework/tensor_impl.cpp:170
↓ 24 callers
Method
memory_format
oneflow/core/register/blob.h:57
↓ 24 callers
Method
ptr
oneflow/core/ndarray/xpu_var_ndarray.h:49
↓ 24 callers
Method
ref_cnt
oneflow/core/intrusive/list_test.cpp:48
↓ 24 callers
Method
resource
(self)
python/oneflow/framework/multi_client_session.py:78
↓ 24 callers
Method
sbp_signature
oneflow/core/operator/operator.cpp:1048
↓ 24 callers
Method
set_stride
oneflow/core/eager/eager_blob_object.cpp:67
↓ 24 callers
Method
type
(self)
python/oneflow/nn/graph/graph_block.py:66
↓ 23 callers
Method
Add
oneflow/core/job/cluster_instruction.cpp:54
↓ 23 callers
Method
EqualsIgnoringHierarchy
oneflow/core/job/parallel_desc.cpp:225
↓ 23 callers
Method
Insert
oneflow/core/intrusive/skiplist.h:65
↓ 23 callers
Function
Squeeze
oneflow/core/framework/tensor_methods.cpp:307
↓ 23 callers
Method
current_seed
oneflow/core/framework/random_generator.cpp:54
↓ 23 callers
Method
device_type
oneflow/core/boxing/ccl_boxing_function.cpp:33
↓ 23 callers
Function
get_numpy
(tensor, indices)
python/oneflow/test/tensor/test_tensor_indexing2.py:476
↓ 23 callers
Function
isnan
oneflow/core/common/bfloat16.h:251
↓ 22 callers
Function
GetGeneratorForLazyOrGlobal
oneflow/user/kernels/random_seed_util.cpp:73
↓ 22 callers
Method
GetMemory
oneflow/core/auto_parallel/sbp_graph.cpp:117
↓ 22 callers
Method
GetPtrOrThrow
oneflow/core/common/maybe.h:108
↓ 22 callers
Function
IsIndexDataType
oneflow/core/common/data_type.cpp:77
↓ 22 callers
Function
_compare_with_eager
( test_case, *, batch_size=8, acc=1, norm_type=2.0, max_norm=1.0, device="cuda",
python/oneflow/test/graph/test_graph_clip_grad_norm.py:205
↓ 22 callers
Function
_test_dequantize
(test_case, num_bits, shape, group_dim, group_size)
python/oneflow/test/modules/test_groupwise_quantization.py:118
↓ 22 callers
Method
close
Closes access to the shared memory from this instance but does not destroy the shared memory block.
python/oneflow/multiprocessing/shared_memory/__init__.py:63
↓ 22 callers
Method
compute_local_dep_object
oneflow/core/framework/tensor_impl.cpp:116
↓ 22 callers
Method
device_type
oneflow/core/kernel/user_kernel.cpp:649
↓ 22 callers
Method
parse
oneflow/ir/lib/OneFlow/OneFlowOps.cpp:286
↓ 22 callers
Method
regst_desc
oneflow/core/register/register.h:45
↓ 22 callers
Method
stream_type
oneflow/core/framework/stream.h:48
↓ 22 callers
Method
task_proto
oneflow/core/graph/plan_task_graph.h:39
↓ 21 callers
Method
DebugStr
oneflow/core/common/shape.cpp:80
↓ 21 callers
Method
EmplaceBack
oneflow/core/intrusive/list.h:98
↓ 21 callers
Function
GetCurInferCtx
oneflow/core/job/job_build_and_infer_ctx_mgr.cpp:105
↓ 21 callers
Function
IsViewApplicable
oneflow/core/framework/tensor_methods.cpp:42
↓ 21 callers
Method
Launch
oneflow/core/kernel/kernel.cpp:52
↓ 21 callers
Function
SbpToString
oneflow/core/framework/nd_sbp.cpp:128
↓ 21 callers
Method
SetOutputStride
oneflow/user/kernels/stateful_opkernel.cpp:403
↓ 21 callers
Function
TxtString2PbMessage
oneflow/core/common/protobuf.cpp:64
↓ 21 callers
Function
UnaryPrimitiveExists
oneflow/user/kernels/elementwise_primitive_kernel.h:118
↓ 21 callers
Function
UniqueStr
oneflow/core/framework/id_util.cpp:21
↓ 21 callers
Method
__init__
(self, a, b)
python/oneflow/test_utils/automated_test_util/generators.py:151
↓ 21 callers
Function
cos
oneflow/core/common/bfloat16_math.h:37
↓ 21 callers
Method
decode
(self, *args, **kwargs)
python/oneflow/framework/infer_compiler/with_oneflow_compile.py:344
↓ 20 callers
Function
BinaryPrimitiveExists
oneflow/user/kernels/elementwise_primitive_kernel.h:130
↓ 20 callers
Function
CurrentRankSync
oneflow/core/vm/vm_util.cpp:48
↓ 20 callers
Method
GetOpTimeShape
oneflow/core/operator/operator.cpp:486
↓ 20 callers
Method
InitedDone
oneflow/core/lazy/actor/register_slot.cpp:94
↓ 20 callers
Function
New
Methods
oneflow/core/functional/impl/global_cast.cpp:84
↓ 20 callers
Function
ParseIntegerFromEnv
oneflow/core/common/util.cpp:161
↓ 20 callers
Function
StackedError
oneflow/maybe/maybe.h:182
↓ 20 callers
Method
TensorTupleIndex4ArgNameAndIndex
oneflow/core/framework/arg_tuple.cpp:58
↓ 20 callers
Method
WaitDone
oneflow/core/framework/transport_util.h:36
↓ 20 callers
Function
_compare_graph_lr_scheduler_with_eager
(test_case, **kwargs)
python/oneflow/test/graph/test_graph_lr_scheduler.py:74
↓ 20 callers
Method
allocation_type
oneflow/core/register/register.h:58
↓ 20 callers
Method
chain_id
oneflow/core/graph/task_node.h:59
↓ 20 callers
Function
consec
Generate a arithmetic progression with given size and start value.
python/oneflow/test/tensor/test_tensor_indexing2.py:35
↓ 20 callers
Method
device_id
oneflow/core/framework/device.h:45
↓ 20 callers
Method
enable_debug_mode
oneflow/core/job/resource_desc.cpp:61
↓ 20 callers
Method
extend
Appends modules from a Python iterable to the end of the list. Arguments: modules (iterable): iterable of modules to
python/oneflow/nn/utils/container.py:174
↓ 20 callers
Method
get_kind
oneflow/ir/oneflow-extension/include/PyAst/Ast.h:68
↓ 20 callers
Method
half
r""" half() Casts all floating point parameters and buffers to ``half`` datatype. .. note:: This method
python/oneflow/nn/modules/module.py:1662
↓ 20 callers
Method
input_size
oneflow/core/framework/user_op_conf.cpp:72
↓ 20 callers
Method
nd_sbp_signature
oneflow/core/operator/operator.cpp:1053
↓ 20 callers
Method
prev
oneflow/core/intrusive/list_hook.h:30
↓ 20 callers
Method
regst
oneflow/core/lazy/actor/actor_message.cpp:93
↓ 20 callers
Method
sub
oneflow/core/ep/include/primitive/fast_integer_math.h:63
↓ 20 callers
Method
wait
oneflow/user/kernels/pocketfft_hdronly.h:615
↓ 19 callers
Function
AddHash
oneflow/core/common/hash.h:30
↓ 19 callers
Method
AddRegst
oneflow/core/graph/task_node.cpp:432
↓ 19 callers
Method
GetOpRegistryResult
oneflow/core/framework/user_op_registry_manager.cpp:49
↓ 19 callers
Method
GetVmStream
oneflow/core/vm/virtual_machine.cpp:391
↓ 19 callers
Method
IsCurSlotReady
oneflow/core/lazy/actor/register_slot.h:34
↓ 19 callers
Function
IsInDebugMode
oneflow/core/common/env_var/debug_mode.h:26
↓ 19 callers
Function
PyTensor_Check
oneflow/api/python/framework/tensor.h:38
↓ 19 callers
Function
SyncAccessTensorWithTimeOut
oneflow/core/framework/tensor_util.cpp:29
↓ 19 callers
Method
ToProto
oneflow/core/graph/task_node.cpp:239
↓ 19 callers
Function
_test_activation_module
(test_case, act_type)
python/oneflow/test/modules/test_global_activation.py:102
↓ 19 callers
Method
getArgument
oneflow/ir/lib/Transform/TransformDialectInterpreter.cpp:41
↓ 19 callers
Method
has_input
oneflow/core/framework/user_op_conf.cpp:64
↓ 19 callers
Method
modules
r""" modules() -> Iterator["Module"] Returns an iterator over all modules in the network. Yields: Module
python/oneflow/nn/modules/module.py:684
↓ 19 callers
Method
mut_buffer
oneflow/core/vm/instruction.h:44
↓ 19 callers
Method
mut_stream
Setters
oneflow/core/vm/instruction.h:133
↓ 19 callers
Method
mut_stream_policy
oneflow/core/vm/instruction.cpp:78
↓ 19 callers
Function
np_allclose_with_shape
(a, b, *args, **kwargs)
python/oneflow/test/modules/test_ddp.py:29
↓ 18 callers
Method
CopyFrom
oneflow/core/ndarray/cpu_var_ndarray.h:70
↓ 18 callers
Method
DelOps
oneflow/core/job/job_builder.cpp:313
↓ 18 callers
Function
EncodeStreamIdToInt64
oneflow/core/graph/stream_id.cpp:48
↓ 18 callers
Method
ForEachNodeOnOutEdge
oneflow/core/graph/node.h:98
↓ 18 callers
Function
GenArgList
(arg_dict)
python/oneflow/test/expensive/test_util.py:38
↓ 18 callers
Function
GetCudnnDataType
oneflow/core/device/cudnn_util.cpp:23
↓ 18 callers
Method
Has
oneflow/core/framework/attr_map.cpp:117
↓ 18 callers
Function
IsKeyFound
oneflow/core/job_rewriter/pass_util.h:29
↓ 18 callers
Function
IsOk
oneflow/maybe/maybe.h:193
↓ 18 callers
Function
LoadSymbol
oneflow/core/platform/lib/ibv_wrapper.cpp:45
↓ 18 callers
Method
TopoForEachNode
oneflow/core/graph/graph.h:251
↓ 18 callers
Method
WaitUntilCntEqualZero
oneflow/core/job/runtime_context.cpp:32
↓ 18 callers
Function
WithinBounds3D
oneflow/user/kernels/grid_sample_kernel_util.h:276
↓ 18 callers
Function
allocated_memory
(device, include_test_placeholder=False)
python/oneflow/test/expensive/_test_remat.py:44
← previous
next →
401–500 of 28,456, ranked by callers