Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for _xla_outside_compilation (0.28 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/mark_ops_for_outside_compilation.mlir

    func.func @variant_input_output_already_marked() {
      // CHECK: "tf.opA"
      // CHECK-SAME: _xla_outside_compilation = "0"
      // CHECK: "tf.opB"
      // CHECK-SAME: _xla_outside_compilation = "0"
      "tf_device.cluster"() ({
        %1= "tf.opA"() {_xla_outside_compilation = "0"} : () -> tensor<!tf_type.variant<tensor<f32>>>
        "tf.opB"(%1) {_xla_outside_compilation = "0"} : (tensor<!tf_type.variant<tensor<f32>>>) -> ()
        tf_device.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 16:22:32 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu_host_computation_expansion.mlir

      // CHECK-NEXT: "tf.Cast"
      // CHECK-SAME: _xla_outside_compilation = ""
      // CHECK-NEXT: "tf.Identity"
      // CHECK-SAME: _xla_outside_compilation = ""
      // CHECK-NEXT: "tf.B"
      "tf_device.cluster"() ({
        %1 = "tf.Cast"(%arg0) : (tensor<?xi32>) -> (tensor<?xi32>)
        %2 = "tf.Identity"(%1) : (tensor<?xi32>) -> (tensor<?xi32>)
        "tf.B"(%2) {_xla_outside_compilation = "cluster1"} : (tensor<?xi32>) -> ()
        "tf.C"() : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/cannonicalize_ops_outside_compilation.mlir

        %0 = "tf.Shape"(%arg0) {_tpu_replicate = "cluster_Fn", _xla_outside_compilation = "1", device = ""} : (tensor<*x!tf_type.string>) -> tensor<*xi32>
        %1 = "tf.Shape"(%arg1) {_tpu_replicate = "cluster_Fn", _xla_outside_compilation = "0", device = ""} : (tensor<*x!tf_type.string>) -> tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/extract_head_tail_outside_compilation.mlir

        // CHECK-NEXT:   %[[A_OUT:.*]] = "tf.A"
        // CHECK-NOT:    _xla_outside_compilation
        // CHECK-NEXT:   %[[B_OUT:.*]] = "tf.B"(%[[A_OUT]])
        // CHECK-NOT:    _xla_outside_compilation
        // CHECK-NEXT:   %[[C_OUT:.*]] = "tf.C"(%[[B_OUT]], %arg0)
        // CHECK-NOT:    _xla_outside_compilation
        // CHECK-NEXT:   tf_device.return %[[C_OUT]]
        //
        // CHECK:      "tf_device.cluster"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/testdata/prepare_to_library.mlir

    tensor<1120x?xi32>, tensor<2xi32>) {\0A    %0 = \22tf.Reshape\22(%arg0, %arg1) {_xla_outside_compilation = \220\22} : (tensor<3360x?xi32>, tensor<3xi32>) -> tensor<3x1120x?xi32> loc(#loc9)\0A    %1:3 = \22tf.Split\22(%arg2, %0) {_xla_outside_compilation = \220\22} : (tensor<i32>, tensor<3x1120x?xi32>) -> (tensor<1x1120x?xi32>, tensor<1x1120x?xi32>, tensor<1x1120x?xi32>) loc(#loc10)\0A    %2 = \22tf.Reshape\22(%1#0, %arg3) {_xla_outside_compilation = \220\22} : (tensor<1x1120x?xi32>, tensor<2xi32>) -> tensor<1120x?xi32>...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:44:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

         // CHECK-NEXT: "tf.D"
         // CHECK-NOT: _xla_outside_compilation
         // CHECK: "tf_device.cluster"
         // CHECK-NEXT: "tf.A"
         // CHECK-NEXT: "tf.E"
         // CHECK: device_assignment =  [], num_cores_per_replica = 1 : i64, topology =  ""
        "tf_device.cluster"() ({
          "tf.A"() : () -> ()
          "tf.B"() {_xla_outside_compilation = "cluster1"} : () -> ()
          "tf.C"() {_xla_outside_compilation = "cluster1"} : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tpu_tail_with_tobool_op.mlir

        %3 = "tf.All"(%0, %2) {_tpu_replicate = "cluster", _xla_outside_compilation = "0", device = "", keep_dims = false} : (tensor<*xi1>, tensor<*xi32>) -> tensor<*xi1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tpu_update_embedding_enqueue_op_inputs.mlir

      // CHECK: %[[CONST_0:.*]] = "tf.Const"()
      %0 = "tf.Const"() {value = dense<[]> : tensor<0xf32>} : () -> tensor<0xf32>
    
      // CHECK: %[[CONST_MODE:.*]] = "tf.Const"() <{value = dense<"inference"> : tensor<!tf_type.string>}> {_xla_outside_compilation = "0"} : () -> tensor<!tf_type.string>
      // CHECK: "tf.EnqueueTPUEmbeddingSparseTensorBatch"(%[[ARG_0]], %[[ARG_1]], %[[ARG_2]], %[[ARG_3]], %[[ARG_4]], %[[ARG_5]], %[[CONST_0]], %[[CONST_0]], %[[CONST_0]], %[[CONST_MODE]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/verify_clustering_pass_test.mlir

    // -----
    
    func.func @testTFDialect(%arg0: tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string> {
       // expected-error@below {{op has outside compilation attribute _xla_outside_compilation which is not allowed after clustering}}
      %0 = "tf.Identity"(%arg0) {_xla_outside_compilation = "cluster1"}: (tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string>
      func.return %0 : tensor<4x2x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 30 22:07:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

        For example, the following tf_device.cluster with an op marked for `xla_outside_compilation`:
    
        ```mlir
        func @outside_compilation() -> tensor<f32> {
          %0 = "tf_device.cluster"() ( {
            %1 = "tf.Const"() {_xla_outside_compilation = "0", value = dense<1.0> : tensor<f32>} : () -> (tensor<f32>)
            %2 = "tf.Identity"(%1) {_xla_outside_compilation = "0"} : (tensor<f32>) -> (tensor<f32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top