Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for set_element_type (0.2 sec)

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

                                                             sum_element_type);
        else
          result_type = UnrankedTensorType::get(sum_element_type);
    
        // Convert if we need enlarge the element type's bitwidth.
        if (input_element_type != sum_element_type)
          input_value = rewriter.create<ConvertOp>(op.getLoc(), input_value,
                                                   sum_element_type);
    
        // Create the ReduceWindow op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          [&](RankedTensorType new_element_type) -> bool {
        DCOMMENT("\t\tConsidering " << new_element_type << " with old "
                                    << *potential_element_type);
        if (!new_element_type || !new_element_type.hasStaticShape()) return false;
        if (!*potential_element_type) {
          DCOMMENT("\t\tUpdating potential_element_type " << new_element_type);
          *potential_element_type = new_element_type;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top