MCPcopy Create free account

hub / github.com/Oneflow-Inc/oneflow / functions

Functions28,456 in github.com/Oneflow-Inc/oneflow

↓ 4 callersMethodis_local_parallel_view
oneflow/core/job/local_sig_infer_hint.h:29
↓ 4 callersMethodis_pinned
r"""Returns true if `self.data` stored on in pinned memory
python/oneflow/nn/utils/rnn.py:200
↓ 4 callersMethoditer_named_nodes
(self)
python/oneflow/framework/args_tree.py:187
↓ 4 callersMethodl2
(self)
python/oneflow/nn/graph/optimizer.py:84
↓ 4 callersMethodlayout_type
oneflow/core/framework/layout.h:41
↓ 4 callersMethodlong
(self)
python/oneflow/nn/utils/rnn.py:147
↓ 4 callersMethodlower
oneflow/user/kernels/unsorted_segment_sum_kernel.cpp:51
↓ 4 callersMethodlower
oneflow/user/kernels/sparse_cross_entropy_kernel.cpp:31
↓ 4 callersMethodlower
oneflow/user/kernels/combined_margin_loss_kernel.cpp:30
↓ 4 callersMethodmap_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 callersMethodmem_ptr
oneflow/core/comm_network/ibverbs/ibverbs_memory_desc.h:36
↓ 4 callersMethodmid_placed_nd_sbp
oneflow/core/boxing/boxing_interpreter_status.h:67
↓ 4 callersMethodmr
oneflow/core/comm_network/ibverbs/ibverbs_memory_desc.h:40
↓ 4 callersMethodmut_allocator
oneflow/core/vm/ep_stream_policy_base.h:45
↓ 4 callersMethodmut_device
oneflow/core/framework/tensor.h:365
↓ 4 callersMethodmut_in_edges
oneflow/core/vm/instruction.h:136
↓ 4 callersMethodmut_instruction
oneflow/core/vm/vm_object.h:59
↓ 4 callersMethodmut_intrusive_ref
oneflow/core/intrusive/list_test.cpp:54
↓ 4 callersMethodmut_shape_view
oneflow/core/kernel/blob_tensor_view.cpp:27
↓ 4 callersMethodmut_thread_ctx
oneflow/core/vm/stream.h:52
↓ 4 callersMethodmut_tmp_tensor
oneflow/core/eager/call_context.h:104
↓ 4 callersMethodneed_temp_storage
oneflow/core/vm/op_call_instruction_policy.h:85
↓ 4 callersMethodnullptr_empty
oneflow/core/intrusive/list_hook.h:54
↓ 4 callersMethodnum_classes
oneflow/user/kernels/nll_kernel.cpp:32
↓ 4 callersFunctionnumel_in_bucket
(tensor: Tensor)
python/oneflow/nn/utils/parameters_grouping.py:27
↓ 4 callersMethodorder
oneflow/core/job_rewriter/optimizer_placement_optimization_pass.cpp:55
↓ 4 callersMethodparallel_num
oneflow/core/kernel/user_kernel.cpp:404
↓ 4 callersMethodpattern
(a1, a2)
python/oneflow/test/graph/test_fx_replace_ops.py:39
↓ 4 callersFunctionpopulateRewrites
oneflow/ir/lib/OneFlow/OneFlowRewrites.cpp:318
↓ 4 callersFunctionpromoteTypes
oneflow/core/framework/dtype.cpp:166
↓ 4 callersMethodprune
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 callersMethodqp_num
oneflow/core/comm_network/ibverbs/ibverbs_qp.h:72
↓ 4 callersMethodraw_dptr
oneflow/core/register/blob.h:89
↓ 4 callersMethodref_cnt
oneflow/core/intrusive/skiplist_test.cpp:45
↓ 4 callersFunctionrender_file_if_different
(target_file, content)
tools/functional/generator.py:239
↓ 4 callersMethodreset
oneflow/core/vm/remat/disjoint_set.h:47
↓ 4 callersFunctionresnet50
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 callersFunctionsetSignalHandler
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 callersMethodset_autocast_color
oneflow/core/framework/autocast.cpp:124
↓ 4 callersMethodset_autograd_meta
oneflow/core/framework/tensor.h:452
↓ 4 callersMethodset_blob_dptr
oneflow/core/eager/tensor_storage.h:49
↓ 4 callersMethodset_chain_id
oneflow/core/graph/task_node.cpp:88
↓ 4 callersMethodset_cnt
Setters
oneflow/core/intrusive/list_test.cpp:44
↓ 4 callersMethodset_consumer_nd_sbp_constraint
oneflow/core/framework/tensor.h:91
↓ 4 callersMethodset_cur_file_pos
oneflow/core/persistence/binary_in_stream_with_local_copy.h:36
↓ 4 callersMethodset_hint_inplace_consumed_regst_desc_id
oneflow/core/register/register_desc.h:71
↓ 4 callersMethodshuffle_and_lookup
(self, state_initializer)
python/oneflow/one_embedding.py:338
↓ 4 callersMethodsorted_boxing_names
Getters
oneflow/core/boxing/boxing_interpreter_status.h:63
↓ 4 callersMethodstep
oneflow/core/functional/tensor_index.h:49
↓ 4 callersMethodstream
oneflow/core/lazy/actor/actor.cpp:41
↓ 4 callersMethodstreamUint8Vec
oneflow/ir/oneflow-lite/lib/OneFlow/FlatbufferUtils.cpp:57
↓ 4 callersMethodsupport_wait_event
oneflow/core/framework/stream.h:51
↓ 4 callersFunctiontensor_builder
(params: dict, dtype=flow.float32, is_split_mode=True)
python/oneflow/test/modules/test_fused_glu.py:86
↓ 4 callersFunctiontensor_to_device
(x)
python/oneflow/test_utils/automated_test_util/profiler.py:88
↓ 4 callersMethodtotal_erased_instruction_cnt
oneflow/core/vm/virtual_machine_engine.h:66
↓ 4 callersMethodtp
tp means "this pointer"
oneflow/core/common/shape.h:88
↓ 4 callersFunctiontrain_one_iter
(grad)
python/oneflow/test/modules/test_optim_adadelta.py:59
↓ 4 callersFunctiontrain_one_iter
(grad)
python/oneflow/test/modules/test_optim_adagrad.py:65
↓ 4 callersFunctiontrain_one_iter
(grad)
python/oneflow/test/modules/test_optim_adamw.py:85
↓ 4 callersFunctiontrain_one_iter
(grad)
python/oneflow/test/modules/test_optim_rmsprop.py:68
↓ 4 callersFunctiontrain_one_iter
(grad)
python/oneflow/test/modules/test_optim_sgd.py:80
↓ 4 callersFunctiontrain_with_graph
(call_cnt=0, state_dict_file=None, last_state_dict=None)
python/oneflow/test/graph/test_graph_save_load.py:26
↓ 4 callersFunctiontransposeAndReshapeIfRequired
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 callersFunctionupdate_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 callersMethoduser_opkernel
oneflow/core/vm/op_call_instruction_policy.h:86
↓ 3 callersMethodAccess
oneflow/core/eager/tensor_storage.cpp:160
↓ 3 callersMethodAccessBlobByOpName
oneflow/core/vm/critical_section_instruction_policy.cpp:58
↓ 3 callersFunctionAddCurrentRankOffset
oneflow/core/job/id_manager.cpp:29
↓ 3 callersFunctionAddParallelCast
oneflow/core/job_rewriter/autograd.cpp:294
↓ 3 callersMethodAddPlan
oneflow/core/job/runtime_job_descs.cpp:20
↓ 3 callersMethodAlignedByteSizeOfBlobBody
oneflow/core/register/blob.h:122
↓ 3 callersMethodAlignedTotalByteSize
oneflow/core/register/blob.h:118
↓ 3 callersMethodAsGlobalTensor
oneflow/core/framework/tensor.h:482
↓ 3 callersMethodAsyncWrite
oneflow/core/comm_network/epoll/socket_helper.cpp:35
↓ 3 callersFunctionAutoMemset
oneflow/core/kernel/kernel_util.cpp:63
↓ 3 callersFunctionBinaryFold
oneflow/ir/lib/OneFlow/OneFlowOpFolders.cpp:84
↓ 3 callersMethodBuildScopeWithNewParallelConf
oneflow/core/framework/instructions_builder.cpp:301
↓ 3 callersFunctionBuildSrcSubsetTickOpAndParallelConf
oneflow/core/job_rewriter/autotick.cpp:162
↓ 3 callersFunctionBwDataTypeInferFn
oneflow/user/ops/normalization_op.cpp:460
↓ 3 callersFunctionBwGetSbpFn
oneflow/user/ops/normalization_op.cpp:488
↓ 3 callersFunctionBwTensorDescInferFn
oneflow/user/ops/normalization_op.cpp:433
↓ 3 callersFunctionByteSize4Tensor
oneflow/core/device/cudnn_conv_util.cpp:48
↓ 3 callersFunctionCPUSynchronize
oneflow/core/framework/random_generator.cpp:45
↓ 3 callersFunctionCalcSamePadding
oneflow/user/ops/nn_util.cpp:48
↓ 3 callersFunctionCanMergeSplit
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 callersMethodCheck
oneflow/core/boxing/eager_boxing_interpreter.cpp:98
↓ 3 callersFunctionCheckBroadcastable
oneflow/user/ops/fused_bias_add_scale_mask_softmax_dropout_op.cpp:23
↓ 3 callersFunctionCheckIndexedSlicesModelDiffDataType
oneflow/user/ops/model_update_ops.cpp:84
↓ 3 callersFunctionCheckIndexedSlicesModelDiffDesc
oneflow/user/ops/model_update_ops.cpp:67
↓ 3 callersFunctionCheckNormalTensorStd
oneflow/core/functional/impl/common.cpp:377
↓ 3 callersFunctionCheckPhysicalBlobDesc
oneflow/core/graph/exec_graph.cpp:76
↓ 3 callersFunctionCheckSbpParallel
check whether the sbp_parallel is legal
oneflow/core/framework/sbp_infer_util.cpp:39
↓ 3 callersFunctionCheckScatterNdShape
oneflow/user/ops/nd_index_slice_ops.cpp:23
↓ 3 callersFunctionCheckStepShapeInCtx
oneflow/user/ops/summary_ops.cpp:28
↓ 3 callersFunctionCheckVersionCompatibility
oneflow/core/ep/cuda/cuda_stream.cpp:45
↓ 3 callersMethodClearKV
oneflow/core/rpc/lib/local.cpp:101
↓ 3 callersMethodCompile
oneflow/core/job/compiler.cpp:30
↓ 3 callersFunctionComputCopyCostBetweenTwoNdSbp
oneflow/core/framework/sbp_infer_util.cpp:202
↓ 3 callersFunctionComputCopyCostBetweenTwoSbpParallel
oneflow/core/framework/sbp_infer_util.cpp:75
↓ 3 callersMethodComputeWeightedCost
Compute the weighted sum of the time and memory cost
oneflow/core/auto_parallel/sbp_node.cpp:246
← previousnext →1,701–1,800 of 28,456, ranked by callers