Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ Tensor
Method
Tensor
imperative/python/src/tensor.h:47–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
using Handle = interpreter::Interpreter::Handle;
46
47
inline explicit Tensor(ValueRef data) : m_data{data} {}
48
49
~Tensor() = default;
50
Callers
15
run
Function · 0.45
get_perf_results
Function · 0.45
runner
Function · 0.45
test_prelu
Function · 0.45
__init__
Method · 0.45
test_backward_fold_scale
Function · 0.45
test_fuse_bn
Function · 0.45
run
Function · 0.45
test_param_pack_split
Function · 0.45
test_param_pack_concat
Function · 0.45
test_subgraph_jit_backward
Function · 0.45
as_tensor
Function · 0.45
Calls
no outgoing calls
Tested by
15
runner
Function · 0.36
test_prelu
Function · 0.36
__init__
Method · 0.36
test_backward_fold_scale
Function · 0.36
test_fuse_bn
Function · 0.36
run
Function · 0.36
test_param_pack_split
Function · 0.36
test_param_pack_concat
Function · 0.36
test_subgraph_jit_backward
Function · 0.36
as_tensor
Function · 0.36
test_grad_with_tensor_wrapper
Function · 0.36
test_wrt_intermediate_var
Function · 0.36