Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for split_dim (0.14 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    // -----
    
    // CHECK-LABEL: @split_not_match_dynamic_split_dim_input
    func.func @split_not_match_dynamic_split_dim_input(%input: tensor<4x4xf32>, %split_dim: tensor<i32>) -> (tensor<*xf32>, tensor<*xf32>) {
      // CHECK: tf.Split
      %0:2 = "tf.Split"(%split_dim, %input) : (tensor<i32>, tensor<4x4xf32>) -> (tensor<*xf32>, tensor<*xf32>)
      func.return %0#0, %0#1 : tensor<*xf32>, tensor<*xf32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    //
    // For example, given the following IR:
    //
    // %split_sizes = "tf.Const"() {value = dense<[1, -1, 3]> : tensor<3xi32>}
    // %split_dim = "tf.Const"() {value = dense<1> : tensor<i32>}
    // %0:3 = "tf.SplitV"(%input, %split_sizes, %split_dim) :
    //                   (tensor<4x6xf32>, tensor<3xi32>, tensor<i32>) ->
    //                   (tensor<4x1xf32>, tensor<4x2xf32>, tensor<4x3xf32>)
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top