Lines Matching refs:X
99 #define AddInput(X) \ in LSTMOpModel() argument
100 OperandType X##OpndTy(Type::TENSOR_FLOAT32, *it++); \ in LSTMOpModel()
101 inputs.push_back(model_.addOperand(&X##OpndTy)); in LSTMOpModel()
126 #define AddOutput(X) \ in LSTMOpModel() argument
127 OperandType X##OpndTy(Type::TENSOR_FLOAT32, *it2++); \ in LSTMOpModel()
128 outputs.push_back(model_.addOperand(&X##OpndTy)); in LSTMOpModel()
151 #define ReserveOutput(X) X##_.insert(X##_.end(), multiAll(*it2++), 0.f); in LSTMOpModel() argument
160 #define DefineSetter(X) \ argument
161 void Set##X(const std::vector<float>& f) { X##_.insert(X##_.end(), f.begin(), f.end()); }
197 #define SetInputOrWeight(X) \ in Invoke() argument
199 execution.setInput(LSTMCell::k##X##Tensor, X##_.data(), sizeof(float) * X##_.size()), \ in Invoke()
206 #define SetOutput(X) \ in Invoke() argument
208 execution.setOutput(LSTMCell::k##X##Tensor, X##_.data(), sizeof(float) * X##_.size()), \ in Invoke()
264 #define DefineTensor(X) std::vector<float> X##_; argument