/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/ |
D | embedding_lookup_gpu_kernel.cc | 22 EmbeddingLookup, 26 EmbeddingLookup, 30 EmbeddingLookup, 34 EmbeddingLookup, 38 EmbeddingLookup, 42 EmbeddingLookup, 46 EmbeddingLookup, 50 EmbeddingLookup, 54 EmbeddingLookup, 58 EmbeddingLookup, [all …]
|
/third_party/mindspore/mindspore/core/ops/ |
D | embedding_lookup.h | 32 class MS_CORE_API EmbeddingLookup : public PrimitiveC { 35 …EmbeddingLookup() : PrimitiveC(kNameEmbeddingLookup) { InitIOName({"params", "indices", "offset"},… in EmbeddingLookup() function 37 ~EmbeddingLookup() = default; 38 MS_DECLARE_PARENT(EmbeddingLookup, PrimitiveC); 50 using PrimEmbeddingLookupPtr = std::shared_ptr<EmbeddingLookup>;
|
D | embedding_lookup.cc | 25 void EmbeddingLookup::Init(const bool setattr_flag) { this->set_setattr_flag(setattr_flag); } in Init() 27 void EmbeddingLookup::set_setattr_flag(const bool setattr_flag) { in set_setattr_flag() 31 bool EmbeddingLookup::get_setattr_flag() const { in get_setattr_flag() 80 REGISTER_PRIMITIVE_C(kNameEmbeddingLookup, EmbeddingLookup);
|
/third_party/mindspore/tests/mindspore_test_framework/apps/ |
D | test_bert_parts.py | 21 from mindspore.tests.models.Bert_NEZHA import EmbeddingLookup, GetMaskedLMOutput, \ 133 'block': get_output_cell(EmbeddingLookup(vocab_size=32000, 141 'block': get_output_cell(EmbeddingLookup(vocab_size=32000, 149 'block': get_output_cell(EmbeddingLookup(vocab_size=32000, 157 'block': get_output_cell(EmbeddingLookup(vocab_size=32000, 165 'block': EmbeddingLookup(vocab_size=32000, 173 'block': (get_output_cell(EmbeddingLookup(vocab_size=32000, 182 'block': (EmbeddingLookup(vocab_size=32000, 191 'block': (EmbeddingLookup(vocab_size=32000,
|
D | test_bert_compare_with_npy.py | 23 EmbeddingLookup, BertModel, \ 467 'block': EmbeddingLookup(vocab_size=21128,
|
D | test_bert_check_gradient.py | 24 EmbeddingLookup, EmbeddingPostprocessor, BertOutput, \ 286 'block': EmbeddingLookup(vocab_size=21128,
|
/third_party/mindspore/tests/ut/python/parallel/ |
D | test_multi_field_embedding.py | 59 …def __init__(self, shape, field_size=10, slice_mode=nn.EmbeddingLookup.BATCH_SLICE, target="Device… 95 …net = NetWithLoss(Net(shape, field_size=9, slice_mode=nn.EmbeddingLookup.TABLE_ROW_SLICE, target='… 102 …net = NetWithLoss(Net(shape, field_size=10, slice_mode=nn.EmbeddingLookup.TABLE_COLUMN_SLICE, targ… 116 …net = NetWithLoss(Net(shape, target='DEVICE', slice_mode=nn.EmbeddingLookup.TABLE_COLUMN_SLICE, op… 123 …net = NetWithLoss(Net(shape, target='DEVICE', slice_mode=nn.EmbeddingLookup.TABLE_ROW_SLICE, opera… 137 …net = NetWithLoss(Net(shape, target='DEVICE', slice_mode=nn.EmbeddingLookup.TABLE_COLUMN_SLICE, op… 144 …net = NetWithLoss(Net(shape, target='DEVICE', slice_mode=nn.EmbeddingLookup.TABLE_ROW_SLICE, opera…
|
D | test_sparse_feature_bprop.py | 84 self.embeddinglookup = nn.EmbeddingLookup(64, 64, param_init='ones')
|
D | test_embeddinglookup.py | 52 self.elu = P.EmbeddingLookup().shard(strategy1).add_prim_attr("primitive_target", target)
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | embedding_look_up_cpu_kernel.h | 50 EmbeddingLookup, 55 EmbeddingLookup, 60 EmbeddingLookup,
|
/third_party/mindspore/tests/st/pynative/ |
D | test_pynative_embeddinglookup.py | 45 class EmbeddingLookup(Cell): class 48 self.op = op.EmbeddingLookup() 64 net = EmbeddingLookup(self.offset)
|
/third_party/mindspore/mindspore/train/train_thor/ |
D | convert_utils.py | 31 nn.EmbeddingLookup: ConvertNetUtils._convert_embeddinglookup} 119 …if isinstance(subcell, (nn.Embedding, nn.EmbeddingLookup)) and subcell.embedding_table.requires_gr… 138 elif isinstance(subcell, (nn.Embedding, nn.Dense, nn.Conv2d, nn.EmbeddingLookup)):
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | embedding_lookup_fp32.h | 37 int EmbeddingLookup(float *input_data, const int *ids, float *output_data, const EmbeddingLookupPar…
|
D | embedding_lookup_fp32.c | 50 int EmbeddingLookup(float *input_data, const int *ids, float *output_data, const EmbeddingLookupPar… in EmbeddingLookup() function
|
/third_party/mindspore/tests/st/networks/models/bert/src/ |
D | __init__.py | 20 BertOutput, BertSelfAttention, BertTransformer, EmbeddingLookup, \
|
/third_party/mindspore/tests/st/ops/ascend/ |
D | test_embedding_lookup.py | 30 self.embedding = P.EmbeddingLookup()
|
/third_party/mindspore/tests/ut/cpp/ops/ |
D | test_ops_embeddinglookup.cc | 35 auto embedding_lookup = std::make_shared<EmbeddingLookup>(); in TEST_F()
|
/third_party/mindspore/tests/st/ops/gpu/ |
D | test_embedding_lookup_op.py | 28 self.embeddinglookup = P.EmbeddingLookup()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/ |
D | embedding_lookup_infer.c | 77 REG_INFER(EmbeddingLookup, PrimType_EmbeddingLookupFusion, EmbeddingLookupInferShape)
|
/third_party/mindspore/tests/st/dynamic_shape/ |
D | test_dynamic_shape_embedding.py | 30 nn.EmbeddingLookup(vocab_size=vocab_size,
|
/third_party/mindspore/mindspore/nn/layer/ |
D | embedding.py | 156 class EmbeddingLookup(Cell): class 227 super(EmbeddingLookup, self).__init__() 243 self.embeddinglookup = P.EmbeddingLookup().add_prim_attr('primitive_target', 'CPU') 401 class MultiFieldEmbeddingLookup(EmbeddingLookup):
|
/third_party/mindspore/tests/st/ps/part_ps/ |
D | test_ps_embedding_heterogeneous_conv2d_adam.py | 32 from mindspore.nn import EmbeddingLookup 59 self.embedding_lookup = EmbeddingLookup(vocab_size=vocab_size,
|
/third_party/mindspore/tests/st/ps/cmp_sparse_embedding/ |
D | test_cmp_sparse_embedding.py | 46 self.embedding = nn.EmbeddingLookup(16, 4)
|
/third_party/mindspore/tests/st/ops/cpu/ |
D | test_embedding_look_up_op.py | 29 self.embedding = P.EmbeddingLookup().add_prim_attr("primitive_target", "CPU")
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/ |
D | embedding_lookup_fp32.cc | 58 int error_code = EmbeddingLookup(input_addr_, ids_addr, output_addr, param_, task_id); in DoExcute()
|