/external/tensorflow/tensorflow/core/kernels/ |
D | cast_op_impl.h | 70 CastFunctorType GetCpuCastFromBool(DataType dst_dtype); 72 CastFunctorType GetCpuCastFromUint8(DataType dst_dtype); 74 CastFunctorType GetCpuCastFromUint16(DataType dst_dtype); 76 CastFunctorType GetCpuCastFromInt8(DataType dst_dtype); 78 CastFunctorType GetCpuCastFromUint32(DataType dst_dtype); 80 CastFunctorType GetCpuCastFromUint64(DataType dst_dtype); 82 CastFunctorType GetCpuCastFromInt8(DataType dst_dtype); 84 CastFunctorType GetCpuCastFromInt16(DataType dst_dtype); 86 CastFunctorType GetCpuCastFromInt32(DataType dst_dtype); 88 CastFunctorType GetCpuCastFromInt64(DataType dst_dtype); [all …]
|
D | tensor_flag_utils_test.cc | 26 using tensorflow::DataType; 41 Tensor t(DataType::DT_FLOAT, {}); in TEST() 46 Tensor t(DataType::DT_FLOAT, {}); in TEST() 53 Tensor t(DataType::DT_FLOAT, {1, 1}); in TEST() 61 Tensor t(DataType::DT_FLOAT, {1, 2}); in TEST() 74 Tensor t(DataType::DT_FLOAT, {1, 3}); in TEST() 84 Tensor t(DataType::DT_FLOAT, {2, 3}); in TEST() 94 Tensor t(DataType::DT_FLOAT, {2, 3}); in TEST() 102 Tensor t(DataType::DT_FLOAT, {2, 3}); in TEST() 110 Tensor t(DataType::DT_FLOAT, {2, 3}); in TEST() [all …]
|
/external/deqp/framework/opengl/ |
D | gluShaderUtil.hpp | 98 enum DataType enum 249 const char* getDataTypeName (DataType dataType); 250 int getDataTypeScalarSize (DataType dataType); 251 DataType getDataTypeScalarType (DataType dataType); 252 DataType getDataTypeFloat16Scalars (DataType dataType); 253 DataType getDataTypeFloatScalars (DataType dataType); 254 DataType getDataTypeDoubleScalars (DataType dataType); 255 DataType getDataTypeVector (DataType scalarType, int size); 256 DataType getDataTypeFloatVec (int vecSize); 257 DataType getDataTypeIntVec (int vecSize); [all …]
|
/external/vixl/src/aarch32/ |
D | disasm-aarch32.h | 151 DataType dt_; 152 DataType default_dt_; 155 DtPrinter(DataType dt, DataType default_dt) in DtPrinter() 157 DataType GetDt() const { return dt_; } in GetDt() 158 DataType GetDefaultDt() const { return default_dt_; } in GetDefaultDt() 311 virtual DisassemblerStream& operator<<(const DataType& type) { 1449 Condition cond, DataType dt, DRegister rd, DRegister rn, DRegister rm); 1452 Condition cond, DataType dt, QRegister rd, QRegister rn, QRegister rm); 1455 Condition cond, DataType dt, QRegister rd, DRegister rn, DRegister rm); 1458 Condition cond, DataType dt, DRegister rd, DRegister rn, DRegister rm); [all …]
|
D | assembler-aarch32.h | 262 typedef void (Assembler::*InstructionDtQQ)(DataType dt, 347 typedef void (Assembler::*InstructionDtQQQ)(DataType dt, 368 Condition cond, DataType dt, DRegister rd, DRegister rn, DRegister rm); 370 Condition cond, DataType dt, QRegister rd, QRegister rn, QRegister rm); 372 Condition cond, DataType dt, QRegister rd, DRegister rn, DRegister rm); 374 DataType dt, 378 DataType dt, 382 DataType dt, 386 Condition cond, DataType dt, SRegister rd, SRegister rn, SRegister rm); 388 Condition cond, DataType dt, DRegister rd, QRegister rn, QRegister rm); [all …]
|
/external/mesa3d/prebuilt-intermediates/main/ |
D | format_info.h | 39 .DataType = GL_NONE, 53 .DataType = GL_UNSIGNED_NORMALIZED, 67 .DataType = GL_UNSIGNED_NORMALIZED, 81 .DataType = GL_UNSIGNED_NORMALIZED, 95 .DataType = GL_UNSIGNED_NORMALIZED, 109 .DataType = GL_UNSIGNED_NORMALIZED, 123 .DataType = GL_UNSIGNED_NORMALIZED, 137 .DataType = GL_UNSIGNED_NORMALIZED, 151 .DataType = GL_UNSIGNED_NORMALIZED, 165 .DataType = GL_UNSIGNED_NORMALIZED, [all …]
|
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/ |
D | Tensor.java | 106 DataType dtype = DataType.fromClass(type); in create() 138 private static Tensor<?> create(Object obj, DataType dtype) { in create() 143 if (t.dtype != DataType.STRING) { in create() 168 Tensor<Integer> t = allocateForBuffer(DataType.INT32, shape, data.remaining()); in create() 186 Tensor<Float> t = allocateForBuffer(DataType.FLOAT, shape, data.remaining()); in create() 204 Tensor<Double> t = allocateForBuffer(DataType.DOUBLE, shape, data.remaining()); in create() 222 Tensor<Long> t = allocateForBuffer(DataType.INT64, shape, data.remaining()); in create() 244 Tensor<T> ret = (Tensor<T>) create(DataType.fromClass(type), shape, data); in create() 263 private static Tensor<?> create(DataType dtype, long[] shape, ByteBuffer data) { in create() 265 if (dtype != DataType.STRING) { in create() [all …]
|
D | DataType.java | 24 public enum DataType { enum 58 DataType(int value, int byteSize) { in DataType() method in DataType 76 private static final DataType[] values = values(); 78 static DataType fromC(int c) { in fromC() 79 for (DataType t : values) { in fromC() 96 public static DataType fromClass(Class<?> c) { in fromClass() 97 DataType dtype = typeCodes.get(c); in fromClass() 105 private static final Map<Class<?>, DataType> typeCodes = new HashMap<>(); 108 typeCodes.put(Float.class, DataType.FLOAT); in typeCodes.put() 109 typeCodes.put(Double.class, DataType.DOUBLE); in typeCodes.put() [all …]
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3input.hpp | 58 typedef UnitType DataType; typedef in InputStream 67 const DataType* m_data; 74 const DataType* m_nextChar; 91 const DataType* m_currentLine; 141 const DataType* get_data() const; 143 const DataType* get_nextChar() const; 146 const DataType* get_currentLine() const; 156 void set_data( DataType* data ); 158 void set_nextChar( const DataType* nextChar ); 161 void set_currentLine( const DataType* currentLine ); [all …]
|
D | antlr3collections.hpp | 40 template< class ImplTraits, class DataType > 47 DataType m_data; 51 TrieEntry(const DataType& data, TrieEntry* next); 52 DataType& get_data(); 53 const DataType& get_data() const; 60 template< class ImplTraits, class DataType > 64 typedef TrieEntry<ImplTraits, DataType> TrieEntryType; 113 template< class ImplTraits, class DataType > 117 typedef TrieEntry<ImplTraits, DataType> TrieEntryType; 118 typedef IntTrieNode<ImplTraits, DataType> IntTrieNodeType; [all …]
|
/external/llvm/include/llvm/Support/ |
D | CommandLine.h | 432 template <class DataType> struct OptionValue; 436 template <class DataType, bool isClass> 439 typedef OptionValue<DataType> WrapperType; 443 const DataType &getValue() const { llvm_unreachable("no default value"); } in getValue() 448 bool compare(const DataType & /*V*/) const { return false; } in compare() 459 template <class DataType> class OptionValueCopy : public GenericOptionValue { 460 DataType Value; 473 const DataType &getValue() const { in getValue() 478 void setValue(const DataType &V) { in setValue() 483 bool compare(const DataType &V) const { return Valid && (Value != V); } in compare() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | CommandLine.h | 466 template <class DataType> struct OptionValue; 470 template <class DataType, bool isClass> 473 using WrapperType = OptionValue<DataType>; 477 const DataType &getValue() const { llvm_unreachable("no default value"); } in getValue() 482 bool compare(const DataType & /*V*/) const { return false; } in compare() 493 template <class DataType> class OptionValueCopy : public GenericOptionValue { 494 DataType Value; 507 const DataType &getValue() const { in getValue() 512 void setValue(const DataType &V) { in setValue() 517 bool compare(const DataType &V) const { return Valid && (Value != V); } in compare() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcLimitTest.inl | 26 template<typename DataType> 27 LimitCase<DataType>::LimitCase(deqp::Context& context, 30 DataType limitBoundry, 45 template<typename DataType> 46 LimitCase<DataType>::~LimitCase(void) 50 template<typename DataType> 51 tcu::TestNode::IterateResult LimitCase<DataType>::iterate(void) 53 DataType limitValue = DataType(); 112 gl.bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(DataType), NULL, GL_DYNAMIC_DRAW); 119 …DataType* data = static_cast<DataType*>(gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(Data… [all …]
|
D | glcLimitTest.hpp | 41 template <typename DataType> 45 LimitCase(deqp::Context& context, const char* caseName, deUint32 limitToken, DataType limitBoundry, 53 bool isWithinBoundry(DataType value, bool isBuiltin = false) const; 57 DataType getLimitValue(const glw::Functions& gl) const; 59 bool isEqual(DataType a, DataType b) const; 60 bool isGreater(DataType a, DataType b) const; 61 bool isSmaller(DataType a, DataType b) const; 68 DataType m_limitBoundry; // min/max value
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | CommandLine.h | 451 template <class DataType> struct OptionValue; 455 template <class DataType, bool isClass> 458 typedef OptionValue<DataType> WrapperType; 462 const DataType &getValue() const { llvm_unreachable("no default value"); } in getValue() 467 bool compare(const DataType & /*V*/) const { return false; } in compare() 478 template <class DataType> class OptionValueCopy : public GenericOptionValue { 479 DataType Value; 492 const DataType &getValue() const { in getValue() 497 void setValue(const DataType &V) { in setValue() 502 bool compare(const DataType &V) const { return Valid && (Value != V); } in compare() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
D | GenericRequestBuilder.java | 49 public class GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> implements Clo… 56 private ChildLoadProvider<ModelType, DataType, ResourceType, TranscodeType> loadProvider; 80 … GenericRequestBuilder(LoadProvider<ModelType, DataType, ResourceType, TranscodeType> loadProvider, in GenericRequestBuilder() argument 92 LoadProvider<ModelType, DataType, ResourceType, TranscodeType> loadProvider, in GenericRequestBuilder() argument 101 … ? new ChildLoadProvider<ModelType, DataType, ResourceType, TranscodeType>(loadProvider) : null; in GenericRequestBuilder() 126 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> thumbnail( in thumbnail() 158 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> thumbnail( in thumbnail() 176 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> sizeMultiplier( in sizeMultiplier() 196 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> decoder( in decoder() 197 ResourceDecoder<DataType, ResourceType> decoder) { in decoder() argument [all …]
|
D | GenericTranscodeRequest.java | 32 public class GenericTranscodeRequest<ModelType, DataType, ResourceType> 33 …extends GenericRequestBuilder<ModelType, DataType, ResourceType, ResourceType> implements Download… 34 private final ModelLoader<ModelType, DataType> modelLoader; 35 private final Class<DataType> dataClass; 47 …ModelLoader<ModelType, DataType> modelLoader, Class<DataType> dataClass, Class<ResourceType> resou… in GenericTranscodeRequest() 58 …ModelLoader<ModelType, DataType> modelLoader, Class<DataType> dataClass, Class<ResourceType> resou… in GenericTranscodeRequest() 76 …public <TranscodeType> GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> tra… in transcode() 78 …LoadProvider<ModelType, DataType, ResourceType, TranscodeType> loadProvider = build(glide, modelLo… in transcode() 81 …return optionsApplier.apply(new GenericRequestBuilder<ModelType, DataType, ResourceType, Transcode… in transcode() 99 private GenericRequestBuilder<ModelType, DataType, File, File> getDownloadOnlyRequest() { in getDownloadOnlyRequest() [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | types.h | 103 typedef gtl::InlinedVector<DataType, 4> DataTypeVector; 104 typedef gtl::ArraySlice<DataType> DataTypeSlice; 111 string DataTypeString(DataType dtype); 131 constexpr bool Contains(DataType dt) const { 144 DataType operator*() const { return static_cast<DataType>(pos_); } 233 bool DataTypeFromString(StringPiece sp, DataType* dt); 235 constexpr inline DataTypeSet ToSet(DataType dt) { 241 inline bool IsRefType(DataType dtype) { 242 return dtype > static_cast<DataType>(kDataTypeRefOffset); 244 inline DataType MakeRefType(DataType dtype) { [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fFboTestUtil.hpp | 49 std::vector<glu::DataType> vec; 50 DataTypes& operator<< (glu::DataType type) { vec.push_back(type); return *this; } in operator <<() 58 FlatColorShader (glu::DataType outputType); 67 const glu::DataType m_outputType; 73 GradientShader (glu::DataType outputType); 82 const glu::DataType m_outputType; 88 …Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outSc… 112 const glu::DataType m_outputType; 118 TextureCubeShader (glu::DataType samplerType, glu::DataType outputType); 134 const glu::DataType m_outputType; [all …]
|
/external/tensorflow/tensorflow/go/ |
D | tensor.go | 35 type DataType C.TF_DataType type 39 Float DataType = C.TF_FLOAT 40 Double DataType = C.TF_DOUBLE 41 Int32 DataType = C.TF_INT32 42 Uint32 DataType = C.TF_UINT32 43 Uint8 DataType = C.TF_UINT8 44 Int16 DataType = C.TF_INT16 45 Int8 DataType = C.TF_INT8 46 String DataType = C.TF_STRING 47 Complex64 DataType = C.TF_COMPLEX64 [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | CommandLine.h | 331 template<class DataType> struct OptionValue; 335 template<class DataType, bool isClass> 338 typedef OptionValue<DataType> WrapperType; 342 const DataType &getValue() const { assert(false && "no default value"); } in getValue() 348 bool compare(const DataType &/*V*/) const { return false; } in compare() 354 template<class DataType> 356 DataType Value; 363 const DataType &getValue() const { in getValue() 368 void setValue(const DataType &V) { Valid = true; Value = V; } in setValue() 370 bool compare(const DataType &V) const { in compare() [all …]
|
/external/tensorflow/tensorflow/contrib/nearest_neighbor/kernels/ |
D | heap.h | 33 template <typename KeyType, typename DataType> 39 DataType data; 42 Item(const KeyType& k, const DataType& d) : key(k), data(d) {} in Item() 47 void ExtractMin(KeyType* key, DataType* data) { in ExtractMin() 61 void InsertUnsorted(const KeyType& key, const DataType& data) { in InsertUnsorted() 71 void Insert(const KeyType& key, const DataType& data) { in Insert() 147 template <typename KeyType, typename DataType> 148 class SimpleHeap : public HeapBase<KeyType, DataType> { 150 void ReplaceTop(const KeyType& key, const DataType& data) { in ReplaceTop() 158 std::vector<typename HeapBase<KeyType, DataType>::Item>& GetData() { in GetData() [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_tensor.cc | 40 case DataType::DT_FLOAT: in Build() 41 case DataType::DT_DOUBLE: { in Build() 43 if (tensor_->dtype() == DataType::DT_FLOAT) { in Build() 45 } else if (tensor_->dtype() == DataType::DT_DOUBLE) { in Build() 52 case DataType::DT_INT32: in Build() 53 case DataType::DT_INT64: { in Build() 55 if (tensor_->dtype() == DataType::DT_INT32) { in Build() 57 } else if (tensor_->dtype() == DataType::DT_INT64) { in Build() 63 case DataType::DT_STRING: { in Build()
|
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | DataTypeTest.java | 29 assertThat(DataType.FLOAT32.byteSize()).isEqualTo(4); in testElemByteSize() 30 assertThat(DataType.INT32.byteSize()).isEqualTo(4); in testElemByteSize() 31 assertThat(DataType.UINT8.byteSize()).isEqualTo(1); in testElemByteSize() 32 assertThat(DataType.INT64.byteSize()).isEqualTo(8); in testElemByteSize() 33 assertThat(DataType.STRING.byteSize()).isEqualTo(-1); in testElemByteSize() 38 for (DataType dataType : DataType.values()) { in testConversion() 39 assertThat(DataType.fromC(dataType.c())).isEqualTo(dataType); in testConversion()
|
/external/libxcam/modules/ocl/ |
D | cl_argument.h | 60 template<typename DataType> 66 CLArgumentT (const DataType &value) in CLArgumentT() 67 : CLArgument (sizeof (DataType)) in CLArgumentT() 75 DataType _value; 78 template<typename DataType, int count> 84 CLArgumentTArray (const DataType *value) in CLArgumentTArray() 85 : CLArgument (sizeof (DataType) * count) in CLArgumentTArray() 87 memcpy (&_value[0], value, sizeof (DataType) * count); in CLArgumentTArray() 93 DataType _value[count];
|