/third_party/mindspore/tests/ut/python/nn/ |
D | test_loss.py | 27 target_data = Tensor(np.array([[0, 2, 5], [3, 1, 1]]).astype(np.float32)) 28 loss(input_data, target_data) 34 target_data = Tensor(np.array([[0, 0, 5], [1, 2, 3]]).astype(np.float32)) 35 loss(input_data, target_data) 62 target_data = Tensor(np.array([[0, 1, 0], [0, 0, 1]]).astype(np.float32)) 63 loss(inputs_data, target_data) 71 target_data = Tensor(np.array([[0, 1, 0], [0, 0, 1]]).astype(np.float32)) 72 loss(inputs_data, target_data) 81 target_data = Tensor(np.array([[0, 1, 0], [0, 0, 1]]).astype(np.float32)) 82 loss(inputs_data, target_data) [all …]
|
/third_party/mindspore/tests/st/ops/gpu/ |
D | test_loss.py | 41 target_data = Tensor(np.array([[0, 2, 5], [3, 1, 1]]).astype(nptype)) 42 output_data = loss(input_data, target_data) 46 test_output = loss(input_data, target_data) 51 test_output = loss(input_data, target_data) 89 target_data = Tensor(np.array([[0, 2, 5], [3, 1, 1]]).astype(nptype)) 90 output_data = loss(input_data, target_data) 94 test_output = customloss(input_data, target_data)
|
/third_party/mindspore/tests/ut/python/pynative_mode/nn/ |
D | test_loss.py | 27 target_data = Tensor(np.array([1, 2, 2])) 29 loss.construct(input_data, target_data)
|
/third_party/mesa3d/src/amd/common/ |
D | ac_rtld.c | 495 Elf_Data *target_data = elf_getdata(target_scn, NULL); in get_section_by_name() local 496 if (!target_data) { in get_section_by_name() 501 *data = target_data->d_buf; in get_section_by_name() 502 *nbytes = target_data->d_size; in get_section_by_name() 622 Elf_Data *target_data = elf_getdata(target_scn, NULL); in apply_relocs() local 623 report_elf_if(!target_data); in apply_relocs() 641 const char *orig_base = target_data->d_buf; in apply_relocs()
|
/third_party/mindspore/mindspore/core/ops/ |
D | abs.cc | 34 auto target_data = reinterpret_cast<T *>(target); in ImpleAbs() local 37 target_data[i] = origin_data[i] >= zero_val ? origin_data[i] : -origin_data[i]; in ImpleAbs()
|
D | square.cc | 29 auto target_data = reinterpret_cast<T *>(target); in ImpleSquare() local 31 target_data[i] = origin_data[i] * origin_data[i]; in ImpleSquare()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | decoration_manager.cpp | 375 TargetData& target_data = id_to_decoration_insts_[target_id]; in AddDecoration() local 376 target_data.indirect_decorations.push_back(inst); in AddDecoration() 433 const TargetData& target_data = ids_iter->second; in InternalGetDecorationsFor() local 450 for (const Instruction* inst : target_data.indirect_decorations) { in InternalGetDecorationsFor()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | decoration_manager.cpp | 375 TargetData& target_data = id_to_decoration_insts_[target_id]; in AddDecoration() local 376 target_data.indirect_decorations.push_back(inst); in AddDecoration() 433 const TargetData& target_data = ids_iter->second; in InternalGetDecorationsFor() local 450 for (const Instruction* inst : target_data.indirect_decorations) { in InternalGetDecorationsFor()
|
/third_party/spirv-tools/source/opt/ |
D | decoration_manager.cpp | 375 TargetData& target_data = id_to_decoration_insts_[target_id]; in AddDecoration() local 376 target_data.indirect_decorations.push_back(inst); in AddDecoration() 433 const TargetData& target_data = ids_iter->second; in InternalGetDecorationsFor() local 450 for (const Instruction* inst : target_data.indirect_decorations) { in InternalGetDecorationsFor()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Frontend/OpenMP/ |
D | OMPKinds.def | 47 __OMP_DIRECTIVE_EXT(target_data, "target data")
|
/third_party/node/src/ |
D | node_buffer.cc | 557 memmove(target_data + target_start, source.data() + source_start, to_copy); in Copy()
|