Home
last modified time | relevance | path

Searched defs:vocab_size (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mindspore/mindspore/nn/layer/
Dembedding.py98 def __init__(self, vocab_size, embedding_size, use_one_hot=False, embedding_table='normal', argument
223 def __init__(self, vocab_size, embedding_size, param_init='normal', argument
371 def _set_voacb_cache_enable_for_ps(self, vocab_cache_size, embedding_size, vocab_size): argument
476 def __init__(self, vocab_size, embedding_size, field_size, param_init='normal', target='CPU', argument
Dthor_layer.py570 def __init__(self, vocab_size, embedding_size, use_one_hot=False, embedding_table='normal', argument
720 def __init__(self, vocab_size, embedding_size, param_init='normal', argument
899 def _set_voacb_cache_enable_for_ps(self, vocab_cache_size, embedding_size, vocab_size): argument
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/text/
Dbindings.cc56 … [](const py::list &paths, const int32_t vocab_size, const float character_coverage, in __anonb29b31e90502()
57 const SentencePieceModel model_type, const py::dict &params) { in __anonb29b31e90502()
/third_party/mindspore/mindspore/dataset/text/
Dutils.py104 …def from_file(cls, file_path, delimiter="", vocab_size=None, special_tokens=None, special_first=Tr… argument
158 def from_dataset(cls, dataset, col_names, vocab_size, character_coverage, model_type, params): argument
197 def from_file(cls, file_path, vocab_size, character_coverage, model_type, params): argument
/third_party/mindspore/tests/st/dynamic_shape/
Dtest_dynamic_shape_embedding.py27 def __init__(self, vocab_size, embedding_size, target="CPU"): argument
/third_party/mindspore/tests/st/ps/part_ps/
Dtest_ps_embedding_heterogeneous_conv2d_adam.py51 def __init__(self, in_channels, out_channels, kernel_size, vocab_size, embedding_size, argument
126 kernel_size=5, vocab_size=5, embedding_size=1, output_channels=3072, argument
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/
Dvocab.cc135 … Vocab::BuildFromFileCpp(const std::string &path, const std::string &delimiter, int32_t vocab_size, in BuildFromFileCpp()
197 …tus Vocab::BuildFromFile(const std::string &path, const std::string &delimiter, int32_t vocab_size, in BuildFromFile()
Dsentence_piece_vocab.cc33 …tencePieceVocab::BuildFromFile(const std::vector<std::string> &path_list, const int32_t vocab_size, in BuildFromFile()
/third_party/mindspore/tests/st/networks/
Dtest_gpu_lstm.py62 def __init__(self, vocab_size, embed_size, num_hiddens, num_layers, argument
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/
Dbuild_sentence_piece_vocab_node.cc32 … const std::vector<std::string> &col_names, int32_t vocab_size, in BuildSentenceVocabNode()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/
Dbuild_sentence_piece_vocab_op.cc25 … std::vector<std::string> col_names, int32_t vocab_size, in BuildSentencePieceVocabOp()
/third_party/mindspore/tests/ut/python/dataset/
Dtest_vocab.py152 def test_config(lookup_str, vocab_size, special_tokens, special_first): argument
/third_party/mindspore/mindspore/parallel/
D_ps_context.py201 def _insert_hash_table_size(name, cache_vocab_size, embedding_size, vocab_size): argument
/third_party/mindspore/tests/st/auto_parallel/
Dmultifieldembeddinglookup_parallel.py178 def __init__(self, vocab_size, embedding_size, field_size, argument
202 def __init__(self, vocab_size, embedding_size, field_size, argument
/third_party/mindspore/tests/st/fl/albert/src/
Ddataset.py151 …def __init__(self, batch_size, max_seq_length, vocab_size, keep_first_unchange=True, keep_last_unc… argument
Dcell_wrapper.py177 def __init__(self, network, vocab_size=21128): argument
Dmodel.py60 vocab_size=21128, argument
/third_party/mindspore/tests/st/networks/models/bert/src/
Dbert_model.py65 vocab_size=32000, argument
116 vocab_size, argument
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Ddatasets.h247 const std::vector<std::string> &col_names, int32_t vocab_size, float character_coverage, in BuildSentencePieceVocab()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/
Dbindings.cc146 const std::unordered_map<std::string, std::string> &params) { in __anon4440814b0c02()
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/
Dps_cache_manager.cc26 size_t vocab_size) { in InsertHashTableSize()
1125 size_t vocab_size = item.second.vocab_size; in DumpHashTables() local
/third_party/mindspore/tests/ut/python/ir/
Dtest_row_tensor.py439 def __init__(self, vocab_size, embedding_size, target='CPU'): argument
/third_party/mindspore/mindspore/parallel/nn/
Dtransformer.py519 … def __init__(self, vocab_size, embedding_size, parallel_config=default_embedding_parallel_config, argument
/third_party/mindspore/tests/ut/python/ops/
Dtest_ops.py340 def __init__(self, vocab_size, embedding_size, padding_idx=None): argument
353 def __init__(self, vocab_size, embedding_size, max_norm=None): argument
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Ddatasets.cc553 const std::vector<std::vector<char>> &col_names, int32_t vocab_size, float character_coverage, in BuildSentencePieceVocabCharIF()

12