Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ConstFoldBinaryOp (0.2 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      if (!type) return {};
    
      auto elemType = type.getElementType();
    
      if (elemType.isa<FloatType>())
        return ConstFoldBinaryOp<FloatAttr>(result_type, operands[0], operands[1],
                                            float_calculate);
    
      if (elemType.isSignlessInteger())
        return ConstFoldBinaryOp<IntegerAttr>(result_type, operands[0], operands[1],
                                              int_calculate);
    
      return {};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top