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

Method is_lowbit_aligned

dnn/src/common/tensor_format.cpp:74–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74bool TensorFormat::is_lowbit_aligned() const {
75 return type() == TensorFormat::Type::LOWBITS_ALIGNED_TO_BYTE;
76}
77
78/* ===================== DefaultFormat ===================== */
79void DefaultTensorFormat::assert_valid(const TensorLayout& layout) const {

Callers 12

ndarray_from_tensorFunction · 0.80
check_tensor_value_validFunction · 0.80
tensor.cppFile · 0.80
build_blobMethod · 0.80
var_alloc_with_shapeMethod · 0.80
init_output_formatMethod · 0.80
applyMethod · 0.80
init_output_formatMethod · 0.80
init_output_formatMethod · 0.80
profile_single_algoMethod · 0.80
deduce_layout_fwdMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected