Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CollectiveReduce (0.22 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      if (TF_GetCode(status) != TF_OK) return;
      TF_Output x{placeholder_op, 0};
    
      TF_OperationDescription* reduce_desc =
          TF_NewOperation(body.get(), "CollectiveReduce", "CollectiveReduce");
      TF_SetAttrType(reduce_desc, "T", TF_FLOAT);
      TF_SetAttrInt(reduce_desc, "group_size", group_size);
      TF_SetAttrInt(reduce_desc, "group_key", 0);
      TF_SetAttrInt(reduce_desc, "instance_key", 0);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 06 23:56:17 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test_util.cc

      return op;
    }
    
    TFE_Op* AllReduceOp(TFE_Context* ctx, TFE_TensorHandle* in, int group_size) {
      TF_Status* status = TF_NewStatus();
    
      TFE_Op* op = TFE_NewOp(ctx, "CollectiveReduce", status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, in, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

          {},
          // Nodes
          {
              {{"assert"},
               "Assert",
               {"condition", "x"},
               {{"T", std::vector<DataType>{DT_FLOAT}}}},
              {{"y"},
               "CollectiveReduce",
               {"x"},
               {{"T", DT_FLOAT},
                {"group_size", static_cast<int>(devices.size())},
                {"group_key", 0},
                {"instance_key", 0},
                {"merge_op", "Add"},
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top