MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / sc

Function sc

dnn/src/cuda/cudnn_wrapper.cpp:329–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329int sc(const size_t x) {
330 return static_cast<int>(x);
331}
332void Tensor3DDesc::set(const TensorLayout& layout, bool is_ndhwc) {
333 megdnn_assert_eq_size_t(layout.ndim, 5_z);
334 size_t c_pos, spatial_pos;

Callers 1

setMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected