MCPcopy Create free account

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

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

↓ 4 callersMethod_make_layer
( self, block, planes, blocks, groups, reduction, stri
python/oneflow/test/expensive/pytorch_senet.py:295
↓ 4 callersMethod_make_layer
( self, block: Type[Union[BasicBlock, Bottleneck]], planes: int, blocks: int,
python/oneflow/test/expensive/pytorch_resnet.py:230
↓ 4 callersMethod_make_layer
( self, block: Type[Union[BasicBlock, Bottleneck]], planes: int, blocks: int,
python/oneflow/test/expensive/resnet50_model.py:225
↓ 4 callersMethod_make_layer
( self, block: Type[Union[BasicBlock, Bottleneck]], planes: int, blocks: int,
oneflow/ir/test/OneFlow/networks/resnet50.py:210
↓ 4 callersMethod_make_layer
( self, block: Type[Union[BasicBlock, Bottleneck]], planes: int, blocks: int,
oneflow/ir/test/OneFlow/auto_nhwc/test_nhwc_resnet.py:231
↓ 4 callersMethod_make_layer
( self, block: Type[Union[BasicBlock, Bottleneck]], planes: int, blocks: int,
oneflow/ir/test/OneFlow/auto_nhwc/test_resnet101_benchmark.py:236
↓ 4 callersFunction_matmul_bias0
(x, weight, bias)
oneflow/ir/test/OneFlow/with_cuda/test_fused_matmul_bias.py:28
↓ 4 callersMethod_method_callback
(self, method_name: str = None, *args, **kwargs)
python/oneflow/framework/model.py:353
↓ 4 callersFunction_ntuple
(n)
python/oneflow/nn/modules/utils.py:24
↓ 4 callersFunction_parallel_conf_to
(parallel_conf, dest_device)
python/oneflow/nn/graph/util.py:327
↓ 4 callersFunction_perturbate
(x)
python/oneflow/test/modules/test_allclose.py:29
↓ 4 callersFunction_perturbate
(x)
python/oneflow/test/modules/test_isclose.py:29
↓ 4 callersFunction_remove_if_exists
(path)
python/oneflow/hub.py:121
↓ 4 callersFunction_task_id_to
(task_id, dest_device)
python/oneflow/nn/graph/util.py:366
↓ 4 callersFunction_test_asymmetric_mix_1d_2d_eager_boxing_with_random_placement
( test_case, in_sbp, out_sbp, shape, in_device_type, out_device_type, in_device_li
python/oneflow/test/modules/test_eager_boxing.py:3459
↓ 4 callersMethod_test_averaged_model
(self, net_device, swa_device)
python/oneflow/test/modules/test_swautils.py:172
↓ 4 callersFunction_test_graph_lazy_inplace
(test_case, x, y)
python/oneflow/test/graph/test_graph_inplace_add.py:24
↓ 4 callersFunction_test_grouped_matmul_bias
(test_case, dtype, problems, bias)
python/oneflow/test/modules/test_grouped_matmul_bias.py:46
↓ 4 callersFunction_test_nll_loss
(dim=int)
python/oneflow/test/modules/test_loss.py:184
↓ 4 callersMethod_test_resnet18
(self, optimizer_fn, ddp, expected_loss)
python/oneflow/test/expensive/_test_remat.py:343
↓ 4 callersMethod_test_send_recv
(test_case, x0, src, dst)
python/oneflow/test/modules/test_comm.py:29
↓ 4 callersMethod_test_send_recv_without_sending_meta
(test_case, x0, src, dst)
python/oneflow/test/modules/test_comm.py:64
↓ 4 callersMethod_test_update_bn
(self, dnn, dl_x, dl_xy, momentum, cuda)
python/oneflow/test/modules/test_swautils.py:336
↓ 4 callersFunction_validate_pruning_amount
r"""Validation helper to check that the amount of parameters to prune is meaningful wrt to the size of the data (`tensor_size`). Args:
python/oneflow/nn/utils/prune.py:1213
↓ 4 callersFunction_validate_pruning_amount_init
r"""Validation helper to check the range of amount at init. Args: amount (int or float): quantity of parameters to prune. If f
python/oneflow/nn/utils/prune.py:1182
↓ 4 callersFunction_validate_v
(v, other, is_other_tuple)
python/oneflow/autograd/functional.py:111
↓ 4 callersMethodactivate
oneflow/extension/stack/stacktrace.h:3823
↓ 4 callersMethodadjust_channels
( channels: int, width_mult: float, min_value: Optional[int] = None )
python/oneflow/test/expensive/pytorch_efficientnet.py:188
↓ 4 callersFunctionalexnet
r"""AlexNet model architecture from the `"One weird trick..." <https://arxiv.org/abs/1404.5997>`_ paper. The required minimum input size of th
python/oneflow/test/graph/alexnet_model.py:62
↓ 4 callersFunctionassert_get_eq
(tensor, indexer)
python/oneflow/test/tensor/test_lazy_tensor_indexing.py:447
↓ 4 callersFunctionassert_get_eq
(tensor, indexer)
python/oneflow/test/tensor/test_tensor_indexing2.py:492
↓ 4 callersFunctionassert_get_eq
(tensor, indexer)
python/oneflow/test/tensor/test_global_tensor_indexing.py:462
↓ 4 callersFunctionatan
oneflow/core/common/bfloat16_math.h:27
↓ 4 callersMethodattr_getter
(self)
python/oneflow/support/high_order_bool.py:134
↓ 4 callersMethodblob_bytes
oneflow/core/eager/tensor_storage.h:43
↓ 4 callersFunctionbroadcast
(obj, src: int = 0)
python/oneflow/test_utils/automated_test_util/util.py:20
↓ 4 callersMethodbuild
r"""The ``build()`` method must be overridden to define neural network computaion logic. The ``build()`` method of nn.Graph is very s
python/oneflow/nn/graph/graph.py:211
↓ 4 callersMethodbyte
(self)
python/oneflow/nn/utils/rnn.py:159
↓ 4 callersMethodbytes
oneflow/core/framework/dtype.cpp:106
↓ 4 callersFunctioncalc_fan
(shape, mode, data_format)
python/oneflow/ops/util/initializer_util.py:52
↓ 4 callersFunctioncalculate_and_compare_loss
(test_case, input, target, model, order=2)
python/oneflow/test/modules/test_higher_derivative_loss.py:48
↓ 4 callersFunctioncalculate_and_compare_loss
(test_case, input, target, model, order=2)
python/oneflow/test/modules/test_global_higher_derivative_loss.py:49
↓ 4 callersMethodcapacity
oneflow/core/framework/sync_symbol_parallel_desc.cpp:35
↓ 4 callersFunctioncheck_eager_graph_tensor
(eager_res, graph_res)
python/oneflow/test_utils/automated_test_util/torch_flow_dual_object.py:244
↓ 4 callersFunctioncheck_rnn_cell_forward_input
oneflow/core/functional/impl/rnn_functor.cpp:60
↓ 4 callersFunctionchoice_tensor
Generates a random sample from a given 1-D array, which aligns with numpy.random.choice see https://numpy.org/doc/stable/reference/random/generate
python/oneflow/test_utils/automated_test_util/torch_flow_dual_object.py:1446
↓ 4 callersFunctioncompare
(a, b)
python/oneflow/test/modules/test_loss.py:272
↓ 4 callersFunctioncompare
(a, b, rtol=1e-5, atol=1e-5, w1=w1, h1=h1, w2=w2, h2=h2, inter=inter)
python/oneflow/test/modules/test_fused_get_iou.py:61
↓ 4 callersFunctioncompare_loss
(device_type, dim, reduction, cls, data_generator)
python/oneflow/test/modules/test_loss_global.py:32
↓ 4 callersFunctioncompare_loss
(device_type, dim, reduction, cls, data_generator)
python/oneflow/test/graph/test_graph_loss.py:28
↓ 4 callersFunctioncompute_loss
(grad)
python/oneflow/test/modules/test_optim_lbfgs.py:199
↓ 4 callersMethodcompute_mask
r"""Applies the latest ``method`` by computing the new partial masks and returning its combination with the ``default_mask``. The new
python/oneflow/nn/utils/prune.py:322
↓ 4 callersMethodcreateStringVec
oneflow/ir/oneflow-lite/include/OneFlow/FlatbufferUtils.h:80
↓ 4 callersMethodcublas_handle
oneflow/core/ep/cuda/cuda_stream.cpp:279
↓ 4 callersMethodcuda_arch
oneflow/core/ep/cuda/cuda_stream.cpp:297
↓ 4 callersFunctioncurrent_device
r"""Returns local rank as device index.
python/oneflow/cuda/__init__.py:38
↓ 4 callersMethodcurrent_device
()
python/oneflow/framework/infer_compiler/utils/patch_for_compiler.py:24
↓ 4 callersMethoddata_type
oneflow/core/eager/call_context.h:57
↓ 4 callersFunctiondeco
(f)
python/oneflow/test/expensive/_test_remat.py:96
↓ 4 callersFunctiondefault_converter
(obj, verbose=False, *, proxy_cls=None)
python/oneflow/framework/infer_compiler/transform/builtin_transform.py:166
↓ 4 callersMethoddemangle
oneflow/extension/stack/stacktrace.h:817
↓ 4 callersMethoddetach
oneflow/core/framework/tensor.h:432
↓ 4 callersFunctiondo_nhwc_conv
(test_case, with_cuda, with_bias)
oneflow/ir/test/OneFlow/auto_nhwc/test_nhwc_conv_relu_add.py:29
↓ 4 callersFunctiondo_nhwc_conv
(test_case, with_cuda, with_bias)
oneflow/ir/test/OneFlow/auto_nhwc/test_nhwc_conv.py:29
↓ 4 callersFunctiondo_nhwc_maxpool_2d
(test_case, with_cuda, with_return_induces)
oneflow/ir/test/OneFlow/auto_nhwc/test_nhwc_maxpool_2d.py:29
↓ 4 callersMethodempty
oneflow/core/intrusive/head_free_list.h:49
↓ 4 callersMethodempty_debug
oneflow/core/intrusive/skiplist_hook.h:271
↓ 4 callersMethodenable_auto_parallel
oneflow/core/job/job_desc.h:66
↓ 4 callersMethodend
oneflow/core/intrusive/flat_msg.h:452
↓ 4 callersMethodeord_regst_desc_id
oneflow/core/lazy/actor/actor_message.cpp:133
↓ 4 callersMethodexcute
oneflow/user/kernels/cufft_plan_cache.h:241
↓ 4 callersMethodexit
(code=0)
python/oneflow/__init__.py:314
↓ 4 callersMethodflops
(self)
python/oneflow/test/expensive/pytorch_crossformer.py:522
↓ 4 callersMethodforward
( self, x: flow.Tensor, w: flow.Tensor, b: flow.Tensor = None, v: flow
python/oneflow/test/modules/test_fused_glu.py:35
↓ 4 callersMethodfrom_dict
(cls, d: dict)
python/oneflow/profiler/events.py:104
↓ 4 callersMethodfuse_type
oneflow/core/vm/instruction_policy.h:48
↓ 4 callersFunctiongather_params
Parses a flat list of parameter tensors into a list of CellParams
oneflow/core/functional/impl/rnn_functor.cpp:174
↓ 4 callersMethodgetDeviceNameAttr
oneflow/ir/include/OneFlow/OneFlowOpTraits.h:50
↓ 4 callersMethodgetDeviceTagAttr
oneflow/ir/include/OneFlow/OneFlowOpTraits.h:49
↓ 4 callersFunctiongetMemPoolElemType
oneflow/ir/lib/OneFlow/Transform/OneFlowMemPool.cpp:44
↓ 4 callersFunctionget_arg_env
(env_var_name: str, mode="run")
docker/package/manylinux/build_wheel.py:9
↓ 4 callersFunctionget_bn
(fused=True)
oneflow/ir/test/OneFlow/with_cuda/test_fuse_bn_add_relu.py:31
↓ 4 callersFunctionget_data_format
(data_format)
python/oneflow/ops/util/initializer_util.py:39
↓ 4 callersFunctionget_event
(events, name: str, input_shapes: str = "", attributes: str = "")
python/oneflow/test/profiler/test_profile_lenet.py:49
↓ 4 callersMethodget_func
oneflow/ir/oneflow-extension/include/PyAst/Ast.h:351
↓ 4 callersFunctionget_python_bin
(version)
docker/package/manylinux/build_wheel.py:243
↓ 4 callersFunctionget_sole_value
(x: Iterable[T])
python/oneflow/autoprof/util.py:29
↓ 4 callersFunctionget_tensors
(batch_size, num_tables)
python/oneflow/test/expensive/test_id_shuffle_global.py:31
↓ 4 callersMethodget_value
oneflow/ir/oneflow-extension/include/PyAst/Ast.h:365
↓ 4 callersMethodget_x
oneflow/api/python/caster/test.cpp:26
↓ 4 callersMethodhas_eager_blob_object
oneflow/core/framework/tensor.h:403
↓ 4 callersMethodhas_input
oneflow/core/kernel/nccl_send_recv_boxing_kernel.cpp:42
↓ 4 callersMethodhas_output
oneflow/core/framework/user_op_conf.cpp:68
↓ 4 callersMethodhas_output
oneflow/core/kernel/nccl_send_recv_boxing_kernel.cpp:43
↓ 4 callersMethodin_forward_dict
(self, s)
python/oneflow/mock_torch/mock_modules.py:48
↓ 4 callersMethodinit_producer_stream
oneflow/core/eager/tensor_storage.cpp:55
↓ 4 callersMethodinteger
oneflow/core/functional/tensor_index.h:82
↓ 4 callersMethodis_dynamic
oneflow/core/common/tensor_meta.h:50
↓ 4 callersMethodis_eviction_disabled
oneflow/core/eager/tensor_storage.h:107
↓ 4 callersMethodis_foo_list_empty
oneflow/core/intrusive/list_test.cpp:41
← previousnext →1,601–1,700 of 28,456, ranked by callers