Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FloatType (0.09 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    // accumulation over the given input type.
    Type GetSumAccumulationType(Type input_type) {
      MLIRContext *ctx = input_type.getContext();
      if (input_type.isBF16() || input_type.isF16()) return FloatType::getF32(ctx);
      if (input_type.isSignlessInteger(8) || input_type.isSignlessInteger(16))
        return IntegerType::get(ctx, 32);
      return input_type;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top