Searched refs:StackOp (Results 1 – 7 of 7) sorted by relevance
43 REGISTER_KERNEL_BUILDER(Name("Stack").Device(DEVICE_CPU), StackOp);45 Name("Stack").Device(DEVICE_DEFAULT).HostMemory("handle"), StackOp);47 REGISTER_KERNEL_BUILDER(Name("StackV2").Device(DEVICE_CPU), StackOp);52 StackOp);
29 class StackOp : public OpKernel {31 explicit StackOp(OpKernelConstruction* context);38 TF_DISALLOW_COPY_AND_ASSIGN(StackOp);
108 friend class StackOp;158 StackOp::StackOp(OpKernelConstruction* context) : OpKernel(context) { in StackOp() function in tensorflow::StackOp164 void StackOp::Compute(OpKernelContext* ctx) { in Compute()
91 class StackOp : public XlaOpKernel { class93 explicit StackOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) { in StackOp() function in tensorflow::__anonf6a314e40111::StackOp120 TF_DISALLOW_COPY_AND_ASSIGN(StackOp);125 StackOp);
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 …]
174 InfixCalculatorTok StackOp = InfixOperatorStack[Idx]; in pushOperator() local175 if (OpPrecedence[Op] > OpPrecedence[StackOp] || StackOp == IC_LPAREN) { in pushOperator()189 StackOp = InfixOperatorStack[Idx]; in pushOperator()190 if (!(OpPrecedence[StackOp] >= OpPrecedence[Op] || ParenCount)) in pushOperator()195 if (!ParenCount && StackOp == IC_LPAREN) in pushOperator()198 if (StackOp == IC_RPAREN) { in pushOperator()201 } else if (StackOp == IC_LPAREN) { in pushOperator()206 PostfixStack.push_back(std::make_pair(StackOp, 0)); in pushOperator()216 InfixCalculatorTok StackOp = InfixOperatorStack.pop_back_val(); in execute() local217 if (StackOp != IC_LPAREN && StackOp != IC_RPAREN) in execute()[all …]
210 InfixCalculatorTok StackOp = InfixOperatorStack[Idx]; in pushOperator() local211 if (OpPrecedence[Op] > OpPrecedence[StackOp] || StackOp == IC_LPAREN) { in pushOperator()225 StackOp = InfixOperatorStack[Idx]; in pushOperator()226 if (!(OpPrecedence[StackOp] >= OpPrecedence[Op] || ParenCount)) in pushOperator()231 if (!ParenCount && StackOp == IC_LPAREN) in pushOperator()234 if (StackOp == IC_RPAREN) { in pushOperator()237 } else if (StackOp == IC_LPAREN) { in pushOperator()242 PostfixStack.push_back(std::make_pair(StackOp, 0)); in pushOperator()252 InfixCalculatorTok StackOp = InfixOperatorStack.pop_back_val(); in execute() local253 if (StackOp != IC_LPAREN && StackOp != IC_RPAREN) in execute()[all …]