Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 4x8x16xi32 (2.74 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/convert_type_test.cc

      std::string buf;
      llvm::raw_string_ostream os(buf);
      status_or.value().print(os);
      return os.str();
    }
    
    TEST(MlirConvertType, ConvertToMlirTensorType) {
      // Simple case of static shapes.
      EXPECT_EQ("tensor<4x8x16xi32>",
                ConvertToMlirString({4, 8, 16}, /*unknown_rank=*/false,
                                    DataType::DT_INT32));
    
      // Partially known shapes.
      EXPECT_EQ("tensor<?x27x?xbf16>",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

        tf_device.return %1 : tensor<2x5x16xi32>
      }) : () -> (tensor<2x5x16xi32>)
      func.return %0: tensor<2x5x16xi32>
    }
    
    
    // Tests that composite tf.ResourceApplyCenteredRMSProp operation is decomposed.
    
    // CHECK-LABEL: func @decompose_resource_apply_centered_RMS_prop
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

    func.func @broadcast_multi_dim_add(%arg0: tensor<4x1x1xi32>, %arg1: tensor<4x4x4x4xi32>) -> tensor<4x4x4x4xi32> {
      // CHECK-NEXT: %[[LHS_BCAST:.+]] = "mhlo.broadcast_in_dim"(%arg0) <{broadcast_dimensions = dense<[1, 2, 3]> : tensor<3xi64>}>
      // CHECK-NEXT: mhlo.add %[[LHS_BCAST]], %arg1
      %0 = "tf.AddV2"(%arg0, %arg1) : (tensor<4x1x1xi32>, tensor<4x4x4x4xi32>) -> tensor<4x4x4x4xi32>
      func.return %0: tensor<4x4x4x4xi32>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

      %0 = "chlo.broadcast_add"(%arg0, %arg1) {broadcast_dimensions = array<i64: 1, 2, 3>} : (tensor<4x1x1xi32>, tensor<4x4x4x4xi32>) -> tensor<4x4x4x4xi32>
      func.return %0 : tensor<4x4x4x4xi32>
    }
    
    // CHECK-LABEL:   func @unsupported_broadcast_add
    // CHECK: chlo.broadcast_add
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    // -----
    
    // CHECK-LABEL: @unsorted_segment_sum
    // CHECK-SAME: [[DATA:%.*]]: tensor<8x16x64xf32>
    // CHECK-SAME: [[SI:%.*]]: tensor<8x16xi32>
    func.func @unsorted_segment_sum(%data: tensor<8x16x64xf32>, %segment_ids : tensor<8x16xi32>) -> (tensor<4x64xf32>) {
      %num_segments = "tf.Const"() {value = dense<4> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    }
    
    // -----
    
    // CHECK-LABEL: func @selectV2BroadcastAll
    func.func @selectV2BroadcastAll(%arg0: tensor<8x1x1xi1>, %arg1: tensor<1x8x1xi32>, %arg2: tensor<1x1x8xi32>) -> tensor<8x8x8xi32> {
      %0 = "tf.SelectV2"(%arg0, %arg1, %arg2) : (tensor<8x1x1xi1>, tensor<1x8x1xi32>, tensor<1x1x8xi32>) -> tensor<8x8x8xi32>
      func.return %0: tensor<8x8x8xi32>
    }
    
    // -----
    
    // CHECK-LABEL: func @selectV2DynamicRanked
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
Back to top