Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 214 for cst0 (0.07 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-inplaceupdate.mlir

    }
    
    }
    
    // CHECK-LABEL: @tfInplaceUpdate
    // 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>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 16 05:09:09 UTC 2022
    - 993 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/tests/unfold_splat_constant_pass.mlir

    }
    
    // CHECK-LABEL: @splat_scalar_no_change
    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)
  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/lite/tests/flatbuffer2mlir/lstm.mlir

      %cst0 = "tfl.pseudo_const" () {value = dense<0.0> : tensor<1x4xf32>} : () -> tensor<1x4xf32> loc("Const")
      %cst1 = "tfl.pseudo_const" () {value = dense<0.0> : tensor<1x4xf32>} : () -> tensor<1x4xf32> loc("Const")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir

      %1 = "tf.Mul"(%0, %cst2) : (tensor<1x28x23x2xf32>, tensor<23x2xf32>) -> tensor<1x28x23x2xf32>
    
      func.return %1 : tensor<1x28x23x2xf32>
      // CHECK: %cst_0 = arith.constant dense<3.000000e+00> : tensor<23x2xf32>
      // CHECK: %0 = "tf.Conv2D"(%arg0, %cst) <{data_format = "NHWC", dilations = [1, 2, 3, 1], padding = "SAME", strides = [1, 4, 5, 1]}> {T = "tfdtype$DT_FLOAT"}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/tfl_while_outline.mlir

        attributes {tf.entry_function = {outputs = "result"}} {
      %cst0 = arith.constant dense<5> : tensor<i32> loc("N")
      %cst1 = arith.constant dense<3.0> : tensor<1xf32> loc("val")
    
      %0:2 = "tfl.while"(%cst0, %cst1) ({
        ^bb0(%arg2: tensor<*xi32>, %arg3: tensor<*xf32>):
          %cst_0 = arith.constant dense<0> : tensor<i32>
          %1 = "tfl.greater"(%arg2, %cst_0) : (tensor<*xi32>, tensor<i32>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. 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]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

    // CHECK-DAG:  %[[CST:.*]] = arith.constant dense<-2> : tensor<i32>
    // CHECK-DAG:  %[[CST0:.*]] = arith.constant dense<1> : tensor<1xi32>
    // CHECK-DAG:  %[[CST1:.*]] = arith.constant dense<0> : tensor<i32>
    // CHECK:  %[[EXP:.*]] = "tf.ExpandDims"(%arg0, %[[CST]]) : (tensor<10x20x30xf32>, tensor<i32>) -> tensor<10x20x1x30xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/end2end/if_op.pbtxt

            float_val: 6.0
            float_val: 7.0
            float_val: 8.0
          }
        }
      }
    }
    node {
      name: "StatefulIf"
      op: "If"
      input: "tf.Less"
      input: "a"
      input: "b"
      input: "cst0"
      input: "cst1"
      attr {
        key: "Tcond"
        value {
          type: DT_BOOL
        }
      }
      attr {
        key: "Tin"
        value {
          list {
            type: DT_FLOAT
            type: DT_FLOAT
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 16 15:29:56 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-stablehlo-vhlo.mlir

      // CHECK:      %[[CST0:.+]] = arith.constant dense<0.000000e+00>
      // CHECK-NEXT: %[[CST1:.+]] = arith.constant dense<0.000000e+00>
      // CHECK-NEXT: "vhlo.add_v1"(%[[CST0]], %[[CST1]]) : (tensor<f32>, tensor<f32>) -> tensor<f32>
      %cst_0 = arith.constant dense<0.000000e+00> : tensor<f32>
      %cst_1 = arith.constant dense<0.000000e+00> : tensor<f32>
      %0 = stablehlo.add %cst_0, %cst_1 : tensor<f32>
      return %0 : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 22:39:35 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top