/third_party/mindspore/tests/ut/python/pipeline/parse/ |
D | test_call_innetr_net_attr.py | 27 def __init__(self, init_data, const): argument 29 self.weight = Parameter(init_data, name="weight_s") 30 self.t = init_data 40 def __init__(self, init_data, const): argument 42 self.inner_in_net = InnerInNet(init_data, const) 43 self.t = init_data 53 def __init__(self, init_data, const): argument 55 self.inner_net = InnerNet(init_data, const) 59 self.weight = Parameter(init_data, name="weight_s") 68 def __init__(self, init_data, const): argument [all …]
|
/third_party/mindspore/tests/ut/python/utils/ |
D | test_initializer.py | 62 _check_value(tensor.init_data(), 2, 2) 74 _check_value(tensor.init_data(), 0, 0) 79 _check_value(tensor.init_data(), 0, 0) 85 _check_value(tensor.init_data(), 0, 0) 90 _check_value(tensor.init_data(), 0, 0) 95 _check_value(tensor.init_data(), 1, 1) 100 _check_value(tensor.init_data(), 1, 1) 105 _check_value(tensor.init_data(), 1, 1) 111 _check_value(tensor.init_data(), -scale, scale) 117 _check_value(tensor.init_data(), -scale, scale) [all …]
|
/third_party/mindspore/tests/ut/cpp/ops/ |
D | test_ops_softmax.cc | 36 std::vector<std::int64_t> init_data = {-1}; in TEST_F() local 38 EXPECT_EQ(softmax->get_axis(), init_data); in TEST_F() 39 softmax->set_axis(init_data); in TEST_F() 40 EXPECT_EQ(softmax->get_axis(), init_data); in TEST_F() 66 std::vector<std::int64_t> init_data = {-1}; in TEST_F() local 68 EXPECT_EQ(softmax->get_axis(), init_data); in TEST_F() 69 softmax->set_axis(init_data); in TEST_F() 70 EXPECT_EQ(softmax->get_axis(), init_data); in TEST_F() 96 std::vector<std::int64_t> init_data = {-1}; in TEST_F() local 98 EXPECT_EQ(softmax->get_axis(), init_data); in TEST_F() [all …]
|
/third_party/lwip/src/netif/ |
D | bridgeif.c | 415 bridgeif_initdata_t *init_data; in bridgeif_init() local 432 init_data = (bridgeif_initdata_t *)netif->state; in bridgeif_init() 433 LWIP_ASSERT("init_data != NULL", (init_data != NULL)); in bridgeif_init() 435 init_data->max_ports <= BRIDGEIF_MAX_PORTS); in bridgeif_init() 437 …lloc_len_sizet = sizeof(bridgeif_private_t) + (init_data->max_ports * sizeof(bridgeif_port_t) + (i… in bridgeif_init() 446 memcpy(&br->ethaddr, &init_data->ethaddr, sizeof(br->ethaddr)); in bridgeif_init() 449 br->max_ports = init_data->max_ports; in bridgeif_init() 452 br->max_fdbs_entries = init_data->max_fdb_static_entries; in bridgeif_init() 453 …br->fdbs = (bridgeif_fdb_static_entry_t *)(((u8_t *)(br + 1)) + (init_data->max_ports * sizeof(bri… in bridgeif_init() 455 br->max_fdbd_entries = init_data->max_fdb_dynamic_entries; in bridgeif_init() [all …]
|
/third_party/mindspore/tests/ut/python/nn/ |
D | test_parameter.py | 199 para = para.init_data() 205 para = para.init_data() 216 para = para.init_data() 231 para.init_data() 251 self.new_p = self.p.init_data()
|
/third_party/boost/libs/wave/samples/token_statistics/xlex/ |
D | xlex_lexer.hpp | 105 static lexer_data const init_data[]; // common patterns member in boost::wave::cpplexer::xlex::lexer::lexer 184 lexer<Iterator, Position>::init_data[] = member in boost::wave::cpplexer::xlex::lexer::lexer<Iterator, Position> 448 for (int i = 0; 0 != init_data[i].tokenid; ++i) { in lexer() 449 xlexer.register_regex(init_data[i].tokenregex, init_data[i].tokenid, in lexer() 450 init_data[i].tokencb); in lexer()
|
/third_party/boost/libs/wave/samples/cpp_tokens/slex/ |
D | cpp_slex_lexer.hpp | 113 … static typename base_type::lexer_data const init_data[INIT_DATA_SIZE]; // common patterns member in boost::wave::cpplexer::slex::lexer::lexer 201 lexer<IteratorT, PositionT>::init_data[INIT_DATA_SIZE] = member in boost::wave::cpplexer::slex::lexer::lexer<IteratorT, PositionT> 542 for (int i = 0; 0 != init_data[i].tokenid; ++i) { in init_dfa() 543 this->register_regex(init_data[i].tokenregex, init_data[i].tokenid, in init_dfa() 544 init_data[i].tokencb, init_data[i].lexerstate); in init_dfa()
|
/third_party/mindspore/mindspore/common/ |
D | parameter.py | 192 data = data.init_data().asnumpy() 535 self._update_tensor_data(data.init_data()) 546 def init_data(self, layout=None, set_sliced=False): member in Parameter 594 data = self.init_mode.init_data(0, [1]) 596 data = self.init_mode.init_data(*init_data_args)
|
D | tensor.py | 1196 self.init_data() 1199 def init_data(self, slice_index=None, shape=None, opt_shard_group=None): member in Tensor 1304 return self.init_data(slice_index, shape, opt_shard_group)
|
/third_party/boost/libs/wave/samples/list_includes/lexertl/ |
D | lexertl_lexer.hpp | 117 static lexer_data const init_data[INIT_DATA_SIZE]; // common patterns member in boost::wave::cpplexer::lexertl::lexer::lexertl 188 lexertl<Iterator, Position>::init_data[INIT_DATA_SIZE] = member in boost::wave::cpplexer::lexertl::lexer::lexertl<Iterator, Position> 462 for (int i = 0; 0 != init_data[i].tokenid; ++i) { in init_dfa() 463 rules.add(init_data[i].tokenregex, init_data[i].tokenid); in init_dfa()
|
/third_party/boost/libs/regex/test/regress/ |
D | info.hpp | 103 static void init_data() in init_data() function in test_info_base 112 boost::call_once(f,&init_data); in data()
|
/third_party/mindspore/tests/st/fl/albert/src/ |
D | utils.py | 46 param.init_data()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cShaderAtomicCountersTests.cpp | 1965 std::vector<GLuint> init_data(256, 100); in Run() local 1968 …glBufferData(GL_ATOMIC_COUNTER_BUFFER, (GLsizeiptr)(init_data.size() * sizeof(GLuint)), &init_data… in Run() 2301 std::vector<GLuint> init_data(1024, 1000); in Run() local 2304 glBufferData(GL_ATOMIC_COUNTER_BUFFER, 1024 * sizeof(GLuint), &init_data[0], GL_DYNAMIC_COPY); in Run() 2474 std::vector<GLuint> init_data (bufferSize, 1000); in Run() local 2477 …glBufferData(GL_ATOMIC_COUNTER_BUFFER, bufferSize * sizeof(GLuint), &init_data[0], GL_DYNAMIC_COPY… in Run() 2719 std::vector<GLuint> init_data(256); in Run() local 2721 …glBufferData(GL_ATOMIC_COUNTER_BUFFER, (GLsizeiptr)(init_data.size() * sizeof(GLuint)), &init_data… in Run() 2849 std::vector<UVec4> init_data(256); in Run() local 2851 init_data[i] = UVec4(i); in Run() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cShaderAtomicCountersTests.cpp | 2205 std::vector<GLuint> init_data(256, 100); in Run() local 2208 …glBufferData(GL_ATOMIC_COUNTER_BUFFER, (GLsizeiptr)(init_data.size() * sizeof(GLuint)), &init_data… in Run() 2523 std::vector<GLuint> init_data(8, 1000); in Run() local 2526 glBufferData(GL_ATOMIC_COUNTER_BUFFER, 32, &init_data[0], GL_DYNAMIC_COPY); in Run() 2738 std::vector<GLuint> init_data(256); in Run() local 2740 …glBufferData(GL_ATOMIC_COUNTER_BUFFER, (GLsizeiptr)(init_data.size() * sizeof(GLuint)), &init_data… in Run() 2872 std::vector<UVec4> init_data(256); in Run() local 2874 init_data[i] = UVec4(i); in Run() 2877 …glBufferData(GL_UNIFORM_BUFFER, (GLsizeiptr)(sizeof(UVec4) * init_data.size()), &init_data[0], GL_… in Run() 2996 std::vector<GLuint> init_data(256); in Run() local [all …]
|
/third_party/freetype/include/freetype/internal/ |
D | ftobjs.h | 169 FT_Pointer init_data ); 263 FT_Pointer init_data,
|
/third_party/skia/third_party/externals/freetype/include/freetype/internal/ |
D | ftobjs.h | 169 FT_Pointer init_data ); 263 FT_Pointer init_data,
|
/third_party/flutter/skia/third_party/externals/freetype/include/freetype/internal/ |
D | ftobjs.h | 169 FT_Pointer init_data ); 263 FT_Pointer init_data,
|
/third_party/freetype/src/pcf/ |
D | pcfdrivr.c | 79 FT_Pointer init_data ) in pcf_cmap_init() argument 84 FT_UNUSED( init_data ); in pcf_cmap_init()
|
/third_party/skia/third_party/externals/freetype/src/pcf/ |
D | pcfdrivr.c | 79 FT_Pointer init_data ) in pcf_cmap_init() argument 84 FT_UNUSED( init_data ); in pcf_cmap_init()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | rtpbin.c | 123 init_data (CleanupData * data) in init_data() function 263 init_data (&data); in GST_START_TEST() 335 init_data (&data); in GST_START_TEST()
|
/third_party/flutter/skia/third_party/externals/freetype/src/pcf/ |
D | pcfdrivr.c | 80 FT_Pointer init_data ) in pcf_cmap_init() argument 85 FT_UNUSED( init_data ); in pcf_cmap_init()
|
/third_party/mindspore/tests/st/networks/models/bert/src/ |
D | bert_model.py | 815 "ones", [config.batch_size, config.seq_length], mstype.int32).init_data() 821 "ones", [config.batch_size, config.seq_length, 1], mstype.float32).init_data() 867 "zeros", [self.batch_size, self.seq_length], mstype.int32).init_data()
|
/third_party/flutter/skia/third_party/externals/freetype/src/bdf/ |
D | bdfdrivr.c | 65 FT_Pointer init_data ) in bdf_cmap_init() argument 69 FT_UNUSED( init_data ); in bdf_cmap_init()
|
/third_party/skia/third_party/externals/freetype/src/bdf/ |
D | bdfdrivr.c | 64 FT_Pointer init_data ) in bdf_cmap_init() argument 68 FT_UNUSED( init_data ); in bdf_cmap_init()
|
/third_party/freetype/src/bdf/ |
D | bdfdrivr.c | 64 FT_Pointer init_data ) in bdf_cmap_init() argument 68 FT_UNUSED( init_data ); in bdf_cmap_init()
|