Home
last modified time | relevance | path

Searched defs:tensor_type (Results 1 – 25 of 92) sorted by relevance

1234

/third_party/mindspore/mindspore-src/source/tests/st/ops/ascend/
Dtest_add_layernorm.py57 def test_add_layer_norm(tensor_type): argument
92 def test_add_layer_norm_dynamic_shape(tensor_type): argument
Dtest_quant_v2.py27 def generate_random_input(shape, dtype, tensor_type): argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/transform/graph_ir/op_declare/
Dop_proto.cc165 OpProto &OpProto::SetInput(const std::string &name, const std::string &tensor_type, bool is_optiona… in SetInput()
172 OpProto &OpProto::SetOutput(const std::string &name, const std::string &tensor_type) { in SetOutput()
185 OpProto &OpProto::DefineDataType(const std::string &name, const std::string &tensor_type) { in DefineDataType()
/third_party/mindspore/mindspore-src/source/mindspore/core/utils/
Dtensor_construct_utils.cc73 const auto &tensor_type = tensor->data_type(); in CreateOnesTensor() local
97 auto tensor_type = type->cast<TensorTypePtr>(); in ExtractTypeId() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/proto/
Dtensor.proto29 int32 tensor_type = 2; field
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/utils/
Dprint.proto25 required string tensor_type = 2; field
Dcheckpoint.proto35 required string tensor_type = 2; field
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_func_impl/
Dfast_gelu.cc31 auto tensor_type = input_args[0]->GetType()->cast<TensorTypePtr>(); in InferType() local
Dfast_gelu_grad.cc31 auto tensor_type = input_args[0]->GetType()->cast<TensorTypePtr>(); in InferType() local
Dsum_ext.cc32 auto tensor_type = input_args[kIndex0]->GetType()->cast<TensorTypePtr>(); in InferType() local
Dnon_zero.cc52 auto tensor_type = input_args[kInputIndex0]->GetType(); in CheckValidation() local
Dapply_rotary_pos_emb.cc51 auto tensor_type = cos_type->cast<TensorTypePtr>(); in InferType() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/grad/
Dmulti_margin_loss_grad.cc55 auto tensor_type = input_args[kInputIndex3]->GetType()->cast<TensorTypePtr>(); in MultiMarginLossGradInferType() local
88 auto tensor_type = input_args[kInputIndex3]->GetType()->cast<TensorTypePtr>(); in MultiMarginLossGradInferShape() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/
Dmulti_margin_loss.cc58 auto tensor_type = input_args[kInputIndex2]->GetType()->cast<TensorTypePtr>(); in MultiMarginLossInferType() local
104 auto tensor_type = input_args[kInputIndex2]->GetType()->cast<TensorTypePtr>(); in MultiMarginLossInferShape() local
Dtensor_to_scalar.cc74 auto tensor_type = x_type->cast<TensorTypePtr>(); in InferType() local
Dfill.cc72 const auto &tensor_type = tensor->data_type(); in CreateValuedTensor() local
98 const auto &tensor_type = tensor->data_type(); in CreateComplexTensor() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/pyboost/customize/
Ddropout_ext.cc44 auto tensor_type = op->input_abs()[kIndex0]->GetType()->cast<TensorTypePtr>(); in DropoutExtAscendCustomize() local
/third_party/mindspore/mindspore-src/source/mindspore/core/symbolic_shape/
Dsymbol.cc76 auto tensor_type = type->cast_ptr<TensorType>(); in ToValueOf() local
Dint_symbol.cc31 auto tensor_type = type->cast_ptr<TensorType>(); in ToValueOf() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/frontend/parallel/auto_parallel/rec_core/
Drec_tensor.h42 TensorType tensor_type = kFloat32; // default as float. member
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dcast_tests.cc63 auto tensor_type = lite::Category::CONST_TENSOR; in TEST_F() local
172 auto tensor_type = lite::Category::CONST_TENSOR; in TEST_F() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/frontend/parallel/pass/
Dfloat32_redistribution.cc60 auto tensor_type = node->abstract()->BuildType(); in Float32Redistribution() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/optimizer/enhancer/
Dtranspose_optimizer.cc76 auto tensor_type = tensor->data_type_c(); in Process() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_frontend_func_impl/
Dunstack_ext.cc82 auto tensor_type = input_type->cast<TensorTypePtr>(); in InferAbstract() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/optimizer/ge/
Dtrans_depend_value_to_int32.cc62 TensorTypePtr tensor_type = std::make_shared<TensorType>(kInt32); in TransValueToInt32() local

1234