• C
    [Cherry-pick to 1.6] Block part of "tensor should not be null" error message (#20845) · d29e9aa4
    Chen Weihang 提交于
    * Add IndicateVarDataType interface to block tensor is not initialized problem in OP GetExceptedKernelType (#20044)
    
    * add indicate_var_data_type inferface, test=develop
    
    * add unittests & polish error message, test=develop
    
    * remove needless include, test=develop
    
    * extract public function & polish message, test=develop
    
    * delete empty var check, test=develop
    
    * change data_type to pointer parameter, test=develop
    
    * polish details, test=develop
    
    * Replace risky GetInputType method with secure IndicateVarDataType interface (#20668)
    
    * replace part of the old implementation, test=develop
    
    * restore concat op, test=develop
    
    * update all ops implemention & delete GetDataTypeOfVar func, test=develop
    
    test=release/1.6
    d29e9aa4
unsqueeze_op.cc 11.0 KB