Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for reduce_scatter (0.12 sec)

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

      ReplicaGroup group;
      group.add_replica_ids(0);
      group.add_replica_ids(1);
      XlaOp reduce_scatter =
          ReduceScatter(x, to_apply, /*scatter_dimension=*/1, /*shard_count=*/2,
                        /*replica_groups=*/{group});
    
      std::vector<XlaOp> tuple_values;
      tuple_values.push_back(reduce_scatter);
      xla::Tuple(&builder, tuple_values);
    
      TF_ASSERT_OK_AND_ASSIGN(XlaComputation computation, builder.Build());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

          %cst = "tf.Const"() {value = dense<0> : tensor<i32>} : () -> tensor<i32>
          %cst_0 = "tf.Const"() {value = dense<[[0, 4], [1, 5], [2, 6], [3, 7]]> : tensor<4x2xi32>} : () -> tensor<4x2xi32>
          // CHECK:          "mhlo.reduce_scatter"(%arg0)
          // CHECK{LITERAL}: replica_groups = dense<[[0, 4], [1, 5], [2, 6], [3, 7]]>
          // CHECK-SAME:     scatter_dimension = 0
          //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (1)
Back to top