Home
last modified time | relevance | path

Searched refs:itype (Results 1 – 25 of 64) sorted by relevance

123

/external/tensorflow/tensorflow/core/ops/
Darray_grad.cc416 DataType itype; in ReverseV2Grad() local
417 TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "Tidx", &itype)); in ReverseV2Grad()
418 if (itype != DT_INT32) { in ReverseV2Grad()
440 DataType itype; in SliceGrad() local
441 TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "Index", &itype)); in SliceGrad()
442 if (itype != DT_INT32) { in SliceGrad()
475 DataType itype; in StridedSliceGrad() local
476 TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "Index", &itype)); in StridedSliceGrad()
477 if (itype != DT_INT32) { in StridedSliceGrad()
512 DataType itype; in StridedSliceGradGrad() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsicsRISCV.td29 class MaskedAtomicRMWFourArg<LLVMType itype>
30 : Intrinsic<[itype], [llvm_anyptr_ty, itype, itype, itype],
33 class MaskedAtomicRMWFiveArg<LLVMType itype>
34 : Intrinsic<[itype], [llvm_anyptr_ty, itype, itype, itype, itype],
/external/llvm-project/llvm/include/llvm/IR/
DIntrinsicsRISCV.td29 class MaskedAtomicRMWFourArg<LLVMType itype>
30 : Intrinsic<[itype], [llvm_anyptr_ty, itype, itype, itype],
33 class MaskedAtomicRMWFiveArg<LLVMType itype>
34 : Intrinsic<[itype], [llvm_anyptr_ty, itype, itype, itype, itype],
/external/python/cpython2/Mac/Demo/resources/
Dlistres.py8 for itype in range(1, 1+ntypes):
9 type = Res.Get1IndType(itype)
20 for itype in range(1, 1+ntypes):
21 type = Res.GetIndType(itype)
Dcopyres.py22 for itype in range(1, 1+ntypes):
23 type = Get1IndType(itype)
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dconvert_type.cc106 } else if (auto itype = type.dyn_cast<mlir::IntegerType>()) { in ConvertScalarTypeToDataType() local
107 switch (itype.getWidth()) { in ConvertScalarTypeToDataType()
112 *dtype = itype.isUnsigned() ? DT_UINT8 : DT_INT8; in ConvertScalarTypeToDataType()
115 *dtype = itype.isUnsigned() ? DT_UINT16 : DT_INT16; in ConvertScalarTypeToDataType()
118 *dtype = itype.isUnsigned() ? DT_UINT32 : DT_INT32; in ConvertScalarTypeToDataType()
121 *dtype = itype.isUnsigned() ? DT_UINT64 : DT_INT64; in ConvertScalarTypeToDataType()
/external/llvm-project/lld/ELF/Arch/
DRISCV.cpp64 static uint32_t itype(uint32_t op, uint32_t rd, uint32_t rs1, uint32_t imm) { in itype() function
163 write32le(buf + 8, itype(load, X_T3, X_T2, lo12(offset))); in writePltHeader()
164 write32le(buf + 12, itype(ADDI, X_T1, X_T1, -target->pltHeaderSize - 12)); in writePltHeader()
165 write32le(buf + 16, itype(ADDI, X_T0, X_T2, lo12(offset))); in writePltHeader()
166 write32le(buf + 20, itype(SRLI, X_T1, X_T1, config->is64 ? 1 : 2)); in writePltHeader()
167 write32le(buf + 24, itype(load, X_T0, X_T0, config->wordsize)); in writePltHeader()
168 write32le(buf + 28, itype(JALR, 0, X_T3, 0)); in writePltHeader()
179 write32le(buf + 4, itype(config->is64 ? LD : LW, X_T3, X_T3, lo12(offset))); in writePlt()
180 write32le(buf + 8, itype(JALR, X_T1, X_T3, 0)); in writePlt()
181 write32le(buf + 12, itype(ADDI, 0, 0, 0)); in writePlt()
/external/libffi/src/alpha/
Dffi.c70 ffi_type *rtype, *itype; in ffi_prep_cif_machdep() local
78 itype = cif->arg_types[i]; in ffi_prep_cif_machdep()
79 switch (itype->type) in ffi_prep_cif_machdep()
101 bytes += FFI_ALIGN(itype->size, FFI_SIZEOF_ARG); in ffi_prep_cif_machdep()
106 if (itype->elements[0]->type == FFI_TYPE_LONGDOUBLE) in ffi_prep_cif_machdep()
158 itype = rtype->elements[0]; in ffi_prep_cif_machdep()
159 switch (itype->type) in ffi_prep_cif_machdep()
/external/tensorflow/tensorflow/python/kernel_tests/
Dbatch_scatter_ops_test.py51 itype, argument
62 indices_shape[sparse_dim], size=indices_shape, dtype=itype)
85 for itype in (np.int32, np.int64):
87 state_ops.batch_scatter_update, vtype, itype)
Done_hot_op_test.py335 for itype in tf_types + np_types:
338 if itype in tf_types:
340 [[0, 2, -1, 1], [1, 0, 1, -1]], dtype=itype)
341 elif itype in np_types:
342 indices = np.asarray([[0, 2, -1, 1], [1, 0, 1, -1]], dtype=itype)
372 for itype in [dtypes.int32, dtypes.int64, dtypes.uint8]:
376 indices = constant_op.constant(x, dtype=itype)
Dscatter_ops_test.py133 itype, argument
141 size = np.prod(indices_shape, dtype=itype)
199 for itype in (np.int32, np.int64):
200 self._VariableRankTest(tf_scatter, vtype, itype, repeat_indices,
/external/boringssl/src/crypto/asn1/
Dtasn_new.c107 switch (it->itype) { in asn1_item_ex_combine_new()
196 switch (it->itype) { in asn1_item_clear()
284 if (it->itype == ASN1_ITYPE_MSTRING) in ASN1_primitive_new()
312 if (it->itype == ASN1_ITYPE_MSTRING && str) in ASN1_primitive_new()
328 if (!it || (it->itype == ASN1_ITYPE_MSTRING)) in asn1_primitive_clear()
Dtasn_fre.c87 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) in asn1_item_combine_free()
94 switch (it->itype) { in asn1_item_combine_free()
197 } else if (it->itype == ASN1_ITYPE_MSTRING) { in ASN1_primitive_free()
Dtasn_enc.c132 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) in ASN1_item_ex_i2d()
138 switch (it->itype) { in ASN1_item_ex_i2d()
524 if ((it->itype != ASN1_ITYPE_PRIMITIVE) in asn1_ex_i2c()
530 if (it->itype == ASN1_ITYPE_MSTRING) { in asn1_ex_i2c()
/external/rust/crates/quiche/deps/boringssl/src/crypto/asn1/
Dtasn_new.c111 switch (it->itype) { in asn1_item_ex_combine_new()
230 switch (it->itype) { in asn1_item_clear()
330 if (it->itype == ASN1_ITYPE_MSTRING) in ASN1_primitive_new()
358 if (it->itype == ASN1_ITYPE_MSTRING && str) in ASN1_primitive_new()
379 if (!it || (it->itype == ASN1_ITYPE_MSTRING)) in asn1_primitive_clear()
Dtasn_fre.c86 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) in asn1_item_combine_free()
93 switch (it->itype) { in asn1_item_combine_free()
208 } else if (it->itype == ASN1_ITYPE_MSTRING) { in ASN1_primitive_free()
/external/python/pybind11/tests/
Dtest_tagbased_polymorphic.cpp114 template <typename itype>
115 struct polymorphic_type_hook<itype, detail::enable_if_t<std::is_base_of<Animal, itype>::value>>
117 static const void *get(const itype *src, const std::type_info*& type) in get()
/external/tensorflow/tensorflow/python/kernel_tests/v1_compat_tests/
Dscatter_nd_ops_test.py80 itype, argument
106 indices = _AsType(indices[:num_updates], itype)
127 for itype in (np.int32, np.int64):
129 np_scatter, tf_scatter, vtype, itype, repeat_indices=True)
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_types.cc122 } else if (auto itype = type.dyn_cast<IntegerType>()) { in get() local
123 switch (itype.getWidth()) { in get()
127 return itype.isUnsigned() ? TensorFlowType(Uint8RefType::get(ctx)) in get()
130 return itype.isUnsigned() ? TensorFlowType(Uint16RefType::get(ctx)) in get()
133 return itype.isUnsigned() ? TensorFlowType(Uint32RefType::get(ctx)) in get()
136 return itype.isUnsigned() ? TensorFlowType(Uint64RefType::get(ctx)) in get()
/external/elfutils/backends/
Dlinux-core-note.c140 #define FIELD(igroup, itype, item, fmt, ...) \ argument
145 .type = TYPE_##itype, \
176 #define FIELD(igroup, itype, item, fmt, ...) \ argument
181 .type = TYPE_##itype, \
/external/mesa3d/src/compiler/nir/
Dnir_gather_xfb_info.c244 const struct glsl_type *itype = var->interface_type; in nir_gather_xfb_info_with_varyings() local
245 unsigned nfields = glsl_get_length(itype); in nir_gather_xfb_info_with_varyings()
248 int foffset = glsl_get_struct_field_offset(itype, f); in nir_gather_xfb_info_with_varyings()
249 const struct glsl_type *ftype = glsl_get_struct_field(itype, f); in nir_gather_xfb_info_with_varyings()
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dconstant_utils.cc68 } else if (auto itype = element_type.dyn_cast<mlir::IntegerType>()) { in CreateConstOpWithSingleValue() local
69 switch (itype.getWidth()) { in CreateConstOpWithSingleValue()
/external/tensorflow/tensorflow/compiler/tests/
Dscatter_nd_op_test.py78 itype, argument
103 indices = _AsType(indices[:num_updates], itype)
119 for itype in set([np.int32, np.int64]).intersection(set(self.int_types)):
120 self._VariableRankTest(np_scatter, tf_scatter, vtype, itype)
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistEnumDeclaration.txt64 …05) Arrays.stream(ctClass.getDeclaredClasses()).map(itype -> JavassistFactory.toTypeDeclaration(it…
65 …05) Arrays.stream(ctClass.getDeclaredClasses()).map(itype -> JavassistFactory.toTypeDeclaration(it…
68 …Line 205) JavassistFactory.toTypeDeclaration(itype, typeSolver) ==> com.github.javaparser.symbolso…
/external/python/pybind11/include/pybind11/
Dcast.h842 template <typename itype, typename SFINAE = void>
845 static const void *get(const itype *src, const std::type_info*&) { return src; }
847 template <typename itype>
848 struct polymorphic_type_hook_base<itype, detail::enable_if_t<std::is_polymorphic<itype>::value>>
850 static const void *get(const itype *src, const std::type_info*& type) {
855 template <typename itype, typename SFINAE = void>
856 struct polymorphic_type_hook : public polymorphic_type_hook_base<itype> {};
862 using itype = intrinsic_t<type>;
870 static handle cast(const itype &src, return_value_policy policy, handle parent) {
876 static handle cast(itype &&src, return_value_policy, handle parent) {
[all …]

123