Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 131 for bb0 (0.08 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-regions.mlir

    func.func @testWhileResult(tensor<*xf32>) -> (tensor<*xf32>) {
    ^bb0(%arg0: tensor<*xf32>):
      %1 = "tf.While"(%arg0) {
        cond = @testWhileCond,
        body = @testWhileBody,
        is_stateless = true,
        _attr0 = 10, _attr1 = true, attr2 = "hello"
      } : (tensor<*xf32>) -> (tensor<*xf32>)
    
      // CHECK: [[Result0:%.*]] = "tf.WhileRegion"
      // CHECK-SAME: is_stateless = true
      // CHECK: ^bb0([[CARG0:%[^:]*]]:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 21:59:28 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/decompose_reduce_dataset.mlir

        // CHECK-NEXT: %[[COND:.*]] = "tf.Const"
        // CHECK-NEXT: "tf.WhileRegion"(%[[COND]], %[[ARG_1]])
        // CHECK-NEXT:   ^bb0(%[[ARG_2:.*]]: tensor<i1>, %[[ARG_3:.*]]: tensor<i64>)
        // CHECK-NEXT:     "tf.Yield"(%[[ARG_2]])
        // CHECK:        ^bb0(%[[ARG_4:.*]]: tensor<i1>, %[[ARG_5:.*]]: tensor<i64>)
        // CHECK:          %[[GET_NEXT:[0-9]*]] = "tf.IteratorGetNextAsOptional"(%[[ANON_ITER]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 18 17:16:34 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/tfl_while_op_licm.mlir

      %0:2 = "tfl.while"(%arg0, %arg1) (
        // cond
        {
        ^bb0(%condArg0: tensor<*xi32>, %condArg1: tensor<*xf32>):
          %0 = "arith.constant" () {value = dense<0> : tensor<i32>} : () -> tensor<i32> loc("Const")
          %1 = "tfl.greater"(%condArg0, %0) : (tensor<*xi32>, tensor<i32>) -> tensor<i1>
          "tfl.yield"(%1) : (tensor<i1>) -> ()
        },
        // body
        {
        ^bb0(%bodyArg0: tensor<*xi32>, %bodyArg1: tensor<*xf32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    ^bb0(%arg0: tensor<1x32x32x16xf32>, %arg1: tensor<16xf32>):
      %0 = "tf.BiasAdd"(%arg0, %arg1) {T = "tfdtype$DT_FLOAT"}: (tensor<1x32x32x16xf32>, tensor<16xf32>) -> tensor<1x32x32x16xf32>
      func.return %0 : tensor<1x32x32x16xf32>
    }
    
    // -----
    
    func.func @testBiasAddWrongDataFormat(tensor<1x32x32x16xf32>, tensor<16xf32>) -> tensor<1x32x32x16xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/ops.mlir

    // CHECK-LABEL: testCos
    func.func @testCos(tensor<? x f32>) -> tensor<? x f32> {
    ^bb0(%arg0: tensor<? x f32>):
      // CHECK: "tfl.cos"(%arg0)
      %0 = "tfl.cos"(%arg0): (tensor<? x f32>) -> tensor<? x f32>
      func.return %0 : tensor<? x f32>
    }
    
    // -----
    
    // test invalid Cos input
    func.func @testCosWithWrongInputType(tensor<?xi32>) -> tensor<?xi32> {
    ^bb0(%arg0: tensor<?xi32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/quantize.mlir

    }
    
    // CHECK-LABEL: QuantizeConv2D
    func.func @QuantizeConv2D(tensor<1x224x224x3x!quant.uniform<u8:f32, 7.812500e-03:128>>) -> tensor<1x112x112x32x!quant.uniform<u8:f32, 0.023528476789885875>> {
    ^bb0(%arg0: tensor<1x224x224x3x!quant.uniform<u8:f32, 7.812500e-03:128>>):
      %cst = arith.constant dense<-1.23697901> : tensor<32xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/analyze-variables.mlir

        %1:2 = "tfl.while"(%cst, %0) ({
        ^bb0(%arg1: tensor<*xi32>, %arg2: tensor<*x!tf_type.resource<tensor<*xi32>>>):
          %2 = "tf.ReadVariableOp"(%arg2) {dtype = i32} : (tensor<*x!tf_type.resource<tensor<*xi32>>>) -> tensor<*xi32>
          %3 = "tfl.greater"(%arg1, %2) : (tensor<*xi32>, tensor<*xi32>) -> tensor<i1>
          "tfl.yield"(%3) : (tensor<i1>) -> ()
      },  {
        ^bb0(%arg3: tensor<*xi32>, %arg4: tensor<i32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 09 11:49:28 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/optimize_layout.mlir

    // CHECK:               <{window_dimensions = array<i64: 1, 3, 3, 1>,
    // CHECK:                 window_strides = array<i64: 1, 2, 2, 1>}> ({
    // CHECK:           ^bb0(%[[ARG0:.*]]: tensor<f32>, %[[ARG1:.*]]: tensor<f32>):
    // CHECK:             %[[MAX:.*]] = stablehlo.maximum %[[ARG0]], %[[ARG1]] : tensor<f32>
    // CHECK:             stablehlo.return %[[MAX]] : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/defer_activation_transpose.mlir

      %0 = stablehlo.constant dense<0xFF800000> : tensor<f32>  // -inf
      %1 = stablehlo.transpose %arg0, dims = [0, 3, 1, 2] : (tensor<1x16x16x4xf32>) -> tensor<1x4x16x16xf32>
      %2 = "stablehlo.reduce_window"(%1, %0) ({
      ^bb0(%arg1: tensor<f32>, %arg2: tensor<f32>):
          %3 = stablehlo.maximum %arg1, %arg2 : tensor<f32>
          stablehlo.return %3 : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/raise-custom-ops.mlir

    // CHECK-NEXT: %[[MUL:.*]] = tfl.mul %arg0, %[[CST]] {fused_activation_function = "NONE"} : tensor<4xf32>
    // CHECK-NEXT: %[[CUSTOM_1:.*]] = "tfl.custom_tf"(%[[MUL]], %[[CST]]) ({
    // CHECK-NEXT: ^bb0(%arg1: tensor<4xf32>, %arg2: tensor<4xf32>):
    // CHECK-NEXT:   %[[MY_CUSTOM:.*]] = "tf.MyCustomOp"(%arg1, %arg2) {fused_activation_function = "RELU", int_attr = 2 : i32} : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top