Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 100 for 5x3xi32 (0.11 sec)

  1. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

    }
    
    func.func @snapshot(%arg0: tensor<3xi32>) -> tensor<3xi32> {
      %0 = "tf.Snapshot"(%arg0) : (tensor<3xi32>) -> tensor<3xi32>
      func.return %0 : tensor<3xi32>
      // Should be converted to Identity and then from Identity to value
      // CHECK-LABEL: snapshot
      // CHECK:  return %arg0 : tensor<3xi32>
    }
    
    func.func @stop_gradient(%arg0: tensor<3xi32>) -> tensor<3xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

        // CHECK:      metadata
        // CHECK-SAME: args
        // CHECK-SAME: shape {\0A dim {\0A size: -1\0A }\0A dim {\0A size: -1\0A }\0A dim {\0A size: 3\0A }\0A }
        func.return %0: tensor<?x?x3xi32>
      }
      func.func @_func(%arg0: tensor<?x?x3xi32>) -> tensor<?x?x3xi32> {
        func.return %arg0 : tensor<?x?x3xi32>
      }
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir

      // CHECK-NEXT: %[[UPDATE_SLICE:.*]] = "tf.Reshape"(%[[PUSH_VAL]], %[[UPDATE_SHAPE]]) : (tensor<2xi32>, tensor<2xi32>) -> tensor<1x2xi32>
      // CHECK-NEXT: %[[ZERO_INDS:.*]] = "tf.Const"() <{value = dense<0> : tensor<1xi32>}> : () -> tensor<1xi32>
      // CHECK-NEXT: %[[CONCAT_DIM:.*]] = "tf.Const"() <{value = dense<0> : tensor<i32>}> : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/prepare-quantize.mlir

    }
    
    // CHECK-LABEL: quantize_float_placeholder_only
    func.func @quantize_float_placeholder_only(%arg0: tensor<f32>, %arg1: tensor<2x3xi32>, %arg2: tensor<2x3xf32>) -> (tensor<f32>, tensor<2x3xi32>, tensor<2x3xf32>) {
      func.return %arg0, %arg1, %arg2: tensor<f32>, tensor<2x3xi32>, tensor<2x3xf32>
    
    // CHECK-NEXT: %[[q:.*]] = "tfl.quantize"(%arg0)
    // CHECK-NEXT: %[[dq:.*]] = "tfl.dequantize"(%[[q]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

    func.func @add_dense_dense_int_mixing_1_n() -> tensor<2x2xi32> {
      %cst_0 = arith.constant dense<[[1, 2]]> : tensor<1x2xi32>
      %cst_1 = arith.constant dense<[[3], [4]]> : tensor<2x1xi32>
    
      %0 = "tfl.add"(%cst_0, %cst_1) {fused_activation_function = "NONE"} : (tensor<1x2xi32>, tensor<2x1xi32>) -> tensor<2x2xi32>
    
      func.return %0 : tensor<2x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir

      // CHECK: %[[SC:.*]] = "tf.TensorScatterUpdate"(%[[BUFFER]], %[[IND_RESHPE]], %[[ARG2]]) : (tensor<10x8x9xf32>, tensor<5x1xi32>, tensor<5x8x9xf32>) -> tensor<10x8x9xf32>
      %scatter = "tf.TensorListScatterIntoExistingList"(%tl, %arg2, %arg1) : (tensor<!tf_type.variant<tensor<8x9xf32>>>, tensor<5x8x9xf32>, tensor<5xi32>) -> tensor<!tf_type.variant<tensor<8x9xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

        // CHECK:      %[[ONE:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}>
        // CHECK:      %[[RES_READ_VAL:[0-9]*]] = "tf.ReadVariableOp"
        // CHECK-SAME: (tensor<*x!tf_type.resource<tensor<2x8xi32>>>) -> tensor<2x8xi32>
        // CHECK:      "tf.AddV2"(%[[RES_READ_VAL]], %[[ONE]])
        // CHECK-SAME: (tensor<2x8xi32>, tensor<i32>) -> tensor<2x8xi32>
        // CHECK:      "tf.AssignVariableOp"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

    //     (tensor<i32>, tensor<i32>, tensor<i32>) -> tensor<5xi32>
    //   %shape = "tf.Const"() {value = dense<[5, 1]> : tensor<2xi32>}
    //   %indices = "tf.Reshape"(%x, %shape) : (tensor<5xi32, tensor<2xi32) ->
    //     tensor<5x1xi32>
    //   "tf.TensorScatterUpdate"(%x, %indices, %updates) :
    //     (tensor<5xi32>, tensor<5x1xi32>, tensor<5xi32>) -> tensor<5xi32>
    //
    class LowerInvertPermutationOp : public RewritePattern {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/fuse-tftext.mlir

      %19 = "tf.StringLength"(%arg0) {device = "", unit = "BYTE"} : (tensor<1x!tf_type.string>) -> tensor<1xi32>
      %20 = "tf.ExpandDims"(%19, %7) {device = ""} : (tensor<1xi32>, tensor<i32>) -> tensor<1x1xi32>
      %21 = "tf.Cast"(%20) {Truncate = false, device = ""} : (tensor<1x1xi32>) -> tensor<1x1xi64>
      %22 = "tf.Reshape"(%21, %12) {device = ""} : (tensor<1x1xi64>, tensor<1xi64>) -> tensor<1xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      return {};
    }
    
    // Convert Pack to Reshape when there is only one operand to be packed.
    // For example,
    //
    //   %0 = tf.Pack(%input) {axis = 0} // %input : tensor<2x3xf32>
    //
    // can be canonicalized to
    //
    //   %shape = "tf.Const"() {value = dense<[1, 2, 3]> : tensor<3xi64>}
    //   %0 = tf.Reshape(%input, %shape)
    struct ConvertPackToReshape : public OpRewritePattern<PackOp> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top