Home
last modified time | relevance | path

Searched refs:mode_map (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/utils/
Dconfig_manager.cc31 …static const std::map<std::string, DatasetMode> mode_map = {{"normal", DS_NORMAL_MODE}, {"sink", D… in SetDatasetModeConfig() local
32 if (mode_map.find(mode) == mode_map.end()) { in SetDatasetModeConfig()
36 GetInstance().dataset_mode_ = mode_map.at(mode); in SetDatasetModeConfig()
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genrsa.c41 static int mode_map[] = { MBEDTLS_RSA_PKCS_V15, MBEDTLS_RSA_PKCS_V21 }; variable
61 mbedtls_rsa_init(ctx->ctx, mode_map[mode], 0);
64 mbedtls_rsa_set_padding(ctx->ctx, mode_map[mode], 0);
67 ctx->ctx->MBEDTLS_PRIVATE(padding) = mode_map[mode];
148 mbedtls_rsa_init(ctx->ctx, mode_map[mode], 0);
151 mbedtls_rsa_set_padding(ctx->ctx, mode_map[mode], 0);
/third_party/ffmpeg/libavcodec/
Datrac9dec.c262 static const uint8_t mode_map[2][4] = { { 0, 1, 2, 3 }, { 0, 2, 3, 4 } }; in read_scalefactors() local
263 const int mode = mode_map[channel_idx][get_bits(gb, 2)]; in read_scalefactors()
/third_party/mindspore/mindspore/ccsrc/common/
Dtrans.cc119 const std::map<std::pair<TypeId, TypeId>, DataTypeTransMode> mode_map{ variable
1089 auto iter = mode_map.find(type_info); in TransDataType()
1090 if (iter == mode_map.end()) { in TransDataType()