Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for host_mlir_module (0.32 sec)

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

      // CHECK:      [[RECV_SINK_TOKEN:%.*]] = mhlo.after_all [[RECV_RETVAL0_TUPLE]]#1, [[RECV_RETVAL1_TUPLE]]#1
      %0:2 = "tf._XlaHostComputeMlir"(%arg0, %arg1) {recv_key = "host_compute_channel_recv", send_key = "host_compute_channel_send", host_mlir_module = ""} : (tensor<i32>, tensor<i64>) -> (tensor<f32>, tensor<f64>)
    
      // CHECK:      return [[RECV_RETVAL0_TUPLE]]#0, [[RECV_RETVAL1_TUPLE]]#0 : tensor<f32>, tensor<f64>
      func.return %0#0, %0#1 : tensor<f32>, tensor<f64>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 18:24:20 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/prepare_tpu_computation_for_tf_export.mlir

      // CHECK-SAME: [[ID_OUTPUT]]
      // CHECK-SAME: key = "host_compute_channel_recv"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 18:46:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

              %control_4 = tf_executor.island wraps "tf._XlaHostComputeMlir"(%outputs_2) {host_mlir_module = "", manual_sharding = true, recv_key = "host_compute_channel_0_retvals", send_key = "host_compute_channel_0_args"} : (tensor<1x2xf32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/testdata/prepare_to_library.mlir

        %cst_63 = "tf.Const"() <{value = dense<0> : tensor<i32>}> : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:44:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

          shape_attrs.push_back(TF::ShapeAttr::get(rewriter.getContext(),
                                                   mlir::cast<ShapedType>(ty)));
        }
    
        // Clone the `host_func` in the `host_mlir_module` attribute if it exists
        // and use it for `shape_inference_graph` attribute on XlaHostCompute.
        func::FuncOp cloned_func;
        SymbolTable manager(op->getParentOfType<ModuleOp>());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

          loc, shard_output_types, manual_inputs,
          /*send_key=*/builder.getStringAttr(args_communication_key),
          /*recv_key=*/builder.getStringAttr(retvals_communication_key),
          /*host_mlir_module=*/builder.getStringAttr(serialized_func_module),
          /*manual_sharding=*/builder.getBoolAttr(true));
      host_compute_out_ops.push_back(host_compute);
    
      // Convert MANUAL sharded outputs to split sharded outputs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // Extract the module and function.
      // The '_XlaHostComputeMlir` verifier verifies that `host_mlir_module`
      // attribute is well formed, so we just return in case of an error in
      // extracting the host function since it should never occur.
      StringAttr host_module =
          host_compute_op->getAttrOfType<StringAttr>("host_mlir_module");
      if (host_module.getValue().empty()) return false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

        // CHECK: "tf._XlaHostComputeMlir"
        // CHECK-SAME: -> tensor<*xf32>
        %0 = "tf._XlaHostComputeMlir"(%arg0) {recv_key = "host_compute_channel_recv", send_key = "host_compute_channel_send", tpu_core = 0, host_mlir_module = ""} : (tensor<2xf32>) -> tensor<*xf32>
        func.return %0 : tensor<*xf32>
      }
    
      // CHECK-LABEL: func @xla_host_compute_mlir_shape_inferred
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

      }
      func.func private @_func() -> (tensor<?xi32> {mhlo.sharding = "\08\01\1A\01\01\22\01\00"}) {
        %0 = "tf.A"() : () -> tensor<?xi32>
        "tf._XlaHostComputeMlir"(%0) {host_mlir_module = "", recv_key = "host_compute_channel_0_retvals", send_key = "host_compute_channel_0_args"} : (tensor<?xi32>) -> ()
        %1 = "tf.C"() : () -> tensor<?xi32>
        return %1 : tensor<?xi32>
      }
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        Arg<Variadic<TF_Tensor>, [{A list of tensors that will be sent to the host.}]>:$inputs,
    
        StrAttr:$send_key,
        StrAttr:$recv_key,
        DefaultValuedOptionalAttr<StrAttr, "\"\"">:$host_mlir_module,
        DefaultValuedOptionalAttr<BoolAttr, "false">:$manual_sharding
      );
    
      let results = (outs
        Res<Variadic<TF_Tensor>, [{A list of tensors that will be returned to the device.}]>:$outputs
      );
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top