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
is_local_parallel_view
oneflow/core/job/local_sig_infer_hint.h:29
↓ 4 callers
Method
is_pinned
r"""Returns true if `self.data` stored on in pinned memory
python/oneflow/nn/utils/rnn.py:200
↓ 4 callers
Method
iter_named_nodes
(self)
python/oneflow/framework/args_tree.py:187
↓ 4 callers
Method
l2
(self)
python/oneflow/nn/graph/optimizer.py:84
↓ 4 callers
Method
layout_type
oneflow/core/framework/layout.h:41
↓ 4 callers
Method
long
(self)
python/oneflow/nn/utils/rnn.py:147
↓ 4 callers
Method
lower
oneflow/user/kernels/unsorted_segment_sum_kernel.cpp:51
↓ 4 callers
Method
lower
oneflow/user/kernels/sparse_cross_entropy_kernel.cpp:31
↓ 4 callers
Method
lower
oneflow/user/kernels/combined_margin_loss_kernel.cpp:30
↓ 4 callers
Method
map_tuple_leaf
r""" When the type of io args is tuple or list, map the leaf of the arguments into map_function(leaf).
python/oneflow/framework/args_tree.py:222
↓ 4 callers
Method
mem_ptr
oneflow/core/comm_network/ibverbs/ibverbs_memory_desc.h:36
↓ 4 callers
Method
mid_placed_nd_sbp
oneflow/core/boxing/boxing_interpreter_status.h:67
↓ 4 callers
Method
mr
oneflow/core/comm_network/ibverbs/ibverbs_memory_desc.h:40
↓ 4 callers
Method
mut_allocator
oneflow/core/vm/ep_stream_policy_base.h:45
↓ 4 callers
Method
mut_device
oneflow/core/framework/tensor.h:365
↓ 4 callers
Method
mut_in_edges
oneflow/core/vm/instruction.h:136
↓ 4 callers
Method
mut_instruction
oneflow/core/vm/vm_object.h:59
↓ 4 callers
Method
mut_intrusive_ref
oneflow/core/intrusive/list_test.cpp:54
↓ 4 callers
Method
mut_shape_view
oneflow/core/kernel/blob_tensor_view.cpp:27
↓ 4 callers
Method
mut_thread_ctx
oneflow/core/vm/stream.h:52
↓ 4 callers
Method
mut_tmp_tensor
oneflow/core/eager/call_context.h:104
↓ 4 callers
Method
need_temp_storage
oneflow/core/vm/op_call_instruction_policy.h:85
↓ 4 callers
Method
nullptr_empty
oneflow/core/intrusive/list_hook.h:54
↓ 4 callers
Method
num_classes
oneflow/user/kernels/nll_kernel.cpp:32
↓ 4 callers
Function
numel_in_bucket
(tensor: Tensor)
python/oneflow/nn/utils/parameters_grouping.py:27
↓ 4 callers
Method
order
oneflow/core/job_rewriter/optimizer_placement_optimization_pass.cpp:55
↓ 4 callers
Method
parallel_num
oneflow/core/kernel/user_kernel.cpp:404
↓ 4 callers
Method
pattern
(a1, a2)
python/oneflow/test/graph/test_fx_replace_ops.py:39
↓ 4 callers
Function
populateRewrites
oneflow/ir/lib/OneFlow/OneFlowRewrites.cpp:318
↓ 4 callers
Function
promoteTypes
oneflow/core/framework/dtype.cpp:166
↓ 4 callers
Method
prune
r"""Computes and returns a pruned version of input tensor ``t`` according to the pruning rule specified in :meth:`compute_mask`. Args:
python/oneflow/nn/utils/prune.py:215
↓ 4 callers
Method
qp_num
oneflow/core/comm_network/ibverbs/ibverbs_qp.h:72
↓ 4 callers
Method
raw_dptr
oneflow/core/register/blob.h:89
↓ 4 callers
Method
ref_cnt
oneflow/core/intrusive/skiplist_test.cpp:45
↓ 4 callers
Function
render_file_if_different
(target_file, content)
tools/functional/generator.py:239
↓ 4 callers
Method
reset
oneflow/core/vm/remat/disjoint_set.h:47
↓ 4 callers
Function
resnet50
r"""ResNet-5 `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_.
oneflow/ir/test/OneFlow/networks/resnet50.py:289
↓ 4 callers
Function
setSignalHandler
signal(2) is really not portable. So use sigaction. http://man7.org/linux/man-pages/man2/signal.2.html
oneflow/api/python/utils/dataloader.cpp:58
↓ 4 callers
Method
set_autocast_color
oneflow/core/framework/autocast.cpp:124
↓ 4 callers
Method
set_autograd_meta
oneflow/core/framework/tensor.h:452
↓ 4 callers
Method
set_blob_dptr
oneflow/core/eager/tensor_storage.h:49
↓ 4 callers
Method
set_chain_id
oneflow/core/graph/task_node.cpp:88
↓ 4 callers
Method
set_cnt
Setters
oneflow/core/intrusive/list_test.cpp:44
↓ 4 callers
Method
set_consumer_nd_sbp_constraint
oneflow/core/framework/tensor.h:91
↓ 4 callers
Method
set_cur_file_pos
oneflow/core/persistence/binary_in_stream_with_local_copy.h:36
↓ 4 callers
Method
set_hint_inplace_consumed_regst_desc_id
oneflow/core/register/register_desc.h:71
↓ 4 callers
Method
shuffle_and_lookup
(self, state_initializer)
python/oneflow/one_embedding.py:338
↓ 4 callers
Method
sorted_boxing_names
Getters
oneflow/core/boxing/boxing_interpreter_status.h:63
↓ 4 callers
Method
step
oneflow/core/functional/tensor_index.h:49
↓ 4 callers
Method
stream
oneflow/core/lazy/actor/actor.cpp:41
↓ 4 callers
Method
streamUint8Vec
oneflow/ir/oneflow-lite/lib/OneFlow/FlatbufferUtils.cpp:57
↓ 4 callers
Method
support_wait_event
oneflow/core/framework/stream.h:51
↓ 4 callers
Function
tensor_builder
(params: dict, dtype=flow.float32, is_split_mode=True)
python/oneflow/test/modules/test_fused_glu.py:86
↓ 4 callers
Function
tensor_to_device
(x)
python/oneflow/test_utils/automated_test_util/profiler.py:88
↓ 4 callers
Method
total_erased_instruction_cnt
oneflow/core/vm/virtual_machine_engine.h:66
↓ 4 callers
Method
tp
tp means "this pointer"
oneflow/core/common/shape.h:88
↓ 4 callers
Function
train_one_iter
(grad)
python/oneflow/test/modules/test_optim_adadelta.py:59
↓ 4 callers
Function
train_one_iter
(grad)
python/oneflow/test/modules/test_optim_adagrad.py:65
↓ 4 callers
Function
train_one_iter
(grad)
python/oneflow/test/modules/test_optim_adamw.py:85
↓ 4 callers
Function
train_one_iter
(grad)
python/oneflow/test/modules/test_optim_rmsprop.py:68
↓ 4 callers
Function
train_one_iter
(grad)
python/oneflow/test/modules/test_optim_sgd.py:80
↓ 4 callers
Function
train_with_graph
(call_cnt=0, state_dict_file=None, last_state_dict=None)
python/oneflow/test/graph/test_graph_save_load.py:26
↓ 4 callers
Function
transposeAndReshapeIfRequired
transpose the last two dims of the tensor. Reshape it to 3D if it is 2D.
oneflow/ir/lib/OneFlow/Conversion/OneFlowToTosa.cpp:418
↓ 4 callers
Function
update_bn
r"""Updates BatchNorm running_mean, running_var buffers in the model. The documentation is referenced from: https://pytorch.org/docs/stable/o
python/oneflow/nn/optimizer/swa_utils.py:184
↓ 4 callers
Method
user_opkernel
oneflow/core/vm/op_call_instruction_policy.h:86
↓ 3 callers
Method
Access
oneflow/core/eager/tensor_storage.cpp:160
↓ 3 callers
Method
AccessBlobByOpName
oneflow/core/vm/critical_section_instruction_policy.cpp:58
↓ 3 callers
Function
AddCurrentRankOffset
oneflow/core/job/id_manager.cpp:29
↓ 3 callers
Function
AddParallelCast
oneflow/core/job_rewriter/autograd.cpp:294
↓ 3 callers
Method
AddPlan
oneflow/core/job/runtime_job_descs.cpp:20
↓ 3 callers
Method
AlignedByteSizeOfBlobBody
oneflow/core/register/blob.h:122
↓ 3 callers
Method
AlignedTotalByteSize
oneflow/core/register/blob.h:118
↓ 3 callers
Method
AsGlobalTensor
oneflow/core/framework/tensor.h:482
↓ 3 callers
Method
AsyncWrite
oneflow/core/comm_network/epoll/socket_helper.cpp:35
↓ 3 callers
Function
AutoMemset
oneflow/core/kernel/kernel_util.cpp:63
↓ 3 callers
Function
BinaryFold
oneflow/ir/lib/OneFlow/OneFlowOpFolders.cpp:84
↓ 3 callers
Method
BuildScopeWithNewParallelConf
oneflow/core/framework/instructions_builder.cpp:301
↓ 3 callers
Function
BuildSrcSubsetTickOpAndParallelConf
oneflow/core/job_rewriter/autotick.cpp:162
↓ 3 callers
Function
BwDataTypeInferFn
oneflow/user/ops/normalization_op.cpp:460
↓ 3 callers
Function
BwGetSbpFn
oneflow/user/ops/normalization_op.cpp:488
↓ 3 callers
Function
BwTensorDescInferFn
oneflow/user/ops/normalization_op.cpp:433
↓ 3 callers
Function
ByteSize4Tensor
oneflow/core/device/cudnn_conv_util.cpp:48
↓ 3 callers
Function
CPUSynchronize
oneflow/core/framework/random_generator.cpp:45
↓ 3 callers
Function
CalcSamePadding
oneflow/user/ops/nn_util.cpp:48
↓ 3 callers
Function
CanMergeSplit
We can not just simply merging two same split For example, shape = [6], we are trying to merge [2, 2]: (S0, S0) -> [4]: S0 For each rank, [4]: S0 has
oneflow/core/framework/sbp_infer_util.cpp:397
↓ 3 callers
Method
Check
oneflow/core/boxing/eager_boxing_interpreter.cpp:98
↓ 3 callers
Function
CheckBroadcastable
oneflow/user/ops/fused_bias_add_scale_mask_softmax_dropout_op.cpp:23
↓ 3 callers
Function
CheckIndexedSlicesModelDiffDataType
oneflow/user/ops/model_update_ops.cpp:84
↓ 3 callers
Function
CheckIndexedSlicesModelDiffDesc
oneflow/user/ops/model_update_ops.cpp:67
↓ 3 callers
Function
CheckNormalTensorStd
oneflow/core/functional/impl/common.cpp:377
↓ 3 callers
Function
CheckPhysicalBlobDesc
oneflow/core/graph/exec_graph.cpp:76
↓ 3 callers
Function
CheckSbpParallel
check whether the sbp_parallel is legal
oneflow/core/framework/sbp_infer_util.cpp:39
↓ 3 callers
Function
CheckScatterNdShape
oneflow/user/ops/nd_index_slice_ops.cpp:23
↓ 3 callers
Function
CheckStepShapeInCtx
oneflow/user/ops/summary_ops.cpp:28
↓ 3 callers
Function
CheckVersionCompatibility
oneflow/core/ep/cuda/cuda_stream.cpp:45
↓ 3 callers
Method
ClearKV
oneflow/core/rpc/lib/local.cpp:101
↓ 3 callers
Method
Compile
oneflow/core/job/compiler.cpp:30
↓ 3 callers
Function
ComputCopyCostBetweenTwoNdSbp
oneflow/core/framework/sbp_infer_util.cpp:202
↓ 3 callers
Function
ComputCopyCostBetweenTwoSbpParallel
oneflow/core/framework/sbp_infer_util.cpp:75
↓ 3 callers
Method
ComputeWeightedCost
Compute the weighted sum of the time and memory cost
oneflow/core/auto_parallel/sbp_node.cpp:246
← previous
next →
1,701–1,800 of 28,456, ranked by callers