IEProtLib/tf_ops/cc/src/basis_proj_bilateral.cpp
/**
             *  Constructor.
             *  @param  pContext    Constructor context of the operation.
             */
Constructor.
@param  pContext    Constructor context of the operation.
Constructor . @param pContext Constructor context of the operation .
explicit BasisProjBilGradsOp(
                OpKernelConstruction* pContext)
                :OpKernel(pContext){
                OP_REQUIRES_OK(pContext, pContext->GetAttr("basis_type", &basisType_));
                OP_REQUIRES(pContext, basisType_ >= 6 && basisType_ < 10, 
                    errors::InvalidArgument("BasisProjBilGradsOp requires a valid basis type."));
            }
explicit BasisProjBilGradsOp ( OpKernelConstruction * pContext ) : OpKernel ( pContext ) { OP_REQUIRES_OK ( pContext , pContext -> GetAttr ( " " , & basisType_ ) ) ; OP_REQUIRES ( pContext , basisType_ >= 6 && basisType_ < 10 , errors :: InvalidArgument ( " " ) ) ; }
Constructor.
Constructor .