Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for cvt1 (3.16 sec)

  1. src/cmd/compile/internal/test/float_test.go

    		t.Errorf("cvt2 got %d, wanted 3", got)
    	}
    	if got := cvt3(3.5); got != 3 {
    		t.Errorf("cvt3 got %d, wanted 3", got)
    	}
    	if got := cvt4(3.5); got != 3 {
    		t.Errorf("cvt4 got %d, wanted 3", got)
    	}
    	if got := cvt5(3.5); got != 3 {
    		t.Errorf("cvt5 got %d, wanted 3", got)
    	}
    	if got := cvt6(3.5); got != 3 {
    		t.Errorf("cvt6 got %d, wanted 3", got)
    	}
    	if got := cvt7(3.5); got != 3 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.td

    // This pattern optimizes:
    //   (x + cst1) + cst2 -> x + cst
    //   (x - cst1) - cst2 -> x - cst
    // Where: cst = cst1 + cst2
    foreach BinaryOp = [TF_AddV2Op, TF_SubOp] in {
      def OptimizeConsecutive#BinaryOp : Pat<
        (BinaryOp
          (BinaryOp $x, (TF_ConstOp:$cst1 $cst1_value)),
          (TF_ConstOp:$cst2 $cst2_value)),
        (BinaryOp
          $x, (TF_AddV2Op $cst1, $cst2))>;
    }
    
    // This pattern optimizes:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/tests/fold_broadcast.mlir

      %cst0 = mhlo.constant dense<[1.0, 2.0, 3.0, 4.0]> : tensor<4xf32>
      %cst1 = mhlo.constant dense<[[[[1.0, 2.0, 3.0, 4.0], [5.0, 6.0, 7.0, 8.0]]]]> : tensor<1x1x2x4xf32>
      %0 = "mhlo.broadcast_in_dim"(%cst0) <{broadcast_dimensions = dense<3> : tensor<1xi64>}> : (tensor<4xf32>) -> tensor<1x1x2x4xf32>
      %1 = mhlo.multiply %0, %cst1 : tensor<1x1x2x4xf32>
      // CHECK:      return %[[RES]] : tensor<1x1x2x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir

      // CHECK-DAG: %[[CST1:.*]] =  "tf.Const"() <{value = dense<[8, 6, 6, 18]> : tensor<4xi64>}> : () -> tensor<4xi64>
      // CHECK: %[[RESHAPE:.*]] = "tf.Reshape"(%arg0, %[[CST]]) : (tensor<1x8x1x1x1x1x1x18xbf16>, tensor<4xi64>) -> tensor<8x1x1x18xbf16>
      // CHECK: %[[BROADCAST:.*]] = "tf.BroadcastTo"(%[[RESHAPE]], %[[CST1]]) : (tensor<8x1x1x18xbf16>, tensor<4xi64>) -> tensor<8x6x6x18xbf16>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-inplaceupdate.mlir

    // CHECK-DAG: %[[CST0:.*]] = stablehlo.constant dense<1> : tensor<i32>
    // CHECK-DAG: %[[CST1:.*]] = stablehlo.constant dense<0> : tensor<i32>
    // CHECK-DAG: %[[CST2:.*]] = stablehlo.constant dense<2.000000e+00> : tensor<1x1x2xf32>
    // CHECK: %[[RES:.*]] = stablehlo.dynamic_update_slice %arg0, %[[CST2]], %[[CST0]], %[[CST1]], %[[CST1]] : (tensor<2x1x2xf32>, tensor<1x1x2xf32>, tensor<i32>, tensor<i32>, tensor<i32>) -> tensor<2x1x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 16 05:09:09 UTC 2022
    - 993 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/modify_io_nodes.mlir

    // CHECK-NEXT: %[[q:.*]] = "tfl.quantize"(%arg0) <{qtype = tensor<1x224x224x3x!quant.uniform<i8:f32, 7.812500e-03>>}> : (tensor<1x224x224x3xf32>) -> tensor<1x224x224x3x!quant.uniform<i8:f32, 7.812500e-03>>
    // CHECK-NEXT: %[[cst1:.*]] = "tfl.pseudo_qconst"() <{qtype = tensor<32x3x3x3x!quant.uniform<i8<-127:127>:f32, 0.021826678373682216:151>>, value = dense<-76> : tensor<32x3x3x3xi8>}> : () -> tensor<32x3x3x3x!quant.uniform<i8<-127:127>:f32, 0.021826678373682216>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/tests/unfold_splat_constant_pass.mlir

    func.func @splat_scalar_no_change() -> (tensor<f32>, tensor<i32>) {
      // CHECK-NOT: mhlo.broadcast_in_dim
      %cst0 = mhlo.constant dense<0.000000e+00> : tensor<f32>
      %cst1 = mhlo.constant dense<0> : tensor<i32>
      func.return %cst0, %cst1 : tensor<f32>, tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_op_with_region.mlir

        // CHECK: %[[CST0:.*]] = stablehlo.constant dense<0xFF800000> : tensor<f32>
        // CHECK: %[[CST1:.*]] = stablehlo.constant dense<0xFF80000E> : tensor<2x3x1024x3xf32>
        // CHECK: %[[Q0:.*]] = "quantfork.qcast"(%[[CST0]])
        // CHECK: %[[Q1:.*]] = "quantfork.qcast"(%[[CST1]])
        // CHECK: %[[Q2:.*]] = "quantfork.qcast"(%[[ARG0]])
        // CHECK: %[[CALL:.*]] = call @quantized_dot_general_fn_1(%[[Q2]], %[[Q1]])
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/slf4j/Slf4jLoggingConfigurerTest.groovy

    import org.gradle.internal.time.Time
    import org.slf4j.Logger
    import org.slf4j.LoggerFactory
    import spock.lang.Specification
    
    class Slf4jLoggingConfigurerTest extends Specification {
        Logger logger = LoggerFactory.getLogger("cat1")
        OutputEventListener listener = Mock()
        Slf4jLoggingConfigurer configurer = new Slf4jLoggingConfigurer(listener)
    
        def cleanup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/optimize.mlir

      %cst0 = arith.constant dense<[[1.0, 2.0], [3.0, 4.0]]> : tensor<2x2xf32>
      %cst1 = arith.constant dense<2.0> : tensor<2xf32>
      %cst2 = arith.constant dense<[1.0, 2.0]> : tensor<2xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
Back to top