MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / tensor_utils.cpp

File tensor_utils.cpp

imperative/python/src/tensor_utils.cpp:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "megbrain/common.h"
2#include "megbrain/dtype.h"
3#include "megbrain/imperative/ops/autogen.h"
4#include "megbrain/imperative/ops/backward_graph.h"

Callers

nothing calls this directly

Calls 15

_dtype_promotionFunction · 0.85
castFunction · 0.85
dtype_np2mgb_descrFunction · 0.85
_get_deviceFunction · 0.85
_make_shape_tupleFunction · 0.85
_getitem_cppFunction · 0.85
_setitem_cppFunction · 0.85
_split_cppFunction · 0.85
_expand_dims_cppFunction · 0.85
_squeeze_cppFunction · 0.85
_transpose_cppFunction · 0.85
_broadcast_cppFunction · 0.85

Tested by

no test coverage detected