Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for 4x2xi32 (0.11 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

            }) : () -> tensor<f32>
            "tf_device.cluster"() ({
              %group = "tf.Const"() <{value = dense<[[0, 1]]> : tensor<1x2xi32>}> : () -> tensor<1x2xi32>
              %arg1_reduced = "tf.XlaAllReduce"(%arg1_id, %group) <{mode = "CrossReplica", reduce_op = "Add"}> : (tensor<f32>, tensor<1x2xi32>) -> tensor<f32>
              "tf.OpA"(%arg1_reduced) : (tensor<f32>) -> ()
              tf_device.return
            }) : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/prepare-quantize.mlir

    func.func @NotQuantizeConcatConstantOperand(%arg0: tensor<1x2xf32>) -> tensor<2x2xf32> {
      %0 = arith.constant dense<1.0> : tensor<1x2xf32>
      %1 = "tfl.concatenation"(%arg0, %0) {axis = 0 : i32, fused_activation_function = "NONE"} : (tensor<1x2xf32>, tensor<1x2xf32>) -> tensor<2x2xf32>
      func.return %1 : tensor<2x2xf32>
    
    // CHECK-NEXT: %[[cst:.*]] = arith.constant dense<1.000000e+00> : tensor<1x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/canonicalize.mlir

    // CHECK-LABEL: broadcast_to_to_reshape
    func.func @broadcast_to_to_reshape(%arg0: tensor<4x4x4xf32>, %arg1 : tensor<4xi32>) -> tensor<1x4x4x4xf32> {
      %0 = "tfl.broadcast_to"(%arg0, %arg1) : (tensor<4x4x4xf32>, tensor<4xi32>) -> tensor<1x4x4x4xf32>
      // CHECK: "tfl.reshape"
      // CHECK-SAME: (tensor<4x4x4xf32>, tensor<4xi32>) -> tensor<1x4x4x4xf32>
      func.return %0 : tensor<1x4x4x4xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

    //     : (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>
    //   %items1:4 = "tf.Unpack"(%[[INP1]]) {axis = 0 : i64}
    //     : (tensor<4x2xf32>) -> (tensor<2xf32>, tensor<2xf32>, tensor<2xf32>,
    //     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)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/components/post_calibration_component.mlir

    // Note: Argument quantization sequence omitted.
    // CHECK: stablehlo.dot_general %{{.+}}, %{{.+}}, contracting_dims = [1] x [0] : (tensor<1x1024xi8>, tensor<1024x3xi8>) -> tensor<1x3xi32>
    
    // Note: Result dequantization sequence omitted.
    // CHECK: return %{{.+}} : tensor<1x3xf32>
    
    // -----
    
    // Tests that a simple dot_general (lifted as a function) with CustomAggregators
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    //                (tensor<4x2xf32>, tensor<4x2xf32>, tensor<4x2xf32>)
    //
    // will be converted into:
    //
    //   %0 = "mhlo.slice"(%input) {
    //             limit_indices = dense<[4, 2]> : tensor<2xi64>,
    //             start_indices = dense<0> : 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)
  8. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    }
    
    // Returns a RankedTensorType which is similar to `input_type` but replaces the
    // dimension size of `dim` with `dim_size`.  For example,
    // `SubstituteRankedTensorTypeDimSize(tensor<3x4xi32>, 1, 2)` returns
    // `tensor<3x2xi32>`.
    static RankedTensorType SubstituteRankedTensorTypeDimSize(
        RankedTensorType input_type, int64_t dim, int64_t dim_size) {
      auto shape = input_type.getShape().vec();
      shape[dim] = dim_size;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top