Home
last modified time | relevance | path

Searched refs:CrossEntropyLoss (Results 1 – 16 of 16) sorted by relevance

/third_party/mindspore/tests/ut/python/parallel/
Dtest_bias_add.py24 class CrossEntropyLoss(nn.Cell): class
26 super(CrossEntropyLoss, self).__init__()
91 loss = CrossEntropyLoss()
Dtest_reshape.py552 class CrossEntropyLoss(nn.Cell): class
554 super(CrossEntropyLoss, self).__init__()
576 loss = CrossEntropyLoss()
596 loss = CrossEntropyLoss()
637 loss = CrossEntropyLoss()
Dtest_parallel_transformer.py25 …VocabEmbedding, CrossEntropyLoss, OpParallelConfig, EmbeddingOpParallelConfig, FixedSparseAttention
74 self.loss = CrossEntropyLoss(parallel_config=config.dp_mp_config)
543 self.loss = CrossEntropyLoss(config_setting)
/third_party/mindspore/tests/st/pynative/
Dtest_pynative_lenet.py95 class CrossEntropyLoss(nn.Cell): class
101 super(CrossEntropyLoss, self).__init__()
146 criterion = CrossEntropyLoss()
184 criterion = CrossEntropyLoss()
Dtest_pynative_resnet50_gpu.py351 class CrossEntropyLoss(nn.Cell): class
353 super(CrossEntropyLoss, self).__init__()
389 criterion = CrossEntropyLoss()
Dtest_pynative_resnet50_ascend.py389 class CrossEntropyLoss(nn.Cell): class
391 super(CrossEntropyLoss, self).__init__()
/third_party/mindspore/tests/st/tbe_networks/
Dtest_resnet_cifar_1p.py86 class CrossEntropyLoss(nn.Cell): class
88 super(CrossEntropyLoss, self).__init__()
137 loss = CrossEntropyLoss()
Dresnet_cifar.py108 class CrossEntropyLoss(nn.Cell): class
110 super(CrossEntropyLoss, self).__init__()
133 loss = CrossEntropyLoss()
Dtest_resnet_cifar_8p.py97 class CrossEntropyLoss(nn.Cell): class
99 super(CrossEntropyLoss, self).__init__()
159 loss = CrossEntropyLoss()
/third_party/mindspore/tests/st/mem_reuse/
Dresnet_cifar_memreuse.py107 class CrossEntropyLoss(nn.Cell): class
109 super(CrossEntropyLoss, self).__init__()
132 loss = CrossEntropyLoss()
Dresnet_cifar_normal.py107 class CrossEntropyLoss(nn.Cell): class
109 super(CrossEntropyLoss, self).__init__()
132 loss = CrossEntropyLoss()
/third_party/mindspore/tests/st/nontask_sink/
Dtest_lenet.py94 class CrossEntropyLoss(nn.Cell): class
100 super(CrossEntropyLoss, self).__init__()
137 criterion = CrossEntropyLoss()
/third_party/mindspore/tests/st/pynative/ms_function/
Dtest_pynative_lenet_ms_function.py128 class CrossEntropyLoss(nn.Cell): class
134 super(CrossEntropyLoss, self).__init__()
179 criterion = CrossEntropyLoss()
/third_party/mindspore/mindspore/parallel/nn/
D__init__.py23 from .loss import CrossEntropyLoss
Dloss.py31 class CrossEntropyLoss(Cell): class
67 super(CrossEntropyLoss, self).__init__()
/third_party/mindspore/tests/ut/python/nn/
Dtest_transformer.py21 …TransformerDecoder, TransformerDecoderLayer, Transformer, CrossEntropyLoss, AttentionMask, FixedSp…
231 model = CrossEntropyLoss()