"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "842eb9796f0dcd2f1c20be7fce1ba3fbb9ba3e4e"
  • Qianfeng's avatar
    Regulate reduction accumulator operations and Element-wise operations (#274) · 1f543bfa
    Qianfeng authored
    * Remove template from Reducton operation classes and add template to their operator() and GetIdentityValue() interfaces
    
    * Change to unary elementwise operators and the reduce_unary_operator (class for mapping) and dependent variations in all host layers
    
    * Remove the data type template parameter from reduce_binary_operator (class for mapping) and dependent variations in host layers
    
    * Add InMemoryDataOperatonSupportedOnDataType to check the matching between data type and InMemoryDataOperation
    
    * Use struct-scope operator template instantiation for binary and unary element-wise operations
    
    * Change a few more elementwise operations to use template for operator()
    
    * Tiny correction in Normalize operator
    
    * Add static_assert to check the data type appliability for some reduction accumulator and element-wise operatons
    
    * Correction in some examples with regard to using ReduceAccDataType
    
    * Use static_assert for UnaryDivide
    
    * Update to merged codes to use Element-wise operations and Reduction Accumulator operations correctly
    
    * Tiny fix with regard to SetWorkSpacePointer()
    1f543bfa
elementwise_add_4d.cpp 5.73 KB