Home
last modified time | relevance | path

Searched refs:block_shape (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/
H A D_batch_to_space_n_d_v10.md6 将一个4维tensor的batch维度按block_shape切分成小块,并将这些小块拼接到空间维度。
18 - $ n' = n / (block_shape[0] \* block_shape[1]) $
19 - $ h' = h \* block_shape[0] - crops[0][0] - crops[0][1] $
20 - $ w' = w \* block_shape[1] - crops[1][0] - crops[1][1] $
H A D_batch_to_space_n_d_v20.md6 将一个4维tensor的batch维度按block_shape切分成小块,并将这些小块拼接到空间维度。
18 - $ n' = n / (block_shape[0] \* block_shape[1]) $
19 - $ h' = h \* block_shape[0] - crops[0][0] - crops[0][1] $
20 - $ w' = w \* block_shape[1] - crops[1][0] - crops[1][1] $
H A D_node_attr_types_8idl_v10.md34 | struct  [BatchToSpaceND](_batch_to_space_n_d_v10.md) | 将一个4维tensor的batch维度按block_shape切…
H A D_node_attr_types_8idl_v20.md34 | struct  [BatchToSpaceND](_batch_to_space_n_d_v20.md) | 将一个4维tensor的batch维度按block_shape切…
H A D_n_n_rt_v10.md43 | struct  [BatchToSpaceND](_batch_to_space_n_d_v10.md) | 将一个4维tensor的batch维度按block_shape切…
H A D_n_n_rt_v20.md43 | struct  [BatchToSpaceND](_batch_to_space_n_d_v20.md) | 将一个4维tensor的batch维度按block_shape切…
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/
H A Dspace_to_batch_nd_builder.cpp65 block_shape.push_back(blockShapeData[i]); in SetBlockShape()
181 auto primitive = mindspore::lite::MindIR_SpaceToBatchND_CreatePrimitive(block_shape, paddings); in GetPrimitive()
H A Dspace_to_batch_nd_builder.h45 std::vector<int64_t> block_shape {};
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_manager/
H A Ddevice_manager_test.cpp1969 std::vector<int64_t> block_shape {}; variable
1970 void* primitive = mindspore::lite::MindIR_SpaceToBatchND_CreatePrimitive(block_shape, paddings);
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/
H A Dinner_model_test.cpp2887 std::vector<int64_t> block_shape {}; variable
2888 void* primitive = mindspore::lite::MindIR_SpaceToBatchND_CreatePrimitive(block_shape, paddings);
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/
H A Dinner_model_test.cpp2826 std::vector<int64_t> block_shape {}; variable
2827 void* primitive = mindspore::lite::MindIR_SpaceToBatchND_CreatePrimitive(block_shape, paddings);