Home
last modified time | relevance | path

Searched refs:input_channels (Results 1 – 25 of 45) sorted by relevance

12

/third_party/mindspore/tests/st/ops/ascend/test_tbe_ops/
Dtest_apply_adam.py27 … def __init__(self, batch_num, input_channels, output_channels, epoch, lr, weight_decay, epsilon): argument
29 self.input_channels = input_channels
37 input_ = Tensor(np.random.randn(self.batch_num, self.input_channels).astype(np.float32))
38 … weight_np = Tensor(np.random.randn(self.output_channels, self.input_channels).astype(np.float32))
46 ms_dense = Dense(in_channels=self.input_channels,
71 …fact = Adam(batch_num=8, input_channels=20, output_channels=5, epoch=5, lr=0.1, weight_decay=0.0, …
/third_party/skia/third_party/skcms/
Dskcms.cc582 uint8_t input_channels [ 1]; member
609 a2b-> input_channels = mftTag-> input_channels[0]; in read_mft_common()
617 if (a2b->input_channels < 1 || a2b->input_channels > ARRAY_COUNT(a2b->input_curves)) { in read_mft_common()
621 for (uint32_t i = 0; i < a2b->input_channels; ++i) { in read_mft_common()
635 b2a-> input_channels = mftTag-> input_channels[0]; in read_mft_common()
640 if (b2a->input_channels != ARRAY_COUNT(b2a->input_curves)) { in read_mft_common()
648 for (uint32_t i = 0; i < b2a->input_channels; ++i) { in read_mft_common()
666 uint32_t byte_len_all_input_tables = out->input_channels * byte_len_per_input_table; in init_tables()
670 for (uint32_t axis = 0; axis < out->input_channels; ++axis) { in init_tables()
678 for (uint32_t i = 0; i < out->input_channels; ++i) { in init_tables()
[all …]
/third_party/mindspore/tests/ut/python/parallel/
Dtest_gather_v2_primitive.py90 def fc_with_initialize(input_channels, out_channels): argument
91 return Dense(input_channels, out_channels)
134 input_channels = 256
140 predict = Tensor(np.ones([batch_size_per_device, input_channels]), dtype=ms.float32)
143 network = fc_with_initialize(input_channels, out_channels)
Dtest_operator_model_parallel.py48 input_channels, argument
58 self.input_channels = input_channels
63 weight_init, [output_channels, input_channels]), name="weight")
171 def fc_with_initialize(input_channels, out_channels): argument
172 weight_shape = (out_channels, input_channels)
177 return DenseWrap(input_channels, out_channels, weight, bias, has_bias=True,
/third_party/mindspore/tests/ut/python/exec/
Dtest_dense.py27 input_channels, argument
33 self.fc = nn.Dense(input_channels,
/third_party/flutter/skia/third_party/skcms/
Dskcms.cc419 uint8_t input_channels [ 1]; member
447 a2b->input_channels = mftTag->input_channels[0]; in read_mft_common()
455 if (a2b->input_channels < 1 || a2b->input_channels > ARRAY_COUNT(a2b->input_curves)) { in read_mft_common()
459 for (uint32_t i = 0; i < a2b->input_channels; ++i) { in read_mft_common()
478 uint32_t byte_len_all_input_tables = a2b->input_channels * byte_len_per_input_table; in init_a2b_tables()
482 for (uint32_t axis = 0; axis < a2b->input_channels; ++axis) { in init_a2b_tables()
490 for (uint32_t i = 0; i < a2b->input_channels; ++i) { in init_a2b_tables()
594 uint8_t input_channels [ 1]; member
618 a2b->input_channels = mABTag->input_channels[0]; in read_tag_mab()
626 if (a2b->input_channels > ARRAY_COUNT(a2b->input_curves)) { in read_tag_mab()
[all …]
/third_party/mindspore/tests/st/fl/mobile/src/
Dmodel.py34 def fc_with_initialize(input_channels, out_channels): argument
38 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/tests/perf_test/
Dlenet.py28 def fc_with_initialize(input_channels, out_channels): argument
32 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/mindspore/lite/examples/export_models/models/
Dmini_alexnet.py26 def fc_with_initialize(input_channels, out_channels, has_bias=True): argument
27 return nn.Dense(input_channels, out_channels, has_bias=has_bias)
/third_party/mindspore/tests/st/fl/hybrid_lenet/src/
Dmodel.py35 def fc_with_initialize(input_channels, out_channels): argument
39 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/tests/st/fl/cross_silo_lenet/src/
Dmodel.py35 def fc_with_initialize(input_channels, out_channels): argument
39 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/tests/st/ps/multi_full_ps/
Dtest_multi_full_ps.py54 def fc_with_initialize(input_channels, out_channels): argument
58 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/tests/ut/python/utils/
Dtest_export.py25 def fc_with_initialize(input_channels, out_channels): argument
28 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/tests/st/probability/transforms/
Dtest_transform_bnn_model.py38 def fc_with_initialize(input_channels, out_channels): argument
42 return nn.Dense(input_channels, out_channels, weight, bias)
Dtest_transform_bnn_layer.py39 def fc_with_initialize(input_channels, out_channels): argument
43 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/tests/ut/python/nn/
Dtest_dense.py93 input_channels, argument
100 self.dense = nn.Dense(input_channels,
/third_party/mindspore/tests/st/probability/bnn_layers/
Dtest_bnn_layer.py38 def fc_with_initialize(input_channels, out_channels): argument
42 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/tests/st/probability/toolbox/
Dtest_uncertainty.py38 def fc_with_initialize(input_channels, out_channels): argument
42 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/tests/st/export_and_load/
Dtest_train_mindir.py39 def fc_with_initialize(input_channels, out_channels): argument
42 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/tests/st/ps/full_ps/
Dtest_full_ps_lenet.py48 def fc_with_initialize(input_channels, out_channels): argument
52 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/tests/st/armour/
Dtest_pynative_mindarmour.py42 def fc_with_initialize(input_channels, out_channels): argument
46 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/skia/include/third_party/skcms/
Dskcms.h115 uint32_t input_channels; member
135 uint32_t input_channels; member
/third_party/mindspore/tests/st/nontask_sink/
Dtest_lenet.py47 def fc_with_initialize(input_channels, out_channels): argument
51 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/tests/st/control/
Dtest_if_mindir.py39 def fc_with_initialize(input_channels, out_channels): argument
42 return nn.Dense(input_channels, out_channels, weight, bias)
/third_party/mindspore/tests/st/networks/models/
Dresnetv1_5.py83 def fc_with_initialize(input_channels, out_channels): argument
84 weight_shape = (out_channels, input_channels)
89 return nn.Dense(input_channels, out_channels, weight, bias)

12