Home
last modified time | relevance | path

Searched refs:SrcT (Results 1 – 25 of 42) sorted by relevance

12

/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DCast.pbtxt5 type_attr: "SrcT"
12 name: "SrcT"
24 type_attr: "SrcT"
31 name: "SrcT"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DCast.pbtxt5 type_attr: "SrcT"
12 name: "SrcT"
24 type_attr: "SrcT"
31 name: "SrcT"
DRiscCondition.pbtxt9 type_attr: "SrcT"
13 type_attr: "SrcT"
28 name: "SrcT"
DRiscCast.pbtxt5 type_attr: "SrcT"
12 name: "SrcT"
DRiscBitcast.pbtxt5 type_attr: "SrcT"
12 name: "SrcT"
/external/rust/crates/num-traits/src/
Dcast.rs137 ($SrcT:ident : $( $(#[$cfg:meta])* fn $method:ident -> $DstT:ident ; )*) => {$(
141 let min = $DstT::MIN as $SrcT;
142 let max = $DstT::MAX as $SrcT;
143 if size_of::<$SrcT>() <= size_of::<$DstT>() || (min <= *self && *self <= max) {
153 ($SrcT:ident : $( $(#[$cfg:meta])* fn $method:ident -> $DstT:ident ; )*) => {$(
157 let max = $DstT::MAX as $SrcT;
158 if 0 <= *self && (size_of::<$SrcT>() <= size_of::<$DstT>() || *self <= max) {
211 ($SrcT:ident : $( $(#[$cfg:meta])* fn $method:ident -> $DstT:ident ; )*) => {$(
215 let max = $DstT::MAX as $SrcT;
216 if size_of::<$SrcT>() < size_of::<$DstT>() || *self <= max {
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dcast.h25 template <typename SrcT, typename DstT>
26 inline void Cast(const RuntimeShape& input_shape, const SrcT* input_data, in Cast()
/external/llvm/lib/Target/Hexagon/
DHexagonGenMux.cpp74 MachineOperand *SrcT, *SrcF; member
79 : At(It), DefR(DR), PredR(PR), SrcT(TOp), SrcF(FOp), Def1(&D1), in MuxInfo()
284 MachineOperand *SrcT = (MinX == CI.TrueX) ? Src1 : Src2; in genMuxInBlock() local
289 ML.push_back(MuxInfo(At, DR, PR, SrcT, SrcF, Def1, Def2)); in genMuxInBlock()
296 unsigned MxOpc = getMuxOpcode(*MX.SrcT, *MX.SrcF); in genMuxInBlock()
301 .addOperand(*MX.SrcT) in genMuxInBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonGenMux.cpp109 MachineOperand *SrcT, *SrcF; member
115 : At(It), DefR(DR), PredR(PR), SrcT(TOp), SrcF(FOp), Def1(&D1), in MuxInfo()
323 MachineOperand *SrcT = (MinX == CI.TrueX) ? Src1 : Src2; in genMuxInBlock() local
328 ML.push_back(MuxInfo(At, DR, PR, SrcT, SrcF, Def1, Def2)); in genMuxInBlock()
332 unsigned MxOpc = getMuxOpcode(*MX.SrcT, *MX.SrcF); in genMuxInBlock()
345 .add(*MX.SrcT) in genMuxInBlock()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonGenMux.cpp109 MachineOperand *SrcT, *SrcF; member
115 : At(It), DefR(DR), PredR(PR), SrcT(TOp), SrcF(FOp), Def1(&D1), in MuxInfo()
323 MachineOperand *SrcT = (MinX == CI.TrueX) ? Src1 : Src2; in genMuxInBlock() local
328 ML.push_back(MuxInfo(At, DR, PR, SrcT, SrcF, Def1, Def2)); in genMuxInBlock()
332 unsigned MxOpc = getMuxOpcode(*MX.SrcT, *MX.SrcF); in genMuxInBlock()
345 .add(*MX.SrcT) in genMuxInBlock()
/external/angle/src/libANGLE/
Dangletypes.h971 template <typename DestT, typename SrcT>
972 inline DestT *GetAs(SrcT *src) in GetAs()
978 template <typename DestT, typename SrcT>
979 inline const DestT *GetAs(const SrcT *src) in GetAs()
988 template <typename DestT, typename SrcT>
989 inline DestT *GetImplAs(SrcT *src) in GetImplAs()
994 template <typename DestT, typename SrcT>
995 inline DestT *SafeGetImplAs(SrcT *src) in SafeGetImplAs()
DProgram.cpp46 template <typename DestT, typename SrcT>
47 DestT UniformStateQueryCast(SrcT value);
95 template <typename DestT, typename SrcT>
96 DestT UniformStateQueryCast(SrcT value) in UniformStateQueryCast()
101 template <typename SrcT, typename DestT>
109 const SrcT *typedSrcPointer = reinterpret_cast<const SrcT *>(&srcPointer[offset]); in UniformStateQueryCastLoop()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Cast.pbtxt3 summary: "Cast x of type SrcT to y of DstT."
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_util.h136 template <typename SrcT, typename DstT>
140 const SrcT* ptr_s,
/external/angle/src/common/
Dmathutil.h67 template <typename DestT, typename SrcT>
68 inline DestT clampCast(SrcT value) in clampCast()
77 static_cast<long double>(std::numeric_limits<SrcT>::lowest()); in clampCast()
78 constexpr long double srcHi = static_cast<long double>(std::numeric_limits<SrcT>::max()); in clampCast()
83 if (value >= static_cast<SrcT>(destMax)) in clampCast()
92 if (value <= static_cast<SrcT>(destLow)) in clampCast()
/external/angle/src/tests/gl_tests/
DTextureUploadFormatTest.cpp114 template <typename DestT, typename SrcT, size_t SrcN>
115 void ZeroAndCopy(DestT &dest, const SrcT (&src)[SrcN]) in ZeroAndCopy()
118 memcpy(dest.data(), src, sizeof(SrcT) * SrcN); in ZeroAndCopy()
DVertexAttributeTest.cpp115 template <typename DestT, typename SrcT>
116 DestT Pack1010102(std::array<SrcT, 4> input) in Pack1010102() argument
118 static_assert(std::is_integral<SrcT>::value, "Integer required."); in Pack1010102()
120 static_assert(std::is_unsigned<SrcT>::value == std::is_unsigned<DestT>::value, in Pack1010102()
128 if (std::is_unsigned<SrcT>::value) in Pack1010102()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX86BaseImpl.h3494 Operand *SrcT = Select->getTrueOperand();
3498 std::swap(SrcT, SrcF);
3507 lowerMove(SelectDest, SrcT, IsRedefinition);
3866 Operand *SrcT = Select->getTrueOperand();
3871 lowerMove(SelectDest, SrcT, false);
3901 Operand *SrcT = Select->getTrueOperand();
3904 lowerSelectMove(SelectDest, Condition, SrcT, SrcF);
6708 Operand *SrcT = Select->getTrueOperand();
6711 lowerSelectMove(Dest, Cond, SrcT, SrcF);
6716 Operand *SrcT, Operand *SrcF) {
[all …]
DIceTargetLoweringX86Base.h1150 void lowerSelectMove(Variable *Dest, BrCond Cond, Operand *SrcT,
1152 void lowerSelectIntMove(Variable *Dest, BrCond Cond, Operand *SrcT,
/external/tensorflow/tensorflow/python/framework/testdata/
Dmetrics_export_meta_graph.pb89 type_attr: "SrcT"
96 name: "SrcT"
1118 key: "SrcT"
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dgpu_unary_ops_test.cc129 template <typename SrcT, typename DstT> in GENERATE_DEFAULT_TEST()
130 DstT baseline_cast(SrcT x) { in GENERATE_DEFAULT_TEST()
/external/tensorflow/tensorflow/compiler/jit/tests/
Dkeras_imagenet_main.pbtxt25938 key: "SrcT"
25987 key: "SrcT"
26036 key: "SrcT"
26085 key: "SrcT"
26134 key: "SrcT"
26183 key: "SrcT"
26232 key: "SrcT"
26300 key: "SrcT"
26349 key: "SrcT"
26398 key: "SrcT"
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dregion_control_flow_to_functional.cc228 if (cast_op.SrcT() != cast_op.DstT()) { in MatchCallArgs()
/external/llvm-project/llvm/unittests/Analysis/Inputs/ir2native_x86_64_model/
Dsaved_model.pbtxt4474 key: "SrcT"
4932 key: "SrcT"
5458 key: "SrcT"
5916 key: "SrcT"
7909 key: "SrcT"
/external/tensorflow/tensorflow/compiler/tf2xla/g3doc/
Dgpu_supported_ops.md41 … | `DstT={bool,complex64,double,float,int32,int64,uint32,uint64}`<br>`SrcT={bool,complex64,dou…

12