Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 67 for 2xi64 (0.26 sec)

  1. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

      // CHECK:  return %[[CST]]
    }
    
    // CHECK-LABEL: @ShapeOpI64
    func.func @ShapeOpI64(%arg0 : tensor<576x72xf32>) -> tensor<2xi64> {
      %0 = "tfl.shape"(%arg0) : (tensor<576x72xf32>) -> tensor<2xi64>
      func.return %0 : tensor<2xi64>
      // CHECK: %[[CST:.*]] = arith.constant dense<[576, 72]> : tensor<2xi64>
      // CHECK:  return %[[CST]]
    }
    
    // CHECK-LABEL: @ConstFoldStridedSlice
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/tests/pick-subgraphs.mlir

        %cst = arith.constant dense<[2, 100]> : tensor<2xi64>
        %0 = "tfl.concatenation"(%arg0, %arg1) {axis = 0 : i32, fused_activation_function = "NONE"} : (tensor<100xf32>, tensor<100xf32>) -> tensor<200xf32>
        %1 = "tfl.reshape"(%0, %cst) : (tensor<200xf32>, tensor<2xi64>) -> tensor<2x100xf32>
        func.return %1 : tensor<2x100xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    //        limit_indices = dense<[4, 1]> : tensor<2xi64>,
    //        start_indices = dense<0> : tensor<2xi64>,
    //        strides = dense<1> : tensor<2xi64>} :
    //        (tensor<4x6xf32>) -> tensor<4x1xf32>
    // %1 = "mhlo.slice"(%input) {
    //        limit_indices = dense<[4, 3]> : tensor<2xi64>,
    //        start_indices = dense<[0, 1]> : tensor<2xi64>,
    //        strides = dense<1> : tensor<2xi64>} :
    //        (tensor<4x6xf32>) -> tensor<4x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

      // CHECK-NEXT:   %[[LHS_BCAST:.+]] = "mhlo.dynamic_broadcast_in_dim"(%arg0, %[[RESULT_EXTENTS]]) <{broadcast_dimensions = dense<1> : tensor<1xi64>}>
      // CHECK-NEXT:   %[[RHS_BCAST:.+]] = "mhlo.dynamic_broadcast_in_dim"(%arg1, %[[RESULT_EXTENTS]]) <{broadcast_dimensions = dense<[0, 1]> : tensor<2xi64>}>
      // CHECK-NEXT:   %[[RESULT:.+]] = mhlo.add %[[LHS_BCAST]], %[[RHS_BCAST]] : tensor<?x?xi32>
      // CHECK-NEXT:   shape.assuming_yield %[[RESULT]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      func.return %3 : tensor<2xi64>
      // CHECK: %[[CST:.*]] = "tf.Const"() <{value = dense<[1, 2]> : tensor<2xi64>}> : () -> tensor<2xi64>
      // CHECK: return %[[CST]]
    }
    
    // CHECK-LABEL: testFoldStridedSliceShapeDynamicOutput
    func.func @testFoldStridedSliceShapeDynamicOutput(%arg0: tensor<?x1x2x?xf32>) -> (tensor<?xi32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // CHECK: %[[BITCAST2:.+]] = "tfl.bitcast"(%[[ARG2]]) : (tensor<i64>) -> tensor<1xi64>
    // CHECK: %[[MIN2:.+]] = "tfl.minimum"(%[[BITCAST2]], %[[MAX2]]) : (tensor<1xi64>, tensor<1xi64>) -> tensor<1xi64>
    // CHECK: %[[CONCAT:.+]] = "tfl.concatenation"(%[[MIN1]], %[[MIN2]]) <{axis = 0 : i32, fused_activation_function = "NONE"}> : (tensor<1xi64>, tensor<1xi64>) -> tensor<2xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

    //     -> tensor<5x2xf32>
    //
    // is lowered to
    //
    //   %shape = "tf.Const"() {value = dense<[-1, 2]> : tensor<2xi64>}
    //   %inp0 = "tf.Reshape"(%arg0, %shape)
    //     : (tensor<2xf32>, tensor<2xi64>) -> tensor<1x2xf32>
    //   %inp1 = "tf.Reshape"(%arg1, %shape)
    //     : (tensor<2x2x2xf32>, tensor<2xi64>) -> tensor<4x2xf32>
    //   %items0 = "tf.Unpack"(%[[INP0]]) {axis = 0 : i64}
    //     : (tensor<1x2xf32>) -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

          while (auto cast_op =
                     llvm::dyn_cast_or_null<CastOp>(value.getDefiningOp())) {
            // Consider cast compatibility in case
            //    %cast = "tf.Cast"(%0) : (tensor<2xi64>) -> tensor<2xf32>
            // is skipped.
            if (cast_op.getSrcT() != cast_op.getDstT()) {
              break;
            }
            value = cast_op.getOperand();
          }
          return value;
        };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/optimize.mlir

      %begin0 = arith.constant dense<0> : tensor<4xi64>
      %shape0 = arith.constant dense<[2,3,4,4]> : tensor<4xi64>
      %begin1 = arith.constant dense<1> : tensor<4xi64>
      %shape1 = arith.constant dense<[1,2,3,4]> : tensor<4xi64>
      %0 = "tfl.slice"(%arg0, %begin0, %shape0) : (tensor<2x3x4x5xf32>, tensor<4xi64>, tensor<4xi64>) -> tensor<2x3x4x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/ops.mlir

      %0 = "tfl.shape"(%arg1) : (tensor<8x7x6x5x?x3x2x1xf32>) -> tensor<8xi64>
      %1 = "tfl.shape"(%arg2) : (tensor<?x3x2x1xf32>) -> tensor<4xi64>
      %2 = "tfl.broadcast_args"(%0, %1) : (tensor<8xi64>, tensor<4xi64>) -> tensor<8xi64>
      %3 = "tfl.shape"(%arg0) : (tensor<8x7x6x5x?x3x2x1xi1>) -> tensor<8xi64>
      %4 = "tfl.broadcast_args"(%2, %3) : (tensor<8xi64>, tensor<8xi64>) -> tensor<8xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
Back to top