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
↓ 4 callers
Method
LaunchGraph
oneflow/core/ep/cuda/cuda_stream.cpp:319
↓ 4 callers
Method
LoadSnapshot
oneflow/core/embedding/persistent_table.cpp:653
↓ 4 callers
Function
LocalFS
oneflow/core/persistence/file_system.cpp:187
↓ 4 callers
Method
MainByteSize4OneRegst
oneflow/core/register/runtime_register_desc.cpp:107
↓ 4 callers
Method
MakeChildScopeProto
oneflow/core/job/scope.cpp:88
↓ 4 callers
Function
MakeEagerBlobObjectList
oneflow/core/framework/nn_graph.cpp:87
↓ 4 callers
Function
MakePredicatorIsSafeToDelete
oneflow/core/job_rewriter/pass_util.cpp:57
↓ 4 callers
Method
MakeSplitSignatureListBuilder
oneflow/core/job/sbp_signature_builder.cpp:96
↓ 4 callers
Method
MaybeGet
oneflow/core/vm/symbol_storage.h:110
↓ 4 callers
Function
MemReusedAlgorithmAllocateByOrder
oneflow/core/job/intra_job_mem_sharing_util.h:52
↓ 4 callers
Function
MemcpyPrimitiveExists
oneflow/user/kernels/matmul_kernels.cpp:112
↓ 4 callers
Function
MetaInfoConsistencyCheck
oneflow/core/framework/consistency_check.cpp:226
↓ 4 callers
Function
MutName2BoxingChecker
oneflow/core/boxing/eager_boxing_interpreter.cpp:58
↓ 4 callers
Method
MutSrcNode4Ibn
oneflow/core/graph/op_graph.cpp:130
↓ 4 callers
Function
MutThreadLocalTensorMetaCheckDepth
oneflow/core/framework/tensor_rpc_util.cpp:154
↓ 4 callers
Method
Name
oneflow/ir/oneflow-extension/include/PyAst/Ast.h:403
↓ 4 callers
Function
NdSbpDimReduce
oneflow/core/framework/sbp_infer_util.cpp:418
↓ 4 callers
Function
NdSbpIsAllPartialSum
oneflow/core/boxing/naive_1_to_p_boxing.cpp:27
↓ 4 callers
Function
NewPrimitiveFromHandlers
oneflow/core/ep/common/primitive/util.h:251
↓ 4 callers
Function
NewRandomSeed
oneflow/core/common/util.h:137
↓ 4 callers
Method
NewUniqueOpNameByFunctionalOpConf
oneflow/core/job/job_build_and_infer_ctx.cpp:1244
↓ 4 callers
Method
OnExecutionContextSetup
oneflow/core/ep/cuda/cuda_stream.cpp:209
↓ 4 callers
Method
OnExecutionContextTeardown
oneflow/core/ep/cuda/cuda_stream.cpp:215
↓ 4 callers
Method
OneElemSize
oneflow/core/kernel/boxing_kernel.cpp:95
↓ 4 callers
Method
PlacementNew
oneflow/core/memory/memory_allocator.h:51
↓ 4 callers
Method
PopBack
oneflow/core/intrusive/list.h:115
↓ 4 callers
Method
ProcessJob
oneflow/ir/oneflow-translate/lib/OneFlow/MLIROneFlowTranslation.cpp:546
↓ 4 callers
Method
PushSplitInfo
oneflow/user/kernels/slice_kernel.cpp:59
↓ 4 callers
Method
PushStack
oneflow/maybe/error.h:260
↓ 4 callers
Method
Put
oneflow/core/job_rewriter/pass_util.h:70
↓ 4 callers
Function
PyUnpackLong
int64_t
oneflow/api/python/functional/common.cpp:410
↓ 4 callers
Function
PyUnpackSbpParallelSequence
oneflow/api/python/functional/common.cpp:303
↓ 4 callers
Function
PyUnpackScalar
oneflow/api/python/functional/common.cpp:151
↓ 4 callers
Method
ReadFully
oneflow/core/persistence/persistent_in_stream.cpp:113
↓ 4 callers
Function
RegsiteredSessionIds
oneflow/core/framework/session_util.cpp:27
↓ 4 callers
Method
RegstDesc4BnInOp
oneflow/core/graph/exec_graph.h:60
↓ 4 callers
Function
ReluGrad
oneflow/user/kernels/normalization_kernel.cpp:191
↓ 4 callers
Function
RequireSameSbp
Judge whether we need the same SBP for both producer and consumer
oneflow/core/auto_parallel/sbp_util.cpp:27
↓ 4 callers
Method
Reserve
oneflow/core/common/tensor_buffer.cpp:93
↓ 4 callers
Method
Reset
oneflow/core/vm/sync_access_instruction_policy.h:71
↓ 4 callers
Method
Reset
oneflow/maybe/optional.h:64
↓ 4 callers
Method
ResetState
oneflow/core/job_rewriter/job_pass.h:80
↓ 4 callers
Method
SaveSnapshot
oneflow/core/embedding/persistent_table.cpp:700
↓ 4 callers
Function
ScheduleUntilVMEmpty
oneflow/core/vm/virtual_machine.cpp:165
↓ 4 callers
Method
SeparatedHeaderByteSize4OneRegst
oneflow/core/register/runtime_register_desc.cpp:123
↓ 4 callers
Function
SetAlgo4Perf
oneflow/core/device/cudnn_conv_util.cpp:55
↓ 4 callers
Method
SetIsDynamic4ArgNameAndIndex
oneflow/user/kernels/stateful_opkernel.cpp:459
↓ 4 callers
Method
SetIsMatchedPred
oneflow/core/kernel/kernel_registration.h:43
↓ 4 callers
Method
SetPinnedDevice
oneflow/core/ep/include/allocation_options.h:46
↓ 4 callers
Function
SetShuttingDown
oneflow/core/framework/shut_down_util.cpp:35
↓ 4 callers
Function
SharedPtrShapeEqual
oneflow/core/job_rewriter/logical_chain_pass.cpp:120
↓ 4 callers
Function
ShiftNegativeAxisIfNeed
oneflow/user/ops/layer_norm_op.cpp:23
↓ 4 callers
Function
SoftSyncNNGraphBuffers
oneflow/core/framework/nn_graph.cpp:915
↓ 4 callers
Method
Softmax
oneflow/core/ep/include/primitive/softmax.h:29
↓ 4 callers
Method
StackedError
oneflow/maybe/maybe.h:134
↓ 4 callers
Function
Storage4NdSbp
Compute storage per device for given NdSbp
oneflow/core/framework/sbp_infer_util.cpp:852
↓ 4 callers
Function
StraightenOpGraph
Straighten the whole op graph
oneflow/core/auto_parallel/auto_memory.cpp:541
↓ 4 callers
Method
SummarizeCost
oneflow/core/auto_parallel/sbp_node.cpp:175
↓ 4 callers
Function
TEST
oneflow/core/ndarray/cpu_concat_var_ndarray_test.cpp:23
↓ 4 callers
Method
TensorDesc4ArgNameAndIndex
oneflow/core/kernel/user_kernel.cpp:651
↓ 4 callers
Function
TensorToDenseElementsAttr
oneflow/ir/lib/OneFlow/OneFlowSupport.cpp:162
↓ 4 callers
Function
TestKeyValueStore
oneflow/core/embedding/key_value_store_test.cpp:49
↓ 4 callers
Method
Thread
oneflow/core/thread/thread.cpp:29
↓ 4 callers
Function
ThreadLocalScopeStack
oneflow/core/framework/scope_util.cpp:37
↓ 4 callers
Function
ToShape
oneflow/core/functional/impl/global_cast.cpp:111
↓ 4 callers
Function
ToString
oneflow/core/common/to_string.h:25
↓ 4 callers
Method
ToString
oneflow/api/python/autograd/function_node.cpp:31
↓ 4 callers
Method
TotalElemNum
oneflow/core/kernel/boxing_kernel.cpp:97
↓ 4 callers
Method
Truncate
oneflow/core/embedding/posix_file.h:75
↓ 4 callers
Method
TryGetParallelId
oneflow/core/job/parallel_desc.cpp:189
↓ 4 callers
Function
UnaryFold
oneflow/ir/lib/OneFlow/OneFlowOpFolders.cpp:65
↓ 4 callers
Function
VerifyAMPList
oneflow/core/job_rewriter/auto_mixed_precision.cpp:31
↓ 4 callers
Method
VisualStr
oneflow/core/graph/node.h:61
↓ 4 callers
Method
VisualStr
oneflow/core/graph/task_node.cpp:197
↓ 4 callers
Function
__Init__
methods
oneflow/core/intrusive/head_free_list_test.cpp:45
↓ 4 callers
Method
__UnsafeMoveTo__
oneflow/core/intrusive/shared_ptr.h:85
↓ 4 callers
Method
__all_global
(test_case, input, placement, sbp)
python/oneflow/test/modules/test_global_cast.py:1305
↓ 4 callers
Method
__build_io
(self, io_type, build_func, *args, **kwargs)
python/oneflow/nn/graph/graph.py:1797
↓ 4 callers
Method
__flatten_io
(self, io_type, *args, **kwargs)
python/oneflow/nn/graph/graph.py:1914
↓ 4 callers
Method
__init__
(self)
python/oneflow/test/modules/test_parameters_grouping.py:33
↓ 4 callers
Method
__init__
(self)
python/oneflow/test/modules/test_ddp.py:42
↓ 4 callers
Method
__init__
( self, in_features, hidden_features=None, out_features=None, act_laye
python/oneflow/test/expensive/pytorch_pvt.py:27
↓ 4 callers
Method
__init__
Parameters ---------- block (nn.Module): Bottleneck class. - For SENet154: SEBottleneck - For SE-ResN
python/oneflow/test/expensive/pytorch_senet.py:167
↓ 4 callers
Method
__init__
( self, in_features, hidden_features=None, out_features=None, act_laye
python/oneflow/test/expensive/pytorch_resmlp.py:28
↓ 4 callers
Method
__init__
(self)
python/oneflow/test/graph/test_graph_with_global.py:230
↓ 4 callers
Method
__init__
(self)
python/oneflow/test/graph/test_graph_random_seed.py:66
↓ 4 callers
Method
__init__
(self)
python/oneflow/test/graph/test_graph_zero.py:135
↓ 4 callers
Method
__init__
(self, modules: Optional[Iterable[T]] = None)
python/oneflow/nn/utils/container.py:107
↓ 4 callers
Method
__map_io_lite
(self, func, *args, **kwargs)
python/oneflow/nn/graph/graph.py:1907
↓ 4 callers
Function
_assert_true
(test_case, value1, value2)
python/oneflow/test/modules/test_higher_derivative_softmax.py:24
↓ 4 callers
Function
_assert_true
(test_case, value1, value2)
python/oneflow/test/modules/test_global_higher_derivative_softmax.py:24
↓ 4 callers
Function
_compare_with_nn_cross_entropy_loss
( test_case, pred, label, pred_sbp=None, label_sbp=None )
python/oneflow/test/graph/test_graph_sparse_softmax_cross_entropy.py:58
↓ 4 callers
Function
_compute_nparams_toprune
r"""Since amount can be expressed either in absolute value or as a percentage of the number of units/channels in a tensor, this utility functi
python/oneflow/nn/utils/prune.py:1252
↓ 4 callers
Method
_conv_forward
(self, x, weight, bias)
python/oneflow/nn/modules/conv.py:243
↓ 4 callers
Function
_get_device_index
r"""Gets the device index from :attr:`device`, which can be a torch.device object, a Python integer, or ``None``. If :attr:`device` is a flow
python/oneflow/cuda/_utils.py:32
↓ 4 callers
Method
_get_from_states
(self, name, states_name)
python/oneflow/nn/graph/proxy.py:507
↓ 4 callers
Function
_get_indexes
(device)
python/oneflow/test/tensor/test_tensor_part_3.py:25
↓ 4 callers
Function
_inspect_rand_op_and_args
(rand_op, **kwargs)
python/oneflow/test/modules/test_random_generator_and_seed.py:33
↓ 4 callers
Function
_make_divisible
This function is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by 8 It can be seen
python/oneflow/test/expensive/pytorch_ghostnet.py:24
↓ 4 callers
Method
_make_layer
(self, block, planes, blocks, stride=1)
python/oneflow/test/expensive/pytorch_res2net.py:142
← previous
next →
1,501–1,600 of 28,456, ranked by callers