Home
last modified time | relevance | path

Searched refs:out_types (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/data/
Drandom_choice_op.cc67 std::vector<DataType> out_types; in OutputType() local
68 RETURN_IF_NOT_OK(op->OutputType(inputs, out_types)); in OutputType()
69 if (outputs != out_types) { in OutputType()
/third_party/mindspore/tests/st/ops/gpu/
Dtest_pyfunc_op.py37 def __init__(self, fn, in_types, in_shapes, out_types, out_shapes): argument
39 self.func = P.PyFunc(fn, in_types, in_shapes, out_types, out_shapes)
94 def __init__(self, fn, in_types, in_shapes, out_types, out_shapes): argument
96 self.func = P.PyFunc(fn, in_types, in_shapes, out_types, out_shapes)
/third_party/mindspore/mindspore/ops/operations/
Dother_ops.py937 def __init__(self, fn, in_types, in_shapes, out_types, out_shapes, stateful=True): argument
943 self.add_prim_attr('out_types', out_types)
948 validator.check_value_type("out_types", out_types, [list, tuple], self.name)
950 …validator.check("out_types length", len(out_types), "out_shapes length", len(out_shapes), Rel.EQ, …
964 return tuple(self.out_types)
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/pyfunc/
Dpy_func_cpu_kernel.cc233 const auto &out_types = AnfAlgo::GetNodeAttr<std::vector<TypePtr>>(kernel_node, "out_types"); in BuildFuncInfo() local
245 output_infos_.dtypes = out_types; in BuildFuncInfo()