Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for convert_v1 (0.36 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

    //CHECK-NEXT:}
    
    func.func @convert(%arg0: tensor<2xf64>) -> tensor<2xf32> {
      %0 = "vhlo.convert_v1" (%arg0) : (tensor<2xf64>) -> tensor<2xf32>
      return %0 : tensor<2xf32>
    }
    
    //CHECK:func.func private @convert(%arg0: tensor<2xf64>) -> tensor<2xf32> {
    //CHECK-NEXT: %0 = "vhlo.convert_v1"(%arg0) : (tensor<2xf64>) -> tensor<2xf32>
    //CHECK-NEXT: return %0 : tensor<2xf32>
    //CHECK-NEXT:}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (1)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

      // CHECK: %[[CONVERT_1:.*]] = mhlo.bitcast_convert %[[QUANTIZE]] : (tensor<2x!quant.uniform<i8:f32, 1.000000e+00:3>>) -> tensor<2xi8>
      // CHECK: %[[CONVERT_2:.*]] = mhlo.bitcast_convert %[[CONVERT_1]] : (tensor<2xi8>) -> tensor<2x!quant.uniform<i8:f32, 1.000000e+00:3>>
      // CHECK: %[[DEQUANTIZE:.*]] = mhlo.uniform_dequantize %[[CONVERT_2]] : (tensor<2x!quant.uniform<i8:f32, 1.000000e+00:3>>) -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

    bool IsConvertOpLegal(ConvertOp convert_op, BFloat16TypeConverter& converter) {
      if (!converter.isLegal(convert_op.getOperand().getType())) {
        auto other_convert_op = dyn_cast_or_null<OtherConvertOp>(
            convert_op.getOperand().getDefiningOp());
        return other_convert_op &&
               converter.isLegal(other_convert_op.getOperand().getType());
      } else if (!converter.isLegal(convert_op.getResult().getType())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/ToPlannedNodeConverterRegistry.java

                ToPlannedNodeConverter converter1 = converters.get(i);
                for (int j = i + 1; j < converterCount; j++) {
                    ToPlannedNodeConverter converter2 = converters.get(j);
                    checkOverlappingConverters(converter1, converter2);
                }
            }
        }
    
        private static void checkOverlappingConverters(ToPlannedNodeConverter converter1, ToPlannedNodeConverter converter2) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc

        for (const OpOperand& connected_op : op.getResult().getUses()) {
          ConvertOp convert_op =
              dyn_cast_or_null<ConvertOp>(connected_op.getOwner());
          // ConvertOp already exists. Rewire the existing convert op into f16.
          if (convert_op && convert_op.getType() == new_result_type) {
            quantizable_op->setOperand(quantize_operand_num, convert_op);
            return;
          }
        }
        rewriter.setInsertionPointAfter(op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK-DAG: [[CONVERT_1:%.+]] = mhlo.convert [[ABS1]]
      // CHECK-DAG: [[CONVERT_2:%.+]] = mhlo.convert %arg2
      // CHECK-DAG: [[DIV:%.+]] = mhlo.divide [[CONVERT_1]], [[CONVERT_2]]
      // CHECK-DAG: [[CEIL:%.+]] = mhlo.ceil [[DIV]]
      // CHECK-DAG: [[CONVERT_3:%.+]] = mhlo.convert [[CEIL]]
      // CHECK-DAG: [[RESHAPE:%.+]] = mhlo.reshape [[CONVERT_3]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

      const bool is_i8_operand =
          convert_op.getOperand().getType().getElementType().isInteger(/*width=*/8);
      const bool is_i32_result =
          convert_op.getResult().getType().getElementType().isInteger(/*width=*/32);
      return is_i8_operand && is_i32_result;
    }
    
    // Tests whether a `stablehlo::ConvertOp` is a i32 -> f32 cast.
    bool IsI32ToF32Cast(stablehlo::ConvertOp convert_op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  8. hack/golangci-hints.yaml

        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1514201592
        - linters:
            - stylecheck
            - revive
          text: "(ST1003: should not use underscores in Go names; func (Convert_.*_To_.*|SetDefaults_)|exported: exported function (Convert|SetDefaults)_.* should be of the form)"
    
        # This check currently has some false positives (https://github.com/nunnatsa/ginkgolinter/issues/91).
        - linters:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. hack/golangci.yaml.in

        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1514201592
        - linters:
            - stylecheck
            - revive
          text: "(ST1003: should not use underscores in Go names; func (Convert_.*_To_.*|SetDefaults_)|exported: exported function (Convert|SetDefaults)_.* should be of the form)"
    
        # This check currently has some false positives (https://github.com/nunnatsa/ginkgolinter/issues/91).
        - linters:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 13:12:04 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. hack/golangci-strict.yaml

        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1514201592
        - linters:
            - stylecheck
            - revive
          text: "(ST1003: should not use underscores in Go names; func (Convert_.*_To_.*|SetDefaults_)|exported: exported function (Convert|SetDefaults)_.* should be of the form)"
    
        # This check currently has some false positives (https://github.com/nunnatsa/ginkgolinter/issues/91).
        - linters:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top