Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for 2x1xi64 (0.15 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization_test.cc

          %0 = mhlo.constant dense<1.000000e+00> : tensor<f64>
          %1 = mhlo.convert %0 : (tensor<f64>) -> tensor<i64>
          %2 = mhlo.reshape %1 : (tensor<i64>) -> tensor<1xi64>
          %3 = "mhlo.dynamic_iota"(%2) {iota_dimension = 0 : i64} : (tensor<1xi64>) -> tensor<?xi32>
          %4 = mhlo.multiply %3, %3 : tensor<?xi32>
          return %4 : tensor<?xi32>
        }
      })";
      CellReader<int64_t> legal_error(kFailedLegalizationStreamz);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

    }
    
    // CHECK-LABEL: @testMatrixSetDiag
    func.func @testMatrixSetDiag(%arg0: tensor<3x3xi64>, %arg1: tensor<3xi64>) -> tensor<3x3xi64> {
      %0 = "tf.MatrixSetDiag"(%arg0, %arg1) {device = "/job:localhost/replica:0/task:0/device:GPU:0"} : (tensor<3x3xi64>, tensor<3xi64>) -> tensor<3x3xi64>
      func.return %0 : tensor<3x3xi64>
    
      // CHECK: %[[ZERO:.*]] = "tf.Const"() <{value = dense<0> : tensor<i32>}>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tpu-resource-read-for-write.mlir

      %cst = "tf.Const"() <{value = dense<0.000000e+00> : tensor<f32>}> : () -> tensor<f32>
      %cst_0 = "tf.Const"() <{value = dense<1> : tensor<1xi64>}> : () -> tensor<1xi64>
      %fill = "tf.Fill"(%cst_0, %cst) : (tensor<1xi64>, tensor<f32>) -> tensor<1xf32>
      tf_device.replicate([%0, %fill] as %arg_r0: tensor<1xf32>) {n = 2 : i32} {
        %1 = "tf_device.launch"() <{device = "TPU_REPLICATED_HOST_0"}> ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/unfold-large-splat-constant.mlir

      // CHECK-DAG: %cst = arith.constant dense<0.000000e+00> : tensor<10x10xf32>
      // CHECK-DAG: %cst_0 = arith.constant dense<1000> : tensor<2xi64>
      // CHECK-DAG: %cst_1 = arith.constant dense<1.000000e+00> : tensor<f32>
      // CHECK: %0 = "tfl.fill"(%cst_0, %cst_1) : (tensor<2xi64>, tensor<f32>) -> tensor<1000x1000xf32>
      // CHECK: return %cst, %0 : tensor<10x10xf32>, tensor<1000x1000xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 26 23:53:32 UTC 2022
    - 781 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_to_hlo_pipeline/sccp-post-shape-inference.mlir

      func.func @main(%arg0: tensor<10x19xf32>, %arg1: tensor<19x10xf32> {mhlo.is_same_data_across_replicas = true}) -> tensor<?xi64> {
        %0 = "tf.Shape"(%arg0) : (tensor<10x19xf32>) -> tensor<2xi64>
        %1 = "tf.Reshape"(%arg1, %0) : (tensor<19x10xf32>, tensor<2xi64>) -> tensor<?x?xf32>
    
        // CHECK: %[[RESULT:.*]] = mhlo.constant dense<[10, 19]>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 25 02:54:34 UTC 2023
    - 1020 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/constant-folding.mlir

      func.func @main(%arg0: tensor<10x19xf32>, %arg1: tensor<19x10xf32> {mhlo.is_same_data_across_replicas = true}) -> tensor<10x19xf32> {
        %0 = "tf.Shape"(%arg0) : (tensor<10x19xf32>) -> tensor<2xi64>
        %1 = "tf.Reshape"(%arg1, %0) : (tensor<19x10xf32>, tensor<2xi64>) -> tensor<10x19xf32>
        func.return %1 : tensor<10x19xf32>
      }
    }
    
    // Tests that foldable ops are constant-folded to enable legalization of ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 25 02:54:34 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir

      } : (tensor<2x7xi64>) -> (tensor<2x7xi32>)
      %1 = "tf.Identity"(%0) : (tensor<2x7xi32>) -> tensor<2x7xi32>
      func.return %1 : tensor<2x7xi32>
    }
    
    // CHECK-LABEL: func @func
    // CHECK-SAME: %arg0: tensor<2x7xi64> {mhlo.sharding = "\08\03\1A\03\01\01\02\22\02\00\01B\01\00"
    func.func @func(%arg0: tensor<2x7xi64>) -> (tensor<2x7xi32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 19:07:52 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/tests/verify-tfxla-legalization.mlir

      %1 = mhlo.convert %0 : (tensor<f64>) -> tensor<i64>
      %2 = mhlo.reshape %1 : (tensor<i64>) -> tensor<1xi64>
      // expected-error @+1 {{Node `mhlo.dynamic_iota` must have compile-time constant}}
      %3 = "mhlo.dynamic_iota"(%2) <{iota_dimension = 0 : i64}> : (tensor<1xi64>) -> tensor<?xi32>
      %4 = mhlo.multiply %3, %3 : tensor<?xi32>
      return %4 : tensor<?xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant.mlir

      %cst_0 = arith.constant dense<[2, -1]> : tensor<2xi64>
      %0 = "tf.FakeQuantWithMinMaxVars"(%arg0, %arg1, %arg2) {num_bits = 5, narrow_range = false} : (tensor<1x2xf32>, tensor<f32>, tensor<f32>) -> tensor<1x2xf32>
      %1 = "tf.Reshape"(%0, %cst_0) : (tensor<1x2xf32>, tensor<2xi64>) -> tensor<2x1xf32>
      %2 = "tf.Reshape"(%0, %cst_0) : (tensor<1x2xf32>, tensor<2xi64>) -> tensor<2x1xf32>
      func.return %1, %2 : tensor<2x1xf32>, tensor<2x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top