Home
last modified time | relevance | path

Searched refs:OpData (Results 1 – 25 of 94) sorted by relevance

1234

/external/tensorflow/tensorflow/lite/kernels/
Dcall_once.cc39 struct OpData { struct
48 auto* op_data = new OpData; in Init()
56 delete reinterpret_cast<OpData*>(buffer); in Free()
60 const OpData* op_data = reinterpret_cast<OpData*>(node->user_data); in Prepare()
80 OpData* op_data = reinterpret_cast<OpData*>(node->user_data); in Eval()
Dlogical.cc36 struct OpData { struct
41 auto* data = new OpData; in Init()
47 delete reinterpret_cast<OpData*>(buffer); in Free()
55 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Prepare()
91 OpData* data = reinterpret_cast<OpData*>(node->user_data); in LogicalImpl()
Dpooling.cc52 struct OpData { struct
60 return new OpData; in Init()
64 delete reinterpret_cast<OpData*>(buffer); in Free()
70 OpData* data = reinterpret_cast<OpData*>(node->user_data); in GenericPrepare()
117 TfLitePoolParams* params, OpData* data, in AverageEvalFloat()
145 TfLitePoolParams* params, OpData* data, in AverageEvalQuantizedUint8()
175 TfLitePoolParams* params, OpData* data, in AverageEvalQuantizedInt8()
205 TfLitePoolParams* params, OpData* data, in AverageEvalQuantizedInt16()
231 TfLitePoolParams* params, OpData* data, in MaxEvalFloat()
258 TfLitePoolParams* params, OpData* data, in MaxEvalQuantizedUInt8()
[all …]
Dfloor_div.cc40 struct OpData { struct
45 auto* data = new OpData; in Init()
51 delete reinterpret_cast<OpData*>(buffer); in Free()
59 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Prepare()
128 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Eval()
Dpow.cc37 struct OpData { struct
42 auto* data = new OpData; in Init()
48 delete reinterpret_cast<OpData*>(buffer); in Free()
55 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Prepare()
119 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Eval()
Dfloor_mod.cc38 struct OpData { struct
45 auto* data = new OpData; in Init()
51 delete reinterpret_cast<OpData*>(buffer); in Free()
59 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Prepare()
127 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Eval()
Dsquared_difference.cc38 struct OpData { struct
50 auto* data = new OpData; in Init()
56 delete reinterpret_cast<OpData*>(buffer); in Free()
60 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Prepare()
173 const OpData* data, in EvalQuantizedSquaredDifference()
177 const auto* op_data = static_cast<const OpData*>(node->user_data); in EvalQuantizedSquaredDifference()
196 const OpData* data, const TfLiteTensor* input1, in EvalSquaredDifference()
212 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Eval()
Dconv3d.cc35 struct OpData { struct
40 auto* data = new OpData; in Init()
45 delete static_cast<OpData*>(buffer); in Free()
50 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Prepare()
113 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Eval()
Dselect.cc39 struct OpData { struct
47 auto* data = new OpData; in SelectInit()
54 delete reinterpret_cast<OpData*>(buffer); in SelectFree()
59 OpData* data = reinterpret_cast<OpData*>(node->user_data); in SelectPrepare()
120 OpData* data = reinterpret_cast<OpData*>(node->user_data); in SelectEval()
Drandom_uniform.cc27 struct OpData { struct
54 return new OpData(); in Init()
58 delete reinterpret_cast<OpData*>(buffer); in Free()
79 OpData* params = reinterpret_cast<OpData*>(node->user_data); in EvalFloat()
123 OpData* params = reinterpret_cast<OpData*>(node->user_data); in EvalInt()
Ddiv.cc48 struct OpData { struct
61 auto* data = new OpData; in Init()
67 delete reinterpret_cast<OpData*>(buffer); in Free()
72 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Prepare()
115 const OpData* data, const TfLiteTensor* input1, in EvalDiv()
162 TfLiteDivParams* params, const OpData* data, in EvalQuantized()
207 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Eval()
Ddequantize.cc37 struct OpData { struct
43 auto* op_data = new OpData(); in Init()
49 delete reinterpret_cast<OpData*>(buffer); in Free()
79 OpData* op_data = reinterpret_cast<OpData*>(node->user_data); in Eval()
/external/llvm/utils/TableGen/
DPseudoLoweringEmitter.cpp27 struct OpData { struct in __anone80493550111::PseudoLoweringEmitter
39 IndexedMap<OpData> OperandMap;
42 IndexedMap<OpData> &m) : in PseudoExpansion()
57 IndexedMap<OpData> &OperandMap,
75 IndexedMap<OpData> &OperandMap, unsigned BaseIdx) { in addDagOperandMapping()
83 OperandMap[BaseIdx + i].Kind = OpData::Reg; in addDagOperandMapping()
102 OperandMap[BaseIdx + i + I].Kind = OpData::Operand; in addDagOperandMapping()
105 OperandMap[BaseIdx + i].Kind = OpData::Imm; in addDagOperandMapping()
153 IndexedMap<OpData> OperandMap; in evaluateExpansion()
177 if (OperandMap[Insn.Operands[i].MIOperandNo].Kind != OpData::Operand) in evaluateExpansion()
[all …]
/external/llvm-project/llvm/utils/TableGen/
DPseudoLoweringEmitter.cpp26 struct OpData { struct in __anon7a17f2c30111::PseudoLoweringEmitter
38 IndexedMap<OpData> OperandMap;
41 IndexedMap<OpData> &m) : in PseudoExpansion()
56 IndexedMap<OpData> &OperandMap,
74 IndexedMap<OpData> &OperandMap, unsigned BaseIdx) { in addDagOperandMapping()
82 OperandMap[BaseIdx + i].Kind = OpData::Reg; in addDagOperandMapping()
105 OperandMap[BaseIdx + i + I].Kind = OpData::Operand; in addDagOperandMapping()
108 OperandMap[BaseIdx + i].Kind = OpData::Imm; in addDagOperandMapping()
171 IndexedMap<OpData> OperandMap; in evaluateExpansion()
195 if (OperandMap[Insn.Operands[i].MIOperandNo].Kind != OpData::Operand) in evaluateExpansion()
[all …]
DRISCVCompressInstEmitter.cpp83 struct OpData { struct in __anon50c1a2bd0111::RISCVCompressInstEmitter
98 IndexedMap<OpData>
101 IndexedMap<OpData>
105 std::vector<Record *> RF, IndexedMap<OpData> &SourceMap, in CompressPat()
106 IndexedMap<OpData> &DestMap) in CompressPat()
116 IndexedMap<OpData> &OperandMap, bool IsSourceInst);
124 IndexedMap<OpData> &SourceOperandMap);
128 IndexedMap<OpData> &SourceOperandMap,
129 IndexedMap<OpData> &DestOperandMap,
192 IndexedMap<OpData> &OperandMap, bool IsSourceInst) { in addDagOperandMapping()
[all …]
/external/tensorflow/tensorflow/lite/micro/kernels/
Dpooling.cc34 struct OpData { struct
45 const TfLiteTensor* output, OpData* data) { in CalculateOpData()
62 const TfLitePoolParams* params, const OpData* data, in AverageEvalFloat()
80 const TfLitePoolParams* params, const OpData* data, in AverageEvalQuantized()
110 TfLitePoolParams* params, const OpData* data, in MaxEvalFloat()
128 TfLitePoolParams* params, const OpData* data, in MaxEvalQuantized()
160 const OpData* data = static_cast<const OpData*>(node->user_data); in AverageEval()
189 const OpData* data = static_cast<const OpData*>(node->user_data); in MaxEval()
214 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init()
222 OpData* data = static_cast<OpData*>(node->user_data); in Prepare()
Dlogistic.cc36 struct OpData { struct
44 OpData* data) { in CalculateArithmeticOpData()
74 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in LogisticInit()
79 OpData* data = static_cast<OpData*>(node->user_data); in LogisticPrepare()
91 OpData* data = static_cast<OpData*>(node->user_data); in LogisticEval()
Delu.cc39 struct OpData { struct
44 void PopulateLookupTable(struct OpData* data, const TfLiteTensor* input, in PopulateLookupTable()
65 void EvalUsingLookupTable(struct OpData* data, const TfLiteTensor* input, in EvalUsingLookupTable()
104 OpData* data = reinterpret_cast<OpData*>(node->user_data); in EluPrepare()
127 OpData* data = reinterpret_cast<OpData*>(node->user_data); in EluEval()
Dtanh.cc37 struct OpData { struct
46 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in TanhInit()
50 OpData* data) { in CalculateArithmeticOpData()
78 OpData* data = static_cast<OpData*>(node->user_data); in TanhPrepare()
95 const OpData& data = *(static_cast<const OpData*>(node->user_data)); in TanhEval()
Dcircular_buffer.cc63 struct OpData { struct
72 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init()
80 OpData* op_data = static_cast<OpData*>(node->user_data); in Prepare()
135 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Eval()
Ddiv.cc48 struct OpData { struct
61 auto* data = new OpData; in Init()
67 delete reinterpret_cast<OpData*>(buffer); in Free()
72 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Prepare()
115 const OpData* data, const TfLiteTensor* input1, in EvalDiv()
162 TfLiteDivParams* params, const OpData* data, in EvalQuantized()
207 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Eval()
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/
Dpooling.cc36 struct OpData { struct
48 OpData* data) { in CalculateOpData()
75 const TfLitePoolParams* params, const OpData& data, in AverageEvalFloat()
97 const TfLitePoolParams* params, const OpData& data, in AverageEvalQuantized()
169 TfLitePoolParams* params, const OpData& data, in MaxEvalFloat()
190 TfLitePoolParams* params, const OpData& data, in MaxEvalQuantizedUInt8()
209 const TfLitePoolParams* params, const OpData& data, in MaxEvalInt8()
263 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init()
270 OpData* data = static_cast<OpData*>(node->user_data); in MaxPrepare()
285 OpData* data = static_cast<OpData*>(node->user_data); in AveragePrepare()
[all …]
/external/tensorflow/tensorflow/lite/micro/kernels/xtensa/
Dsoftmax.cc33 struct OpData { struct
37 struct OpData {
62 TfLiteStatus SoftmaxHifimini(OpData op_data, const RuntimeShape& input_shape, in SoftmaxHifimini()
120 OpData* op_data) { in CalculateSoftmaxOpDataHifimini()
167 OpData* op_data = static_cast<OpData*>(node->user_data); in PrepareHifimini()
203 auto* data = static_cast<OpData*>(node->user_data); in PrepareHifi4()
212 TfLiteStatus EvalHifi4(const OpData* op_data, const TfLiteEvalTensor* input, in EvalHifi4()
242 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init()
264 auto* op_data = static_cast<OpData*>(node->user_data); in Eval()
290 return EvalHifi4(static_cast<OpData*>(node->user_data), input, output, in Eval()
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
Dpooling.cc39 struct OpData { struct
66 const TfLiteTensor* output, OpData* data) { in CalculateOpData()
83 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init()
91 OpData* data = static_cast<OpData*>(node->user_data); in Prepare()
145 const TfLitePoolParams* params, const OpData& data, in AverageEvalFloat()
174 const OpData& data, const TfLiteEvalTensor* input, in EvalMli()
238 const TfLitePoolParams* params, const OpData& data, in AverageEvalQuantized()
274 TfLitePoolParams* params, const OpData& data, in MaxEvalFloat()
299 TfLitePoolParams* params, const OpData& data, in MaxEvalQuantized()
343 const OpData& data = *(static_cast<const OpData*>(node->user_data)); in AverageEval()
[all …]
/external/tensorflow/tensorflow/lite/micro/kernels/ethos_u/
Dethosu.cc27 struct OpData { struct
35 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init()
46 OpData* data = static_cast<OpData*>(node->user_data); in Prepare()
74 const OpData* data = static_cast<const OpData*>(node->user_data); in Eval()

1234