Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 215 for tpu0 (0.09 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

    module attributes {tf.versions = {producer = 888 : i32}} {
      // CHECK-LABEL: func @single_gpu_cluster_func
      func.func @single_gpu_cluster_func(%arg0: tensor<?xi32>) -> tensor<?xi32> {
        %0 = "tf.A"(%arg0) : (tensor<?xi32>) -> 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)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir

      %3 = "tf.ReadVariableOp"(%0) {_xla_compile_device_type = "TPU", _replication_info = "a"} : (!tf_res) -> tensor<f32>
      %4 = "tf.ReadVariableOp"(%1) {_xla_compile_device_type = "TPU", _replication_info = "b"} : (!tf_res) -> tensor<f32>
      %5 = "tf.ReadVariableOp"(%2) {_xla_compile_device_type = "TPU", _replication_info = "c"} : (!tf_res) -> tensor<f32>
      %6 = "tf.Identity"(%3) {_xla_compile_device_type = "TPU", _replication_info = "a"} : (tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.h

        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes);
    
    // Compiles a serialized MLIR module into XLA HLO, generates all accompanying
    // metadata and stores them in CompilationResult.
    absl::StatusOr<XlaCompilationResult> LegalizeWithMlirBridge(
        const tpu::MlirToHloArgs& computation,
        const tpu::TPUCompileMetadataProto& metadata, bool use_tuple_args,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/executor_tpuv1_island_coarsening.mlir

        %outputs_0, %control_1 = tf_executor.island wraps "tf.Const"() {_xla_compile_device_type = "TPU", value = dense<2> : tensor<i32>} : () -> tensor<i32>
        %outputs_3, %control_4 = tf_executor.island wraps "tf.AddV2"(%outputs, %outputs_0) {_xla_compile_device_type = "TPU"} : (tensor<i32>, tensor<i32>) -> tensor<i32>
        tf_executor.fetch
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 02 03:15:59 UTC 2022
    - 36.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

    namespace tensorflow {
    namespace tf2xla {
    namespace v1 {
    
    using ::tensorflow::tpu::FunctionToHloArgs;
    using ::tensorflow::tpu::GuaranteedConsts;
    using ::tensorflow::tpu::MlirToHloArgs;
    using ::tensorflow::tpu::ShardingAndIndex;
    
    auto* phase2_bridge_compilation_status =
        tensorflow::monitoring::Counter<1>::New(
            "/tensorflow/core/tf2xla/api/v1/"
            "phase2_compilation_status", /*metric_name*/
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.cc

    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/protobuf/tpu/compile_metadata.pb.h"
    #include "tensorflow/core/tpu/kernels/tpu_compile_op_support.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    using metrics::IncrementTfMlirBridgeSecondPhaseCounter;
    using metrics::MlirBridgeSecondPhaseMetric;
    using tpu::MlirToHloArgs;
    
    absl::StatusOr<XlaCompilationResult> LegalizeTfToHlo(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/convert_to_legacy_compile_and_replicate_attributes.mlir

        %control_3 = tf_executor.island(%control_2) wraps "tf.NoOp"() {_replication_info = "cluster", _xla_compile_device_type = "TPU", device = ""} : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/mark_input_output_aliases.mlir

      %1 = "tf.ReadVariableOp"(%arg1) : (!tf_res_f32) -> tensor<f32>
      %2 = "tf.ReadVariableOp"(%arg2) : (!tf_res_f32) -> tensor<f32>
      %device_output:2 = "tf_device.cluster_func"(%0, %1, %2) {_xla_compile_device_type = "TPU", _replication_info = "tpu", func = @device_func_0} : (tensor<i32>, tensor<f32>, tensor<f32>) -> (tensor<f32>, tensor<i32>)
      "tf.AssignVariableOp"(%arg1, %device_output#0) : (!tf_res_f32, tensor<f32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 04:14:26 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.h

    absl::Status CompileTensorflowGraphToHlo(
        const std::variant<tpu::MlirToHloArgs, tpu::FunctionToHloArgs>& computation,
        const tpu::TPUCompileMetadataProto& metadata, bool use_tuple_args,
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_funcs,
        const std::vector<tensorflow::TensorShape>& arg_shapes,
        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.h

    #include "tensorflow/core/tpu/kernels/tpu_compile_op_support.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    // Legalize the given MLIR module to XLA HLO using a combination of the MLIR
    // Bridge and XlaBuilder
    absl::StatusOr<XlaCompilationResult> LegalizeTfToHlo(
        const tpu::MlirToHloArgs& computation,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top