Home
last modified time | relevance | path

Searched defs:data_type (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/third_party/boost/libs/regex/test/regress/
Dinfo.hpp81 struct data_type struct in test_info_base
83 std::string file;
84 int line;
85 string_type expression;
86 boost::regex_constants::syntax_option_type options;
87 string_type search_text;
88 boost::regex_constants::match_flag_type match_options;
89 const int* answer_table;
90 string_type format_string;
91 string_type result_string;
[all …]
/third_party/mindspore/mindspore/lite/include/registry/
Dregister_kernel.h35 DataType data_type; /**< kernel data type argument */ member
102 KernelReg(const std::string &arch, const std::string &provider, DataType data_type, int op_type, in KernelReg()
114 …KernelReg(const std::string &arch, const std::string &provider, DataType data_type, const std::str… in KernelReg()
127 #define REGISTER_KERNEL(arch, provider, data_type, op_type, creator) … argument
140 #define REGISTER_CUSTOM_KERNEL(arch, provider, data_type, op_type, creator) … argument
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/ir/
Dvalidators.cc48 bool IsTypeNumeric(const std::string &data_type) { in IsTypeNumeric()
56 bool IsTypeBoolean(const std::string &data_type) { return data_type == "bool"; } in IsTypeBoolean()
58 bool IsTypeString(const std::string &data_type) { return data_type == "string"; } in IsTypeString()
/third_party/boost/libs/type_erasure/src/
Ddynamic_binding.cpp29 struct data_type struct
31 map_type first;
32 mutex_type second;
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/distribution/
Dcollective_wrapper.cc37 …sult_t AllReduce(const void *input_addr, void *output_addr, size_t count, ncclDataType_t data_type, in AllReduce()
42 …sult_t AllGather(const void *input_addr, void *output_addr, size_t count, ncclDataType_t data_type, in AllGather()
47 …_t ReduceScatter(const void *input_addr, void *output_addr, size_t count, ncclDataType_t data_type, in ReduceScatter()
52 …adcast(const void *input_addr, void *output_addr, size_t count, ncclDataType_t data_type, int root, in Broadcast()
57 ncclResult_t Send(const void *send_addr, size_t count, ncclDataType_t data_type, int peer_rank, cud… in Send()
62 ncclResult_t Recv(void *recv_addr, size_t count, ncclDataType_t data_type, int peer_rank, cudaStrea… in Recv()
Dnccl_wrapper.cc49 …apper::AllReduce(const void *input_addr, void *output_addr, size_t count, ncclDataType_t data_type, in AllReduce()
57 …apper::AllGather(const void *input_addr, void *output_addr, size_t count, ncclDataType_t data_type, in AllGather()
66ncclDataType_t data_type, ncclRedOp_t reduce_type, cudaStream_t stream, in ReduceScatter()
74 …apper::Broadcast(const void *input_addr, void *output_addr, size_t count, ncclDataType_t data_type, in Broadcast()
82 ncclResult_t NCCLWrapper::Send(const void *send_addr, size_t count, ncclDataType_t data_type, int p… in Send()
89 ncclResult_t NCCLWrapper::Recv(void *recv_addr, size_t count, ncclDataType_t data_type, int peer_ra… in Recv()
/third_party/boost/libs/unordered/test/exception/
Dswap_exception_tests.cpp23 typedef T data_type; typedef
80 struct data_type struct
82 data_type(T const& x_, T const& y_) : x(x_), y(y_) {} in data_type() argument
84 T x, y;
/third_party/mindspore/mindspore/core/ir/
Dtensor.cc51 static TypeId TypeIdOf(const TypePtr &data_type, TypeId defaultTypeId) { in TypeIdOf()
101 std::unique_ptr<T[]> CopyData(const ShapeVector &shape, void *const data, TypeId data_type) { in CopyData()
191 TensorDataImpl(const ShapeVector &shape, void *data, TypeId data_type) in TensorDataImpl()
445 TensorDataPtr MakeTensorData(TypeId data_type, const ShapeVector &shape, const Args... args) { in MakeTensorData()
503 Tensor::Tensor(const Tensor &tensor, TypeId data_type) in Tensor()
519 Tensor::Tensor(TypeId data_type, const ShapeVector &shape, TensorDataPtr data) in Tensor()
522 Tensor::Tensor(TypeId data_type, const ShapeVector &shape) in Tensor()
525 Tensor::Tensor(TypeId data_type, const ShapeVector &shape, void *data, size_t data_len) in Tensor()
528 Tensor::Tensor(TypeId data_type, const ShapeVector &shape, void *data, TypeId src_data_type) in Tensor()
531 Tensor::Tensor(const std::vector<int64_t> &input, const TypePtr &data_type) in Tensor()
[all …]
Dmeta_tensor.cc30 MetaTensor::MetaTensor(const TypeId data_type, const ShapeVector &shape) : data_type_(data_type), s… in MetaTensor()
33 TypeId data_type = TypeId::kTypeUnknown; in MetaTensor() local
85 void MetaTensor::SetDeviceInfo(const std::string &format, const TypePtr &data_type, const std::stri… in SetDeviceInfo()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dtype_id.h24 inline dataset::DataType MSTypeToDEType(TypeId data_type) { in MSTypeToDEType()
57 inline TypeId DETypeToMSType(dataset::DataType data_type) { in DETypeToMSType()
/third_party/mindspore/mindspore/core/ops/
Dconstant_of_shape.cc35 auto data_type = TypeId(GetValue<int64_t>(primitive->GetAttr(kDataType))); in InferType() local
40 void ConstantOfShape::Init(int64_t data_type, const std::vector<float> &value) { in Init()
45 void ConstantOfShape::set_data_type(int64_t data_type) { (void)this->AddAttr(kDataType, MakeValue(d… in set_data_type()
/third_party/mindspore/mindspore/lite/src/
Dkernel_registry.h75 KernelRegistrar(const kernel::KERNEL_ARCH arch, const TypeId data_type, const int op_type, in KernelRegistrar()
81 #define REG_KERNEL(arch, data_type, op_type, kernelCreater) \ argument
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/
Dop_coder_register.h37 …CoderKey(Target target, TypeId data_type, int op_type) : target_(target), data_type_(data_type), o… in CoderKey()
82 #define REG_OPERATOR_CODER(target, data_type, operator_type, creator_func) \ argument
Dop_coder_register.cc39 int OpCoderFactory::RegistOpCoder(Target target, TypeId data_type, schema::PrimitiveType operator_t… in RegistOpCoder()
65 OpCoderRegister::OpCoderRegister(Target target, TypeId data_type, schema::PrimitiveType operator_ty… in OpCoderRegister()
/third_party/mindspore/mindspore/compression/quant/
Dquant_utils.py28 data_type, argument
73 def get_quant_min_max(data_type, num_bits=8, narrow_range=False): argument
130 def scale_zp_max_min_from_fake_quant_cell(cell, data_type): argument
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dinput_to_output_registry.cc29 TypeId data_type = AnfAlgo::GetPrevNodeOutputInferDataType(node, 0); in FusedMulApplyMomentumPreCheck() local
38 TypeId data_type = AnfAlgo::GetPrevNodeOutputInferDataType(node, 0); in ApplyAdagradV2PreCheck() local
43 TypeId data_type = AnfAlgo::GetPrevNodeOutputInferDataType(node, 0); in ApplyKerasMomentumPreCheck() local
/third_party/mindspore/mindspore/lite/src/registry/
Dregister_kernel.cc25 …erKernel::RegCustomKernel(const std::string &arch, const std::string &provider, DataType data_type, in RegCustomKernel()
35 …l::RegKernel(const std::string &arch, const std::string &provider, DataType data_type, int op_type, in RegKernel()
/third_party/boost/libs/numeric/ublas/test/
Dtest_fixed_containers.cpp21 struct data_type { struct
26 struct data_type< std::complex<T> > { argument
34 typedef typename data_type<T>::value_type component_type; in test_vector() argument
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/
Dgather.cc58 TypeId data_type = in_tensors_.at(1)->data_type(); in CheckSpecs() local
173 auto data_type = indices_tensor->data_type(); in ConvertTensorToweight() local
207 auto data_type = indices_tensor->data_type(); in InitWeights() local
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Dcommon_fp16.cc26 auto data_type = input->data_type(); in ConvertInputFp32toFp16() local
44 auto data_type = output->data_type(); in MallocOutputFp16() local
/third_party/mindspore/tests/ut/cpp/ops/
Dtest_ops_softmax.cc57 auto data_type = tensor_type->element(); in TEST_F() local
87 auto data_type = tensor_type->element(); in TEST_F() local
117 auto data_type = tensor_type->element(); in TEST_F() local
Dtest_ops_lsh_projection.cc59 auto data_type = tensor_type->element(); in TEST_F() local
88 auto data_type = tensor_type->element(); in TEST_F() local
119 auto data_type = tensor_type->element(); in TEST_F() local
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_builtins_test.cpp86 const char* const data_type) { in GetInMainCodeGenerator()
158 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
185 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
216 const char* const data_type = std::get<4>(GetParam()); in TEST_P() local
244 const char* const data_type) { in GetInFunctionCodeGenerator()
326 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
353 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
382 const char* const data_type) { in GetVariableCodeGenerator()
451 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
478 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/val/
Dval_builtins_test.cpp86 const char* const data_type) { in GetInMainCodeGenerator()
158 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
185 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
216 const char* const data_type = std::get<4>(GetParam()); in TEST_P() local
244 const char* const data_type) { in GetInFunctionCodeGenerator()
326 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
353 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
382 const char* const data_type) { in GetVariableCodeGenerator()
451 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
478 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
[all …]
/third_party/spirv-tools/test/val/
Dval_builtins_test.cpp86 const char* const data_type) { in GetInMainCodeGenerator()
158 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
185 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
216 const char* const data_type = std::get<4>(GetParam()); in TEST_P() local
244 const char* const data_type) { in GetInFunctionCodeGenerator()
326 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
353 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
382 const char* const data_type) { in GetVariableCodeGenerator()
451 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
478 const char* const data_type = std::get<3>(GetParam()); in TEST_P() local
[all …]

12345678910>>...14