Home
last modified time | relevance | path

Searched refs:destinationType (Results 1 – 5 of 5) sorted by relevance

/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/common/ops/
DCastOp.java26 private final DataType destinationType; field in CastOp
41 public CastOp(DataType destinationType) { in CastOp() argument
43 destinationType == DataType.UINT8 || destinationType == DataType.FLOAT32, in CastOp()
44 "Destination type " + destinationType + " is not supported."); in CastOp()
45 this.destinationType = destinationType; in CastOp()
50 if (input.getDataType() == destinationType) { in apply()
53 return TensorBuffer.createFrom(input, destinationType); in apply()
/external/angle/src/libANGLE/renderer/d3d/
DIndexDataManager.cpp31 gl::DrawElementsType destinationType, in ConvertIndexArray() argument
41 DestT destRestartIndex = static_cast<DestT>(gl::GetPrimitiveRestartIndex(destinationType)); in ConvertIndexArray()
57 gl::DrawElementsType destinationType, in ConvertIndices() argument
63 if (sourceType == destinationType) in ConvertIndices()
65 const GLuint dstTypeSize = gl::GetDrawElementsTypeSize(destinationType); in ConvertIndices()
72 ASSERT(destinationType == gl::DrawElementsType::UnsignedShort); in ConvertIndices()
73 ConvertIndexArray<GLubyte, GLushort>(input, sourceType, output, destinationType, count, in ConvertIndices()
78 ASSERT(destinationType == gl::DrawElementsType::UnsignedInt); in ConvertIndices()
79 ConvertIndexArray<GLushort, GLuint>(input, sourceType, output, destinationType, count, in ConvertIndices()
/external/conscrypt/common/src/test/java/org/conscrypt/
DBufferUtilsTest.java119 for (BufferType destinationType : BufferType.values()) { in copyNoConsume()
124 ByteBuffer destination = destinationType.newBuffer(totalSize); in copyNoConsume()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/
DBufferUtilsTest.java123 for (BufferType destinationType : BufferType.values()) { in copyNoConsume()
128 ByteBuffer destination = destinationType.newBuffer(totalSize); in copyNoConsume()
/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorOps.cpp861 auto destinationType = extractOp.getResult().getType().cast<VectorType>(); in foldExtractFromShapeCast() local
867 getDimReverse(destinationType, i)) in foldExtractFromShapeCast()