MCPcopy Create free account

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

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

↓ 57 callersFunctionGetCudaAlignedSize
oneflow/core/common/util.h:165
↓ 57 callersFunctionMapAt
oneflow/core/common/container_util.h:27
↓ 57 callersMethodenum_type
oneflow/core/framework/device.h:44
↓ 56 callersFunctionGetNdSbp
oneflow/core/framework/placement_sbp_util_test.cpp:146
↓ 56 callersFunctionReshape
oneflow/core/framework/tensor_methods.cpp:137
↓ 56 callersFunctionfloor
oneflow/core/common/bfloat16_math.h:38
↓ 56 callersMethodjob_desc
oneflow/core/job/scope.cpp:62
↓ 56 callersMethodnelement
oneflow/core/framework/tensor.h:49
↓ 56 callersMethodtask_graph
oneflow/core/graph/boxing/sub_task_graph_builder_context.cpp:22
↓ 55 callersMethodparallel_id
parallel_ctx_
oneflow/core/graph/compute_task_node.h:43
↓ 54 callersMethodbegin
oneflow/ir/include/OneFlow/UserOpReflection.h:53
↓ 54 callersMethodget
oneflow/api/python/multiprocessing/object_ptr.h:35
↓ 53 callersMethodelem_cnt
oneflow/core/job/collective_boxing/request_store.h:58
↓ 53 callersMethodsave
oneflow/core/profiler/kineto_shim.cpp:47
↓ 52 callersMethodsize
oneflow/extension/stack/stacktrace.h:927
↓ 52 callersMethodtask_id
oneflow/core/graph/task_node.h:57
↓ 51 callersFunctionmaybe_wrap_dim
align with pytorch: `c10/core/WrapDimMinimal.h`
oneflow/core/common/wrap_dim_utils.h:22
↓ 50 callersFunctionGenArgDict
(arg_dict)
python/oneflow/test/graph/test_util.py:45
↓ 50 callersFunctionJoinPath
oneflow/core/common/str_util.h:83
↓ 50 callersMethodSet
oneflow/user/kernels/pocketfft_hdronly.h:278
↓ 50 callersMethodat
oneflow/core/intrusive/flat_msg_view.h:132
↓ 50 callersMethodload_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 callersMethodptr
oneflow/user/data/gpt_dataset.h:53
↓ 50 callersMethodpush
oneflow/user/kernels/pocketfft_hdronly.h:630
↓ 49 callersMethodAt
oneflow/core/ndarray/xpu_shape.h:38
↓ 49 callersMethodSync
oneflow/core/ep/cpu/cpu_event.cpp:24
↓ 49 callersFunctionabs
oneflow/core/common/bfloat16_math.h:53
↓ 49 callersMethodparallel_num
oneflow/core/operator/user_op.cpp:404
↓ 48 callersFunction_assert_tensor_equal
(test_case, tensor1, tensor2, atol=0.0, rtol=0.0)
python/oneflow/test/tensor/test_lazy_tensor_indexing.py:58
↓ 48 callersMethodmem_size
oneflow/core/comm_network/ibverbs/ibverbs_memory_desc.h:38
↓ 47 callersMethodAttr
oneflow/core/framework/attr_value_accessor.cpp:53
↓ 47 callersMethodBindBnWithRegst
oneflow/core/graph/exec_graph.cpp:23
↓ 47 callersMethodGenerator
oneflow/core/framework/random_generator.cpp:52
↓ 47 callersMethodGet
oneflow/core/device/cudnn_util.cpp:194
↓ 47 callersMethodcuda_stream
oneflow/core/ep/cuda/cuda_stream.cpp:277
↓ 46 callersMethodempty
oneflow/user/kernels/pocketfft_hdronly.h:648
↓ 46 callersMethodhas_output
oneflow/user/kernels/stateful_opkernel.cpp:488
↓ 46 callersMethodsetdefault
(self, *args, **kwargs)
python/oneflow/test/graph/test_graph_io_check.py:61
↓ 46 callersMethodsize
oneflow/core/intrusive/list.h:42
↓ 46 callersMethodzero_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 callersMethodToString
oneflow/core/functional/tensor_index.h:50
↓ 45 callersFunctionValue
oneflow/maybe/maybe.h:179
↓ 45 callersMethodattr
oneflow/core/framework/user_op_conf.h:109
↓ 45 callersMethodbfloat16
oneflow/core/common/bfloat16.h:35
↓ 45 callersMethodget_last_lr
Return last computed learning rate by current scheduler.
python/oneflow/nn/optimizer/lr_scheduler.py:55
↓ 45 callersMethodregst_desc_id
Getters
oneflow/core/register/register.h:36
↓ 44 callersFunctionCheckInplaceValid
oneflow/core/functional/impl/common.cpp:165
↓ 44 callersMethodCopyFrom
oneflow/core/register/blob_desc.cpp:82
↓ 44 callersMethoddevice_type
oneflow/core/functional/impl/comm_functor.cpp:57
↓ 44 callersMethodexpand
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 callersMethodkeys
Return an iterable of the ModuleDict keys.
python/oneflow/nn/utils/container.py:236
↓ 43 callersFunctionGetTensorSliceView4ParallelId
oneflow/core/job/nd_sbp_util.cpp:102
↓ 43 callersMethodOpNode4OpName
oneflow/core/graph/op_graph.cpp:371
↓ 43 callersMethodadd_functor
oneflow/core/functional/function_library.h:48
↓ 43 callersFunctionf
()
python/oneflow/test/misc/mock_example.py:21
↓ 43 callersMethodmem_block_id
oneflow/core/register/register_desc.h:82
↓ 43 callersMethodpop
(self, *args, **kwargs)
python/oneflow/test/graph/test_graph_io_check.py:66
↓ 43 callersFunctionround
(x: Tensor)
python/oneflow/special/special_ops.py:56
↓ 42 callersMethodApply
oneflow/core/functional/tensor_processor.cpp:104
↓ 42 callersMethodGetOrThrow
oneflow/core/common/maybe.h:219
↓ 42 callersMethodVar
oneflow/core/ndarray/cpu_ndarray_builder.h:33
↓ 42 callersMethodcontiguous
oneflow/core/framework/tensor.cpp:90
↓ 42 callersFunctioninit
(self)
python/oneflow/framework/infer_compiler/transform/builtin_transform.py:172
↓ 42 callersFunctionpow
oneflow/core/common/bfloat16_math.h:54
↓ 42 callersFunctionri
(indices)
python/oneflow/test/tensor/test_global_tensor_indexing.py:261
↓ 41 callersFunctionInit
oneflow/core/profiler/kernel.cpp:32
↓ 41 callersMethodmut_error_proto
oneflow/core/common/error.h:121
↓ 40 callersMethodBroadcast
oneflow/core/ndarray/xpu_ndarray_base.h:49
↓ 40 callersMethodGetDevice
oneflow/core/ep/cpu/cpu_device_manager.cpp:31
↓ 40 callersFunctionHashCombine
oneflow/core/common/hash.h:23
↓ 40 callersMethodToString
oneflow/core/common/shape.cpp:67
↓ 40 callersMethodlbi
oneflow/core/graph/transport_task_node.h:34
↓ 40 callersMethodregister_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 callersMethodAddOp
oneflow/core/job/job_builder.cpp:171
↓ 39 callersMethodAsLocalTensor
oneflow/core/framework/tensor.cpp:59
↓ 39 callersMethodis_contiguous
oneflow/core/framework/tensor.h:427
↓ 38 callersMethodGetInputs
oneflow/core/functional/tensor_processor.h:49
↓ 38 callersMethodMutOpsOnlyOnce
oneflow/core/job/job_builder.cpp:334
↓ 38 callersMethodcur_rank_phy_tensor
oneflow/core/framework/tensor.h:90
↓ 38 callersMethoddevice_id
oneflow/core/vm/stream.cpp:39
↓ 38 callersMethoddtype
oneflow/api/python/utils/tensor_utils.h:46
↓ 38 callersFunctionglobal_broadcast_consec
Generate a arithmetic progression with given size and start value.
python/oneflow/test/tensor/test_global_tensor_indexing.py:46
↓ 38 callersMethodmut_op
Setters
oneflow/core/graph/op_graph.h:64
↓ 38 callersMethodoutput_size
oneflow/user/kernels/stateful_opkernel.cpp:494
↓ 37 callersFunctionGetNcclDataType
oneflow/core/device/nccl_util.h:37
↓ 37 callersFunctionGetNcclLogicalNdSbpFromAttr
oneflow/user/ops/nccl_logical_util.h:73
↓ 37 callersFunctionMultiThreadLoop
oneflow/core/thread/thread_manager.h:55
↓ 37 callersFunctionReplaceInputLbnInOpCustomizedConf
oneflow/core/operator/operator.cpp:1499
↓ 36 callersMethodDeviceId4ParallelId
oneflow/core/job/parallel_desc.cpp:349
↓ 36 callersMethodFind
oneflow/core/intrusive/skiplist.h:52
↓ 36 callersMethodHasValue
oneflow/maybe/optional.h:62
↓ 36 callersMethodResize
oneflow/core/graph/graph.h:773
↓ 36 callersFunction_cpu_global_tensor
(tensor)
python/oneflow/test/tensor/test_global_tensor_indexing.py:35
↓ 36 callersMethodindex
oneflow/core/framework/user_op_conf.h:39
↓ 36 callersMethodtensor_meta
oneflow/core/framework/tensor_impl.h:149
↓ 35 callersMethodHasField
(self, attr_name)
python/oneflow/support/high_order_bool.py:192
↓ 35 callersMethodIsEmpty
oneflow/core/register/tensor_slice_view.cpp:61
↓ 35 callersFunctionPhysicalRun
oneflow/core/framework/instructions_builder.h:163
↓ 35 callersMethodassign
oneflow/core/framework/global_tensor_infer_cache.cpp:52
↓ 35 callersMethodeager_blob_object
oneflow/core/framework/tensor.h:397
← previousnext →201–300 of 28,456, ranked by callers