Home
last modified time | relevance | path

Searched refs:IsNumeric (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Ddevice_tensor.cc44 if (!type.IsNumeric() && shape.NumOfElements() == 0) { in CreateEmpty()
48 …CHECK_FAIL_RETURN_UNEXPECTED(type.IsNumeric(), "Number of elements is not 0. The type should be nu… in CreateEmpty()
73 if (!type.IsNumeric() && shape.NumOfElements() == 0) { in CreateFromDeviceMemory()
77 …CHECK_FAIL_RETURN_UNEXPECTED(type.IsNumeric(), "Number of elements is not 0. The type should be nu… in CreateFromDeviceMemory()
Dtensor.cc99 if (!type.IsNumeric() && shape.NumOfElements() == 0) { in CreateEmpty()
103 …CHECK_FAIL_RETURN_UNEXPECTED(type.IsNumeric(), "Number of elements is not 0. The type should be nu… in CreateEmpty()
139 if (type.IsNumeric()) { in CreateFromMemory()
637 …CHECK_FAIL_RETURN_UNEXPECTED(t->type().IsNumeric(), "Cannot use GetBufferInfo on tensor of strings… in GetBufferInfo()
1116 if (type_.IsNumeric()) { in Slice()
Ddata_type.h237 bool IsNumeric() const { return type_ != DataType::DE_STRING; } in IsNumeric() function
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/audio/kernels/
Ddc_shift_op.cc29 input->type().IsNumeric(), in Compute()
43 inputs[0].IsNumeric(), in OutputType()
Dvol_op.cc30 input->type().IsNumeric(), in Compute()
43 if (!inputs[0].IsNumeric()) { in OutputType()
Dcontrast_op.cc32 input->type().IsNumeric(), in Compute()
Dmagphase_op.cc30 input[0]->type().IsNumeric(), in Compute()
Dangle_op.cc29 input->type().IsNumeric(), in Compute()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_relaxed_decoration.cpp50 return IsNumeric(instr->opcode()); in IsApplicable()
67 bool TransformationAddRelaxedDecoration::IsNumeric(uint32_t opcode) { in IsNumeric() function in spvtools::fuzz::TransformationAddRelaxedDecoration
Dtransformation_add_relaxed_decoration.h55 static bool IsNumeric(uint32_t opcode);
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_relaxed_decoration.cpp50 return IsNumeric(instr->opcode()); in IsApplicable()
67 bool TransformationAddRelaxedDecoration::IsNumeric(uint32_t opcode) { in IsNumeric() function in spvtools::fuzz::TransformationAddRelaxedDecoration
Dtransformation_add_relaxed_decoration.h55 static bool IsNumeric(uint32_t opcode);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_relaxed_decoration.cpp50 return IsNumeric(instr->opcode()); in IsApplicable()
67 bool TransformationAddRelaxedDecoration::IsNumeric(uint32_t opcode) { in IsNumeric() function in spvtools::fuzz::TransformationAddRelaxedDecoration
Dtransformation_add_relaxed_decoration.h55 static bool IsNumeric(uint32_t opcode);
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/
Dplugin_op.cc29 …CHECK_FAIL_RETURN_UNEXPECTED(tp.IsNumeric() && tp != DataType::DE_UNKNOWN, "Unsupported type: " + … in PluginToTensorRow()
41 if (in_row[ind]->type().IsNumeric()) { in TensorRowToPlugin()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/data/
Ddata_utils.cc239 if (input_type.IsNumeric()) { in Fill()
379 if (src->type().IsNumeric()) { in PadEnd()
385 CHECK_FAIL_RETURN_UNEXPECTED(src->type().IsNumeric() == pad_val->type().IsNumeric(), in PadEnd()
389 if (pad_val->type().IsNumeric()) { in PadEnd()
542 CHECK_FAIL_RETURN_UNEXPECTED(input->type().IsNumeric() == value->type().IsNumeric(), in Mask()
551 if (input->type().IsNumeric()) { in Mask()
659 if (input[0]->type().IsNumeric()) { in Concatenate()
Dmask_op.cc28 …CHECK_FAIL_RETURN_UNEXPECTED(type_.IsNumeric(), "Mask: only support numeric datatype of input, got… in Compute()
Dunique_op.cc34 CHECK_FAIL_RETURN_UNEXPECTED(in_tensor_type.IsNumeric(), in Compute()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dslice_patches_op.cc38 CHECK_FAIL_RETURN_UNEXPECTED(in_type.IsNumeric(), "Input Tensor type should be numeric."); in Compute()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/
Dlookup_op.cc43 CHECK_FAIL_RETURN_UNEXPECTED(type_.IsNumeric(), in Compute()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/
Dbuild_sentence_piece_vocab_op.cc147 if (new_row[col_id_]->type().IsNumeric() || new_row[col_id_]->Rank() > 1) { in Next()
Dbuild_vocab_op.cc56 CHECK_FAIL_RETURN_UNEXPECTED(!new_row[col]->type().IsNumeric(), in WorkerEntry()
Ddevice_queue_op.cc122 …CHECK_FAIL_RETURN_UNEXPECTED(item->type().IsNumeric(), "Invalid data, cannot send string tensor to… in CheckExceptions()
Dbatch_op.cc194 if (first_type.IsNumeric()) { // numeric tensor in BatchRows()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/ir/kernels/
Dtext_ir.cc223 if (!data_type_.IsNumeric()) { in ValidateParams()
415 if (!data_type_.IsNumeric() || data_type_.IsBool()) { in ValidateParams()

12