Lines Matching refs:X
96 #define AddInput(X) \ in LSTMOpModel() argument
97 OperandType X##OpndTy(Type::TENSOR_FLOAT32, *it++); \ in LSTMOpModel()
98 inputs.push_back(model_.addOperand(&X##OpndTy)); in LSTMOpModel()
123 #define AddOutput(X)\ in LSTMOpModel() argument
124 OperandType X##OpndTy(Type::TENSOR_FLOAT32, *it2++); \ in LSTMOpModel()
125 outputs.push_back(model_.addOperand(&X##OpndTy)); in LSTMOpModel()
146 #define ReserveOutput(X) X##_.insert(X##_.end(), multiAll(*it2++), 0.f); in LSTMOpModel() argument
155 #define DefineSetter(X) \ argument
156 void Set##X(const std::vector<float> &f) { \
157 X##_.insert(X##_.end(), f.begin(), f.end()); \
194 #define SetInputOrWeight(X) \ in Invoke() argument
195 ASSERT_EQ(execution.setInput(LSTMCell::k##X##Tensor, X##_.data(), \ in Invoke()
196 sizeof(float)*X##_.size()), \ in Invoke()
203 #define SetOutput(X) \ in Invoke() argument
204 ASSERT_EQ(execution.setOutput(LSTMCell::k##X##Tensor, X##_.data(), \ in Invoke()
205 sizeof(float)*X##_.size()), \ in Invoke()
264 #define DefineTensor(X) \ argument
265 std::vector<float> X##_;