Searched refs:StackOp (Results 1 – 8 of 8) sorted by relevance
43 REGISTER_KERNEL_BUILDER(Name("Stack").Device(DEVICE_CPU), StackOp);45 StackOp);46 REGISTER_KERNEL_BUILDER(Name("StackV2").Device(DEVICE_CPU), StackOp);51 StackOp);54 StackOp);59 StackOp);
29 class StackOp : public OpKernel {31 explicit StackOp(OpKernelConstruction* context);38 TF_DISALLOW_COPY_AND_ASSIGN(StackOp);
107 friend class StackOp;157 StackOp::StackOp(OpKernelConstruction* context) : OpKernel(context) { in StackOp() function in tensorflow::StackOp163 void StackOp::Compute(OpKernelContext* ctx) { in Compute()
91 class StackOp : public XlaOpKernel { class93 explicit StackOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) { in StackOp() function in tensorflow::__anon86d884060111::StackOp120 TF_DISALLOW_COPY_AND_ASSIGN(StackOp);125 StackOp);
262 auto StackOp = StackReg.take_while([](char c) { return isalpha(c); }); in ParseReg() local263 auto Reg = StackReg.drop_front(StackOp.size()); in ParseReg()268 if (StackOp == "push") { in ParseReg()277 } else if (StackOp == "pop") { in ParseReg()285 } else if (StackOp == "drop") { in ParseReg()
118 InfixCalculatorTok StackOp = InfixOperatorStack[Idx]; in pushOperator() local119 if (OpPrecedence[Op] > OpPrecedence[StackOp] || StackOp == IC_LPAREN) { in pushOperator()133 StackOp = InfixOperatorStack[Idx]; in pushOperator()134 if (!(OpPrecedence[StackOp] >= OpPrecedence[Op] || ParenCount)) in pushOperator()139 if (!ParenCount && StackOp == IC_LPAREN) in pushOperator()142 if (StackOp == IC_RPAREN) { in pushOperator()145 } else if (StackOp == IC_LPAREN) { in pushOperator()150 PostfixStack.push_back(std::make_pair(StackOp, 0)); in pushOperator()160 InfixCalculatorTok StackOp = InfixOperatorStack.pop_back_val(); in execute() local161 if (StackOp != IC_LPAREN && StackOp != IC_RPAREN) in execute()[all …]
167 InfixCalculatorTok StackOp = InfixOperatorStack[Idx]; in pushOperator() local168 if (OpPrecedence[Op] > OpPrecedence[StackOp] || StackOp == IC_LPAREN) { in pushOperator()182 StackOp = InfixOperatorStack[Idx]; in pushOperator()183 if (!(OpPrecedence[StackOp] >= OpPrecedence[Op] || ParenCount)) in pushOperator()188 if (!ParenCount && StackOp == IC_LPAREN) in pushOperator()191 if (StackOp == IC_RPAREN) { in pushOperator()194 } else if (StackOp == IC_LPAREN) { in pushOperator()199 PostfixStack.push_back(std::make_pair(StackOp, 0)); in pushOperator()209 InfixCalculatorTok StackOp = InfixOperatorStack.pop_back_val(); in execute() local210 if (StackOp != IC_LPAREN && StackOp != IC_RPAREN) in execute()[all …]
288 StackOp); \